Skip to content

Commit

Permalink
Bump python version to 3.11 to make it compatible with current flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
xs5871 committed May 21, 2023
1 parent 8139a7c commit 601f915
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.9' # Version range or exact version of a Python version to use, using SemVer's version range syntax
python-version: '3.11' # Version range or exact version of a Python version to use, using SemVer's version range syntax
- run: python -m pip install --upgrade pipenv wheel
- run: make test
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name = "pypi"
[packages]

[dev-packages]
"flake8" = ">=3.9.0"
"flake8" = "==6.0.0"
"flake8-commas" = "*"
"flake8-comprehensions" = "*"
"flake8-isort" = "*"
Expand Down
2 changes: 1 addition & 1 deletion docs/en/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ feel free to [join our Zulip community](https://kmkfw.zulipchat.com).

### Code Style

KMK uses [Black](https://github.com/psf/black) with a Python 3.6 target and,
KMK uses [Black](https://github.com/psf/black) with a Python 3.11 target and,
[(controversially?)](https://github.com/psf/black/issues/594) single quotes.
Further code styling is enforced with isort and flake8 with several plugins.

Expand Down

0 comments on commit 601f915

Please sign in to comment.