@@ -52,7 +52,7 @@ typing-extensions = "*"
5252
5353# ## Optional dependencies ###
5454# development core
55- ruff = { version = " 0.11.11 " , optional = true }
55+ ruff = { version = " 0.14.1 " , optional = true }
5656coverage = { version = " *" , optional = true }
5757dill = { version = " *" , optional = true }
5858ipython = { version = " *" , optional = true }
@@ -236,38 +236,38 @@ requires = ["poetry-core>=1.0.0"]
236236build-backend = " poetry.core.masonry.api"
237237
238238[tool .ruff ]
239- target-version = " py39 "
239+ target-version = " py310 "
240240line-length = 100
241241extend-exclude = [" docs/faq/" , " docs/notebooks/" ]
242242
243243[tool .ruff .lint ]
244244extend-select = [
245- " E" , # pycodestyle errors
246- " F" , # pyflakes
247- " B" , # bugbear
248- " I" , # isort
249- " UP" , # pyupgrade
250- " W" , # pycodestyle
251- " C4" , # flake8-comprehensions
252- " NPY" , # numpy-specific rules
253- " RUF" , # ruff builtins
254- " ISC" , # implicit string concatenation
255- " PIE" , # flake8-pie
256- " RSE" , # unnecessary parantheses on raised exceptions
257- " TID" , # no relative imports from parent modules
258- " PLE" , # pylint errors
259- " PLC" , # pylint conventions
245+ " E" , # pycodestyle errors
246+ " F" , # pyflakes
247+ " B" , # bugbear
248+ " I" , # isort
249+ " UP" , # pyupgrade
250+ " W" , # pycodestyle
251+ " C4" , # flake8-comprehensions
252+ " NPY" , # numpy-specific rules
253+ " RUF" , # ruff builtins
254+ " ISC" , # implicit string concatenation
255+ " PIE" , # flake8-pie
256+ " RSE" , # unnecessary parantheses on raised exceptions
257+ " TID" , # no relative imports from parent modules
258+ " PLE" , # pylint errors
259+ " PLC" , # pylint conventions
260260]
261261extend-ignore = [
262- " RUF001" , # ambiguous unicode characters
263- " RUF002" , # ambiguous unicode characters
264- " RUF003" , # ambiguous unicode characters
265- " RUF012" , # type hints for mutable defaults
266- " RUF015" , # next(iter(...)) instead of list(...)[0]
267- " E501" , # line too long
268- " B905" , # `zip()` without an explicit `strict=` parameter
269- " UP007 " , # TODO: Remove once Python >= 3.10
270- " NPY002 " , # TODO: Revisit RNG handling
262+ " RUF001" , # ambiguous unicode characters
263+ " RUF002" , # ambiguous unicode characters
264+ " RUF003" , # ambiguous unicode characters
265+ " RUF012" , # type hints for mutable defaults
266+ " RUF015" , # next(iter(...)) instead of list(...)[0]
267+ " E501" , # line too long
268+ " B905" , # `zip()` without an explicit `strict=` parameter
269+ " NPY002 " , # TODO: Revisit RNG handling
270+ " PLC0415 " , # allow imports not at top level
271271]
272272
273273[tool .ruff .lint .isort ]
0 commit comments