From 2910f8826e9a7310de407488c61f2fb4906d1bef Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Sat, 4 May 2024 18:32:33 +0200 Subject: [PATCH] MNT: complete transition from flake8/black to ruff --- .flake8 | 10 ---------- pyproject.toml | 17 ++--------------- wrapper/setup.cfg | 3 --- 3 files changed, 2 insertions(+), 28 deletions(-) delete mode 100644 .flake8 diff --git a/.flake8 b/.flake8 deleted file mode 100644 index 209066837b..0000000000 --- a/.flake8 +++ /dev/null @@ -1,10 +0,0 @@ -[flake8] -max-line-length = 99 -doctests = False -exclude=*build/ -ignore = - E203 - W503 -per-file-ignores = - **/__init__.py : F401 - docs/conf.py : E265 diff --git a/pyproject.toml b/pyproject.toml index 9d2fccb28c..f4cfbd4fde 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -98,22 +98,9 @@ version-file = "smriprep/_version.py" # Developer tool configurations # +# Disable black [tool.black] -line-length = 99 -skip-string-normalization = true - -[tool.isort] -profile = 'black' - -[tool.flake8] -max-line-length = "99" -doctests = "False" -exclude = "*build/" -ignore = ["W503", "E203"] -per-file-ignores = [ - "**/__init__.py : F401", - "docs/conf.py : E265", -] +exclude = ".*" [tool.pytest.ini_options] minversion = "7" diff --git a/wrapper/setup.cfg b/wrapper/setup.cfg index fd17c74b00..6c1ee321bc 100644 --- a/wrapper/setup.cfg +++ b/wrapper/setup.cfg @@ -26,6 +26,3 @@ console_scripts = [bdist_wheel] universal=1 - -[flake8] -max-line-length = 99