Skip to content

Commit 8442cae

Browse files
committed
misc: update pre-commit for ruff
Follow-on to #741 Signed-off-by: Mike Fiedler <miketheman@gmail.com>
1 parent b26e712 commit 8442cae

File tree

3 files changed

+5
-11
lines changed

3 files changed

+5
-11
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,12 @@ repos:
1313
types:
1414
- python
1515
require_serial: true
16-
- id: flake8
17-
name: flake8
18-
entry: flake8
16+
- id: ruff
17+
name: ruff
18+
entry: ruff check
1919
language: system
2020
types_or:
2121
- python
22-
- pyi
23-
- id: pydocstyle
24-
name: pydocstyle
25-
entry: pydocstyle
26-
language: system
27-
types:
28-
- python
2922
- id: mypy
3023
name: mypy
3124
entry: mypy

CONTRIBUTING.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Commits
4040
Coding style
4141
------------
4242

43-
#. Coding style is being handled by black and doublechecked by flake8 and pydocstyle
43+
#. Coding style is being handled by black and doublechecked by ruff.
4444
* We provide a `pre-commit <https://pre-commit.com/>`_ configuration for invoking these on commit.
4545

4646
Testing

newsfragments/+7b6c5deb.misc.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Update pre-commit configuration to use ruff instead of flake8/pydocstyle

0 commit comments

Comments
 (0)