Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update #12

Merged
merged 7 commits into from
Feb 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -131,3 +131,10 @@ dmypy.json

# Pyre type checker
.pyre/

# Project-specific
testfs
testmount/

# Test related
tests/backup/
29 changes: 21 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,47 +7,60 @@ repos:
rev: v1.4.0
hooks:
- id: detect-secrets
name: Detect secrets
- repo: https://github.com/fsfe/reuse-tool
rev: v1.0.0
rev: v3.0.1
hooks:
- id: reuse
name: Check REUSE compatibility
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v4.5.0
hooks:
- id: check-yaml
name: Check YAML
- id: check-toml
name: Check TOML
- id: check-json
name: Check JSON
- id: mixed-line-ending
name: Fix mixed line endings
- id: requirements-txt-fixer
name: Fix requirements.txt
- id: end-of-file-fixer
name: Fix end of files
- id: trailing-whitespace
name: Trim trailing whitespace
- repo: https://github.com/PyCQA/isort
rev: 5.10.1
rev: 5.13.2
hooks:
- id: isort
name: Sort imports via isort
args:
- --multi-line
- VERTICAL_HANGING_INDENT
- --tc
- repo: https://github.com/psf/black
rev: 22.10.0
rev: 24.2.0
hooks:
- id: black
name: Format via black
- repo: https://github.com/asottile/pyupgrade
rev: v3.2.0
rev: v3.15.0
hooks:
- id: pyupgrade
name: Upgrade to Python 3.8+ syntax
args:
- --py38-plus
- repo: https://github.com/PyCQA/pydocstyle
rev: 6.1.1
rev: 6.3.0
hooks:
- id: pydocstyle
name: Check docstyle
- repo: https://github.com/PyCQA/pylint
rev: v2.15.5
rev: v3.0.3
hooks:
- id: pylint
name: pylint
name: Lint via pylint
types: [python]
exclude: "^(docs/conf.py)"
args:
Expand Down
Loading