Skip to content

Commit b2f6453

Browse files
authored
Merge pull request #676 from TotallyNotRobots/python-3.12-3.13
Add 3.12 and 3.13 dev tests
2 parents d70f1b9 + bc627c7 commit b2f6453

File tree

5 files changed

+8
-16
lines changed

5 files changed

+8
-16
lines changed

.github/workflows/pythonapp.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
- '3.9'
2020
- '3.10'
2121
- '3.11'
22+
- '3.12'
2223
runs-on: ubuntu-22.04
2324
steps:
2425
- uses: actions/checkout@v4
@@ -33,13 +34,18 @@ jobs:
3334
3435
- name: Install apt deps
3536
run: sudo apt-get update && sudo apt-get install -qq -y libxml2-dev libxslt1-dev
37+
3638
- name: Install dependencies
37-
run: pip install -Ur requirements-dev.txt
39+
run: |
40+
pip install -U pip wheel
41+
pip install -Ur requirements-dev.txt
42+
3843
- name: Test with pytest
3944
run: pytest
4045
env:
4146
PYTHONDEVMODE: 1
4247
PYTHONPATH: .
48+
4349
- uses: codecov/codecov-action@v4
4450
with:
4551
name: build-${{ matrix.python-ver }}

.pre-commit-config.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,6 @@ repos:
6262
entry: mypy
6363
language: system
6464
types: [python]
65-
- id: darker
66-
name: darker
67-
entry: darker
68-
args:
69-
- -r
70-
- ':PRE-COMMIT:'
71-
language: system
72-
types: [python]
7365
- id: pylint
7466
name: pylint
7567
entry: pylint

pyproject.toml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,6 @@ exclude = '''
2828
)
2929
'''
3030

31-
[tool.darker]
32-
src = ["cloudbot", "plugins", "tests"]
33-
isort = true
34-
lint = ["pylint"]
35-
line-length = 80
36-
3731
[tool.pylint.main]
3832
analyse-fallback-blocks = true
3933
py-version = "3.8"

pytest.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ testpaths = .
1111
filterwarnings =
1212
error
1313
ignore:pkg_resources is deprecated as an API:DeprecationWarning
14+
ignore:datetime.*:DeprecationWarning:sqlalchemy.*

requirements-dev.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
darker[flynt,isort] == 2.0.0
21
freezegun == 1.4.0
32
mypy == 1.9.0
43
pre-commit == 3.3.3

0 commit comments

Comments
 (0)