Skip to content

Commit 3641c88

Browse files
committed
more config and update tests to 3.11
1 parent ef1a564 commit 3641c88

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

.github/workflows/pypi-test.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,18 @@ jobs:
1313
build:
1414

1515
runs-on: ubuntu-latest
16+
strategy:
17+
matrix:
18+
python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12' ]
1619

20+
name: Python ${{ matrix.python-version }}
1721
steps:
1822
- uses: actions/checkout@v2
19-
- name: Set up Python 3.9
23+
- name: Setup Python
2024
uses: actions/setup-python@v2
2125
with:
22-
python-version: 3.9
26+
python-version: ${{ matrix.python-version }}
27+
cache: 'pip'
2328
- name: Install dependencies
2429
run: |
2530
python -m pip install --upgrade pip

pyproject.toml

+15
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,18 @@ build-backend = "setuptools.build_meta"
66
[tool.setuptools_scm]
77
# See configuration details in https://github.com/pypa/setuptools_scm
88
version_scheme = "no-guess-dev"
9+
10+
[tool.ruff]
11+
line-length = 120
12+
src = ["src"]
13+
exclude = ["tests"]
14+
extend-ignore = ["F821"]
15+
16+
[tool.ruff.pydocstyle]
17+
convention = "google"
18+
19+
[tool.ruff.per-file-ignores]
20+
"__init__.py" = ["E402", "F401"]
21+
22+
[tool.black]
23+
force-exclude = "__init__.py"

0 commit comments

Comments
 (0)