Skip to content

Commit ffa4e2a

Browse files
authored
Bump linters and release 0.16.5 (#751)
1 parent 9f9271b commit ffa4e2a

File tree

17 files changed

+42
-39
lines changed

17 files changed

+42
-39
lines changed

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ about: Suggest an idea or new feature for this project
1111
<!-- If you have an idea of how to do this, write it here! -->
1212

1313
**Describe alternatives you've considered**
14-
<!-- If there's some workaround or alternative solutions, let us know. -->
14+
<!-- If there's some workaround or alternative solutions, let us know. -->

.github/workflows/create_tests_package_lists.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
strategy:
1010
matrix:
1111
os: [ubuntu-latest, macos-latest, windows-latest]
12-
python-version: [3.6, 3.7, 3.8, 3.9]
12+
python-version: [3.6, 3.7, 3.8, 3.9, "3.10"]
1313

1414
steps:
1515
- uses: actions/checkout@v2

.github/workflows/on-push.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414

1515
# If changing default-python be sure to change job "tests" matrix: include: also
1616
env:
17-
default-python: 3.9
17+
default-python: "3.10"
1818

1919
jobs:
2020
lint:
@@ -52,14 +52,15 @@ jobs:
5252
tests:
5353
runs-on: ${{ matrix.os }}
5454
strategy:
55+
fail-fast: false
5556
matrix:
5657
os: [ubuntu-latest]
57-
python-version: [3.6, 3.7, 3.8, 3.9]
58+
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
5859
include:
5960
- os: windows-latest
60-
python-version: 3.9
61+
python-version: "3.10"
6162
- os: macos-latest
62-
python-version: 3.9
63+
python-version: "3.10"
6364

6465
steps:
6566
- uses: actions/checkout@v2

.github/workflows/publish-testpypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
workflow_dispatch:
1212

1313
env:
14-
default-python: 3.9
14+
default-python: "3.10"
1515

1616
jobs:
1717
testpypi-publish:

.github/workflows/publish_docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
types: [published]
66

77
env:
8-
default-python: 3.9
8+
default-python: "3.10"
99

1010
jobs:
1111
build:

.github/workflows/test_all_packages_slow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
strategy:
1111
matrix:
1212
os: [ubuntu-latest, macos-latest, windows-latest]
13-
python-version: [3.6, 3.7, 3.8, 3.9]
13+
python-version: [3.6, 3.7, 3.8, 3.9, "3.10"]
1414

1515
steps:
1616
- uses: actions/checkout@v2

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ __pycache__
1414
site
1515
docs/docs.md
1616
.pipx_tests
17+
/.coverage*

.pre-commit-config.yaml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,27 @@
66

77
repos:
88
- repo: https://github.com/pre-commit/pre-commit-hooks
9-
rev: v4.0.0
9+
rev: v4.0.1
1010
hooks:
1111
- id: end-of-file-fixer
1212
- id: check-added-large-files
1313
#- id: trailing-whitespace
1414
#- id: check-yaml
15-
- repo: https://github.com/timothycrosley/isort
16-
rev: 5.8.0
15+
- repo: https://github.com/PyCQA/isort
16+
rev: 5.10.1
1717
hooks:
1818
- id: isort
1919
args: ['--profile','black']
2020
- repo: https://github.com/psf/black
21-
rev: 21.5b1
21+
rev: 21.12b0
2222
hooks:
2323
- id: black
24-
- repo: https://gitlab.com/pycqa/flake8
25-
rev: 3.9.2
24+
- repo: https://gitlab.com/PyCQA/flake8
25+
rev: 4.0.1
2626
hooks:
2727
- id: flake8
2828
additional_dependencies: [
29-
'flake8-bugbear==20.11.1'
29+
'flake8-bugbear==21.11.29'
3030
]
3131
# mypy args:
3232
# must include --ignore-missing-imports for mypy. It is included by default
@@ -35,7 +35,8 @@ repos:
3535
# cannot use --warn-unused-ignores because it conflicts with
3636
# --ignore-missing-imports
3737
- repo: https://github.com/pre-commit/mirrors-mypy
38-
rev: v0.812
38+
rev: v0.930
3939
hooks:
4040
- id: mypy
4141
args: ['--ignore-missing-imports', '--strict-equality','--no-implicit-optional']
42+
exclude: 'testdata/test_package_specifier/local_extras/setup.py'

docs/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ Or you can run a program without installing it:
1919
pipx run pycowsay moooo!
2020
```
2121

22-
You can view documentation for all commands by running `pipx --help`.
22+
You can view documentation for all commands by running `pipx --help`.

noxfile.py

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,18 @@
44

55
import nox # type: ignore
66

7-
PYTHON_ALL_VERSIONS = ["3.6", "3.7", "3.8", "3.9"]
8-
PYTHON_DEFAULT_VERSION = "3.9"
7+
PYTHON_ALL_VERSIONS = ["3.6", "3.7", "3.8", "3.9", "3.10"]
8+
PYTHON_DEFAULT_VERSION = "3.10"
99
DOC_DEPENDENCIES = [".", "jinja2", "mkdocs", "mkdocs-material"]
1010
LINT_DEPENDENCIES = [
11-
"black==21.5b1",
12-
"flake8==3.9.2",
13-
"flake8-bugbear==21.3.2",
14-
"mypy==0.812",
15-
"check-manifest==0.46",
11+
"black==21.12b0",
12+
"flake8==4.0.1",
13+
"flake8-bugbear==21.11.29",
14+
"mypy==0.930",
15+
"types-jinja2",
16+
"check-manifest==0.47",
1617
"packaging>=20.0",
17-
"isort==5.8.0",
18+
"isort==5.10.1",
1819
]
1920
# Packages whose dependencies need an intact system PATH to compile
2021
# pytest setup clears PATH. So pre-build some wheels to the pip cache.

0 commit comments

Comments
 (0)