Skip to content

Commit

Permalink
Bump black, pylint, Ubuntu (CI) and Python (CI)
Browse files Browse the repository at this point in the history
Moving a few years into the future. I just bumped everything to the most
stable version.

The Python version I left as 3.10, because 3.11 is too new and I'm not
an early adopter.

The change in the `.pylintrc` file was related to this warning:

- R0022: Useless option value for '--disable', 'bad-continuation' was
  removed from pylint, see pylint-dev/pylint#3571.
  (useless-option-value)
  • Loading branch information
aureliojargas committed Nov 5, 2022
1 parent 624fd39 commit c86639c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ jobs:

# For linting, any one Python version is enough
lint:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.6.15
python-version: 3.10.8
- run: make lint

# For testing, we try to use as many versions as possible. Here we're
Expand Down
1 change: 0 additions & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ disable=
suppressed-message,
fixme,
missing-docstring,
bad-continuation, # incompatible with black
unspecified-encoding, # we still support python2
consider-using-f-string, # we still support python2

Expand Down
4 changes: 2 additions & 2 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pylint == 2.12.2
black == 21.12b0
pylint == 2.15.5
black == 22.10.0

0 comments on commit c86639c

Please sign in to comment.