Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
rsnodgrass committed May 21, 2024
1 parent 9317b79 commit cb30fd8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ build
__pycache__
.mypy_cache
*.swp
pypi.key
poetry.lock
.idea
13 changes: 7 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@ repos:
- id: end-of-file-fixer
- id: requirements-txt-fixer

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.4
hooks:
- id: ruff
args: [ --fix ] # run linter
- id: ruff-format # run formatter

# pycln - formatter for finding and removing unused import statements
#- repo: https://github.com/hadialqattan/pycln
Expand All @@ -25,6 +19,13 @@ repos:
# - id: pycln
# args: [--config=pyproject.toml]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.4
hooks:
- id: ruff
args: [ --fix ] # run linter
- id: ruff-format # run formatter

# isort - sort import statements
- repo: https://github.com/pycqa/isort
rev: 5.13.2
Expand Down

0 comments on commit cb30fd8

Please sign in to comment.