4 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 16
16
- os : ubuntu-latest
17
17
py : pypy3.10
18
18
toxenv : py
19
- - os : ubuntu-latest
20
- py : 3.8
21
- toxenv : py
22
19
- os : ubuntu-latest
23
20
py : 3.9
24
21
toxenv : py
29
26
py : ' 3.11'
30
27
toxenv : py
31
28
- os : ubuntu-latest
32
- py : ' 3.12-dev'
29
+ py : ' 3.12'
30
+ toxenv : py
31
+ - os : ubuntu-latest
32
+ py : ' 3.13'
33
+ toxenv : py
34
+ - os : ubuntu-latest
35
+ py : ' 3.14-dev'
33
36
toxenv : py
34
37
- os : ubuntu-latest
35
38
py : 3.9
@@ -40,10 +43,10 @@ jobs:
40
43
- uses : actions/setup-python@v4
41
44
with :
42
45
python-version : ${{ matrix.py }}
43
- if : matrix.py != '3.12 -dev'
46
+ if : matrix.py != '3.14 -dev'
44
47
- uses : deadsnakes/action@v3.0.1
45
48
with :
46
49
python-version : ${{ matrix.py }}
47
- if : matrix.py == '3.12 -dev'
50
+ if : matrix.py == '3.14 -dev'
48
51
- run : pip install tox
49
52
- run : tox -e ${{ matrix.toxenv }}
Original file line number Diff line number Diff line change @@ -11,12 +11,12 @@ repos:
11
11
rev : v3.13.0
12
12
hooks :
13
13
- id : reorder-python-imports
14
- args : [--py38 -plus]
14
+ args : [--py39 -plus]
15
15
- repo : https://github.com/asottile/pyupgrade
16
16
rev : v3.17.0
17
17
hooks :
18
18
- id : pyupgrade
19
- args : [--py38 -plus]
19
+ args : [--py39 -plus]
20
20
- repo : https://github.com/asottile/setup-cfg-fmt
21
21
rev : v2.5.0
22
22
hooks :
Original file line number Diff line number Diff line change @@ -785,7 +785,6 @@ def whitespace_before_parameters(logical_line, tokens):
785
785
# Allow "return (a.foo for a in range(5))"
786
786
not keyword .iskeyword (prev_text ) and
787
787
(
788
- sys .version_info < (3 , 9 ) or
789
788
# 3.12+: type is a soft keyword but no braces after
790
789
prev_text == 'type' or
791
790
not keyword .issoftkeyword (prev_text )
@@ -960,10 +959,8 @@ def missing_whitespace(logical_line, tokens):
960
959
# Allow argument unpacking: foo(*args, **kwargs).
961
960
if prev_type == tokenize .OP and prev_text in '}])' or (
962
961
prev_type != tokenize .OP and
963
- prev_text not in KEYWORDS and (
964
- sys .version_info < (3 , 9 ) or
965
- not keyword .issoftkeyword (prev_text )
966
- )
962
+ prev_text not in KEYWORDS and
963
+ not keyword .issoftkeyword (prev_text )
967
964
):
968
965
need_space = None
969
966
elif text in WS_OPTIONAL_OPERATORS :
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ project_urls =
29
29
30
30
[options]
31
31
py_modules = pycodestyle
32
- python_requires = >=3.8
32
+ python_requires = >=3.9
33
33
include_package_data = True
34
34
zip_safe = False
35
35
0 commit comments