diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6aef5b3a..e72ae769 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,19 +13,12 @@ repos: types: - python require_serial: true - - id: flake8 - name: flake8 - entry: flake8 + - id: ruff + name: ruff + entry: ruff language: system types_or: - python - - pyi - - id: pydocstyle - name: pydocstyle - entry: pydocstyle - language: system - types: - - python - id: mypy name: mypy entry: mypy diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index f03c639b..60b4a78a 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -40,7 +40,7 @@ Commits Coding style ------------ -#. Coding style is being handled by black and doublechecked by flake8 and pydocstyle +#. Coding style is being handled by black and doublechecked by ruff. * We provide a `pre-commit `_ configuration for invoking these on commit. Testing diff --git a/newsfragments/+7b6c5deb.misc.rst b/newsfragments/+7b6c5deb.misc.rst new file mode 100644 index 00000000..208e6df4 --- /dev/null +++ b/newsfragments/+7b6c5deb.misc.rst @@ -0,0 +1 @@ +Update pre-commit configuration to use ruff instead of flake8/pydocstyle