We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a41d3d commit 92997c8Copy full SHA for 92997c8
1 file changed
pyproject.toml
@@ -83,9 +83,9 @@ target-version = "py38"
83
line-length = 105
84
85
ignore = [
86
- "F401",
87
- "E501",
88
- "E713",
+ "F401", # module imported but unused
+ "E501", # line too long
+ "E713", # test for membership should be 'not in'
89
]
90
91
exclude = [
@@ -94,13 +94,13 @@ exclude = [
94
95
[tool.ruff.per-file-ignores]
96
"docs/conf.py" = [
97
- "A001",
+ "A001", # variable is shadowing a python builtin
98
99
"gsw/_fixed_wrapped_ufuncs.py" = [
100
- "F403",
101
- "F405",
+ "F403", #'from x import *' used; unable to detect undefined names
+ "F405", # 'import' may be undefined, or defined from star imports
102
103
104
"gsw/_utilities.py" = [
105
- "B904",
+ "B904", # Within an ``except`` clause, raise exceptions with ``raise ... from err``
106
0 commit comments