diff options
author | danieleades <33452915+danieleades@users.noreply.github.com> | 2023-02-19 17:14:00 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-19 18:14:00 +0100 |
commit | 5fcf01b9a43a097c4f579486023d1279b2b88619 (patch) | |
tree | 7e1f3e868fb56d5e9d8911989fec7215f7d1b8ff /.pre-commit-config.yaml | |
parent | d49da725e84bfcf52200ca8a48699ca5761c918a (diff) | |
download | networkx-5fcf01b9a43a097c4f579486023d1279b2b88619.tar.gz |
Lint using Ruff (#6371)
* lint and fix using ruff
* add flake8-pie lints
* remove useless import alias
* bump version
* bump deps
---------
Co-authored-by: daniel.eades <daniel.eades@hotmail.com>
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r-- | .pre-commit-config.yaml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 13c3751f..b822734b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -28,3 +28,10 @@ repos: - id: prettier files: \.(html|md|yml|yaml) args: [--prose-wrap=preserve] + + - repo: https://github.com/charliermarsh/ruff-pre-commit + rev: v0.0.247 + hooks: + - id: ruff + args: + - --fix |