Skip to content

Commit

Permalink
Merge pull request #12 from tekktrik/dev/update
Browse files Browse the repository at this point in the history
Update
  • Loading branch information
tekktrik authored Feb 21, 2024
2 parents 4698842 + a6df69b commit 7209d7e
Show file tree
Hide file tree
Showing 49 changed files with 1,046 additions and 403 deletions.
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

0 comments on commit 7209d7e

Please sign in to comment.