Update workflow file (#1017)

* Test on Python 3.11 pre-releases

* Update linter config
1 file changed