File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 strategy :
1010 matrix :
1111 os :
12- - " ubuntu-20.04 "
12+ - " ubuntu-latest "
1313 - " windows-latest"
1414 - " macos-latest"
1515 python :
16- - " 3.6"
17- - " 3.7"
18- - " 3.8"
1916 - " 3.9"
2017 - " 3.10"
2118 - " 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"
3321 steps :
3422 - uses : actions/checkout@v4
3523 - name : Setup python
Original file line number Diff line number Diff line change 11repos :
22 - repo : https://github.com/PyCQA/flake8
3- rev : 5.0.4
3+ rev : 7.2.0
44 hooks :
55 - id : flake8
66 name : Style Guide Enforcement (flake8)
77 args :
88 - ' --max-line-length=90'
99 - ' --per-file-ignores=__init__.py:F401'
1010 - repo : https://github.com/asottile/pyupgrade
11- rev : v2.31 .0
11+ rev : v3.19 .0
1212 hooks :
1313 - id : pyupgrade
1414 name : Upgrade syntax for newer versions of the language (pyupgrade)
1515 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
2419 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 '
2929 - repo : ' https://github.com/pre-commit/pre-commit-hooks'
30- rev : v4.1 .0
30+ rev : v5.0 .0
3131 hooks :
3232 - id : trailing-whitespace
3333 - id : end-of-file-fixer
3434 - id : check-toml
3535 - repo : https://github.com/python/black
36- rev : 22.8 .0
36+ rev : 25.1 .0
3737 hooks :
3838 - id : black
3939 name : Uncompromising Code Formatter (black)
Original file line number Diff line number Diff line change @@ -10,14 +10,13 @@ classifiers = [
1010 " Operating System :: OS Independent" ,
1111 " Topic :: Software Development :: Libraries :: Application Frameworks" ,
1212 " Programming Language :: Python :: 3" ,
13- " Programming Language :: Python :: 3.6" ,
14- " Programming Language :: Python :: 3.7" ,
15- " Programming Language :: Python :: 3.8" ,
1613 " Programming Language :: Python :: 3.9" ,
1714 " Programming Language :: Python :: 3.10" ,
1815 " Programming Language :: Python :: 3.11" ,
16+ " Programming Language :: Python :: 3.12" ,
17+ " Programming Language :: Python :: 3.13" ,
1918]
20- requires-python = " >=3.6 "
19+ requires-python = " >=3.9 "
2120dependencies = [
2221 " requests>=2.26.0" ,
2322]
Original file line number Diff line number Diff line change 11[tox]
22isolated_build = true
33envlist =
4- py{3.6,37,38, 39,310,311}
4+ py{39,310,311,312,313},
55 pre-commit
66 mypy
77skip_missing_interpreters = true
@@ -15,13 +15,13 @@ commands =
1515 pytest -q {posargs}
1616
1717[testenv:pre-commit]
18- deps = pre-commit
18+ deps = pre-commit ==4.2.0
1919commands = pre-commit run --all-files
2020
2121[testenv:mypy]
2222deps =
2323 -r requirements.test.txt
24- mypy
24+ mypy ==1.15.0
2525 types-requests
2626commands = mypy ./mailtrap
2727
You can’t perform that action at this time.
0 commit comments