File tree Expand file tree Collapse file tree 4 files changed +25
-38
lines changed Expand file tree Collapse file tree 4 files changed +25
-38
lines changed Original file line number Diff line number Diff line change 9
9
strategy :
10
10
matrix :
11
11
os :
12
- - " ubuntu-20.04 "
12
+ - " ubuntu-latest "
13
13
- " windows-latest"
14
14
- " macos-latest"
15
15
python :
16
- - " 3.6"
17
- - " 3.7"
18
- - " 3.8"
19
16
- " 3.9"
20
17
- " 3.10"
21
18
- " 3.11"
22
- # Workaround from https://github.com/actions/runner-images/issues/9770
23
- exclude : # Python < v3.8 does not support Apple Silicon ARM64.
24
- - python : " 3.6"
25
- os : macos-latest
26
- - python : " 3.7"
27
- os : macos-latest
28
- include : # So run those legacy versions on Intel CPUs.
29
- - python : " 3.6"
30
- os : macos-13
31
- - python : " 3.7"
32
- os : macos-13
19
+ - " 3.12"
20
+ - " 3.13"
33
21
steps :
34
22
- uses : actions/checkout@v4
35
23
- name : Setup python
Original file line number Diff line number Diff line change 1
1
repos :
2
2
- repo : https://github.com/PyCQA/flake8
3
- rev : 5.0.4
3
+ rev : 7.2.0
4
4
hooks :
5
5
- id : flake8
6
6
name : Style Guide Enforcement (flake8)
7
7
args :
8
8
- ' --max-line-length=90'
9
9
- ' --per-file-ignores=__init__.py:F401'
10
10
- repo : https://github.com/asottile/pyupgrade
11
- rev : v2.31 .0
11
+ rev : v3.19 .0
12
12
hooks :
13
13
- id : pyupgrade
14
14
name : Upgrade syntax for newer versions of the language (pyupgrade)
15
15
args :
16
- - ' --py36-plus'
17
- # - repo: https://github.com/pycqa/isort
18
- # rev: 5.10.0
19
- # hooks:
20
- # - id: isort
21
- # name: 'Reorder Python imports'
22
- - repo : https://github.com/PyCQA/docformatter
23
- rev : v1.5.1
16
+ - ' --py39-plus'
17
+ - repo : https://github.com/pycqa/isort
18
+ rev : 6.0.1
24
19
hooks :
25
- - id : docformatter
26
- name : ' Formats docstrings'
27
- args :
28
- - ' --in-place'
20
+ - id : isort
21
+ name : Reorder Python imports
22
+ # - repo: https://github.com/PyCQA/docformatter
23
+ # rev: v1.7.5 # incompatible with pre-commit > 4.0.0, but should be fixed in the next release
24
+ # hooks:
25
+ # - id: docformatter
26
+ # name: Formats docstrings
27
+ # args:
28
+ # - '--in-place '
29
29
- repo : ' https://github.com/pre-commit/pre-commit-hooks'
30
- rev : v4.1 .0
30
+ rev : v5.0 .0
31
31
hooks :
32
32
- id : trailing-whitespace
33
33
- id : end-of-file-fixer
34
34
- id : check-toml
35
35
- repo : https://github.com/python/black
36
- rev : 22.8 .0
36
+ rev : 25.1 .0
37
37
hooks :
38
38
- id : black
39
39
name : Uncompromising Code Formatter (black)
Original file line number Diff line number Diff line change @@ -10,14 +10,13 @@ classifiers = [
10
10
" Operating System :: OS Independent" ,
11
11
" Topic :: Software Development :: Libraries :: Application Frameworks" ,
12
12
" Programming Language :: Python :: 3" ,
13
- " Programming Language :: Python :: 3.6" ,
14
- " Programming Language :: Python :: 3.7" ,
15
- " Programming Language :: Python :: 3.8" ,
16
13
" Programming Language :: Python :: 3.9" ,
17
14
" Programming Language :: Python :: 3.10" ,
18
15
" Programming Language :: Python :: 3.11" ,
16
+ " Programming Language :: Python :: 3.12" ,
17
+ " Programming Language :: Python :: 3.13" ,
19
18
]
20
- requires-python = " >=3.6 "
19
+ requires-python = " >=3.9 "
21
20
dependencies = [
22
21
" requests>=2.26.0" ,
23
22
]
Original file line number Diff line number Diff line change 1
1
[tox]
2
2
isolated_build = true
3
3
envlist =
4
- py{3.6,37,38, 39,310,311}
4
+ py{39,310,311,312,313},
5
5
pre-commit
6
6
mypy
7
7
skip_missing_interpreters = true
@@ -15,13 +15,13 @@ commands =
15
15
pytest -q {posargs}
16
16
17
17
[testenv:pre-commit]
18
- deps = pre-commit
18
+ deps = pre-commit ==4.2.0
19
19
commands = pre-commit run --all-files
20
20
21
21
[testenv:mypy]
22
22
deps =
23
23
-r requirements.test.txt
24
- mypy
24
+ mypy ==1.15.0
25
25
types-requests
26
26
commands = mypy ./mailtrap
27
27
You can’t perform that action at this time.
0 commit comments