We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7903c9 commit d6d7f9bCopy full SHA for d6d7f9b
light-curve/pyproject.toml
@@ -108,15 +108,6 @@ exclude = '''
108
109
[tool.ruff]
110
line-length = 120
111
-select = [
112
- # Pyflakes
113
- "F",
114
- # Pycodestyle
115
- "E",
116
- "W",
117
- # isort
118
- "I001"
119
-]
120
exclude = [
121
"docs",
122
"dist",
@@ -132,7 +123,20 @@ exclude = [
132
123
]
133
124
target-version = "py38"
134
125
135
-[tool.ruff.per-file-ignores]
126
+[tool.ruff.lint]
127
+select = [
128
+ # Pyflakes
129
+ "F",
130
+ # Pycodestyle
131
+ "E",
+ "W",
+ # isort
+ "I001",
+ # Numpy v2.0 compatibility
136
+ "NPY201",
137
+]
138
+
139
+[tool.ruff.lint.per-file-ignores]
140
# Unused and star imports
141
"light_curve/__init__.py" = ["F401", "F403", "I001"]
142
"light_curve/light_curve_ext.py" = ["F403", "F405"]
0 commit comments