File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535
3636
3737def setup (app ):
38- app .connect ("missing-reference" , process_autodoc_missing_reference ) # noqa: F821
38+ app .connect ("missing-reference" , process_autodoc_missing_reference ) # ruff:ignore[undefined-name]
Original file line number Diff line number Diff line change @@ -50,17 +50,17 @@ extend-select = [
5050]
5151extend-ignore = [
5252 " C90" , # McCabe complexity
53- " E221 " , # multiple spaces before operator
54- " E226 " , # missing whitespace around arithmetic operator
55- " E402 " , # module-level import not at top of file
56- " UP031 " , # use f-strings instead of %
57- " UP032 " , # use f-strings instead of .format
58- " RUF067 " , # __init__ should contain no code
53+ " multiple- spaces- before- operator" ,
54+ " missing- whitespace- around- arithmetic- operator" ,
55+ " module-import- not-at- top-of- file" ,
56+ " printf-string-formatting " ,
57+ " f-string " ,
58+ " non-empty-init-module " ,
5959]
6060
6161[tool .ruff .lint .per-file-ignores ]
62- "pytools/test/*.py" = [" S102 " ]
63- "doc/conf.py" = [" S102 " ]
62+ "pytools/test/*.py" = [" exec-builtin " ]
63+ "doc/conf.py" = [" exec-builtin " ]
6464
6565[tool .ruff .lint .flake8-quotes ]
6666docstring-quotes = " double"
You can’t perform that action at this time.
0 commit comments