HEPData / hepdata_lib

Library for getting your data into HEPData
https://hepdata-lib.readthedocs.io
MIT License
15 stars 37 forks source link

Upgrade Pylint to allow use with Python 3.11 #234

Closed GraemeWatt closed 3 months ago

GraemeWatt commented 9 months ago

Currently, Pylint is pinned at v2.9.6, which installs wrapt v1.12.1. Trying to use Pylint v2.9.6 with Python 3.11 gives an error message ImportError: cannot import name 'formatargspec' from 'inspect'. Upgrading to Pylint v2.15 or later fixes the problem. However, running a later version of Pylint gives messages like unrecognized-option and useless-option-value. The pylintrc and tests/pylintrc files need to be revised, then Pylint can be upgraded and Python 3.11 can be added to the test matrix in the CI (tests.yml).