File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ target-version = " py312" # Align with the version in oldest_supported_sphinx
2+ fix = true
3+ output-format = " full"
4+ line-length = 79
5+ extend-exclude = [
6+ " includes/*" ,
7+ # Temporary exclusions:
8+ " tools/extensions/pyspecific.py" ,
9+ ]
10+
11+ [lint ]
12+ preview = true
13+ select = [
14+ " C4" , # flake8-comprehensions
15+ " B" , # flake8-bugbear
16+ " E" , # pycodestyle
17+ " F" , # pyflakes
18+ " FA" , # flake8-future-annotations
19+ " FLY" , # flynt
20+ " FURB" , # refurb
21+ " G" , # flake8-logging-format
22+ " I" , # isort
23+ " LOG" , # flake8-logging
24+ " N" , # pep8-naming
25+ " PERF" , # perflint
26+ " PGH" , # pygrep-hooks
27+ " PT" , # flake8-pytest-style
28+ " TCH" , # flake8-type-checking
29+ " UP" , # pyupgrade
30+ " W" , # pycodestyle
31+ ]
32+ ignore = [
33+ " E501" , # Ignore line length errors (we use auto-formatting)
34+ ]
35+
36+ [format ]
37+ preview = true
38+ quote-style = " preserve"
39+ docstring-code-format = true
40+ exclude = [
41+ " tools/extensions/lexers/*" ,
42+ ]
You can’t perform that action at this time.
0 commit comments