Skip to content

Commit

Permalink
Require pylint version to be at least 2.5.1 (#63)
Browse files Browse the repository at this point in the history
Requiring pylint==2.4.0 might downgrade pylint on most recent Linux
distributions, e.g. Ubuntu 22.04 is shipped with pylint-2.12.2.

From pylint version 2.5.1 onward the `do_exit` argument of the `Run`
class has been changed to `exit` and the former one is marked as
deprecated.
  • Loading branch information
arkq authored Apr 10, 2024
1 parent 16e8668 commit 550c926
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ grpcio-tools
grpcio-status == 1.30.0
protobuf >= 3.12.0, < 4.0.0
pycodestyle >= 2.5.0
pylint == 2.4
pylint >= 2.5.1
pyroute2 >= 0.5.7
six >= 1.12
toml
2 changes: 1 addition & 1 deletion requirements_nogrpc.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
docker >= 4.1.0
flask >= 1.1.0
pycodestyle >= 2.5.0
pylint == 2.4
pylint >= 2.5.1
pyroute2 >= 0.5.7
six >= 1.12
toml
2 changes: 1 addition & 1 deletion utils/pystyletest/styletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import pylint.lint
import pycodestyle

pylint.lint.Run(sys.argv[1:], do_exit=False)
pylint.lint.Run(sys.argv[1:], exit=False)
print()
print('---------------PEP8---------------')
pep8style = pycodestyle.StyleGuide(quiet=False)
Expand Down

0 comments on commit 550c926

Please sign in to comment.