Skip to content

Commit

Permalink
tox: fix dependencies
Browse files Browse the repository at this point in the history
Since flake8 6.0, the copyright plugin fails to run:

  ValueError: 'int' is not callable

This plugin is not critical, remove it.

Also use latest versions of black and pylint along the way.

Link: savoirfairelinux/flake8-copyright#19
Signed-off-by: Robin Jarry <robin@jarry.cc>
  • Loading branch information
rjarry committed Dec 5, 2022
1 parent f71ddc3 commit b5f6876
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ basepython = python3
description = Format python code using isort and black.
changedir = .
deps =
black==22.3.0
black==22.10.0
isort
skip_install = true
install_command = python3 -m pip install {opts} {packages}
Expand All @@ -44,11 +44,10 @@ basepython = python3
description = Run coding style checks.
changedir = .
deps =
black==22.3.0
black==22.10.0
flake8
flake8-copyright
isort
pylint==2.14.*
pylint
whitelist_externals =
/bin/sh
/usr/bin/sh
Expand Down

0 comments on commit b5f6876

Please sign in to comment.