Skip to content

Commit c23bc00

Browse files
committed
2 parents 5933b40 + aa89106 commit c23bc00

File tree

3 files changed

+37
-3
lines changed

3 files changed

+37
-3
lines changed

.github/workflows/main.yml

+7
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,13 @@ jobs:
5858
continue-on-error: ${{ matrix.python == '3.14' }}
5959
steps:
6060
- uses: actions/checkout@v4
61+
- name: Install build dependencies
62+
# Install dependencies for building packages on pre-release Pythons
63+
# jaraco/skeleton#161
64+
if: matrix.python == '3.14' && matrix.platform == 'ubuntu-latest'
65+
run: |
66+
sudo apt update
67+
sudo apt install -y libxml2-dev libxslt-dev
6168
- name: Setup Python
6269
uses: actions/setup-python@v4
6370
with:

.readthedocs.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ python:
55
extra_requirements:
66
- doc
77

8+
sphinx:
9+
configuration: docs/conf.py
10+
811
# required boilerplate readthedocs/readthedocs.org#10401
912
build:
1013
os: ubuntu-lts-latest

ruff.toml

+27-3
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,33 @@ extend = "pyproject.toml"
33

44
[lint]
55
extend-select = [
6-
"C901",
7-
"PERF401",
8-
"W",
6+
# upstream
7+
8+
"C901", # complex-structure
9+
"I", # isort
10+
"PERF401", # manual-list-comprehension
11+
"W", # pycodestyle Warning
12+
13+
# Ensure modern type annotation syntax and best practices
14+
# Not including those covered by type-checkers or exclusive to Python 3.11+
15+
"FA", # flake8-future-annotations
16+
"F404", # late-future-import
17+
"PYI", # flake8-pyi
18+
"UP006", # non-pep585-annotation
19+
"UP007", # non-pep604-annotation
20+
"UP010", # unnecessary-future-import
21+
"UP035", # deprecated-import
22+
"UP037", # quoted-annotation
23+
"UP043", # unnecessary-default-type-args
24+
25+
# local
926
]
1027
ignore = [
28+
# upstream
29+
30+
# Typeshed rejects complex or non-literal defaults for maintenance and testing reasons,
31+
# irrelevant to this project.
32+
"PYI011", # typed-argument-default-in-stub
1133
# https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
1234
"W191",
1335
"E111",
@@ -23,6 +45,8 @@ ignore = [
2345
"COM819",
2446
"ISC001",
2547
"ISC002",
48+
49+
# local
2650
]
2751

2852
[format]

0 commit comments

Comments
 (0)