diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6f4a420 --- /dev/null +++ b/.gitignore @@ -0,0 +1,12 @@ +# ~~ Generated by projen in mxr/base. Modifications will be overwritten on the next sync. To modify properly, edit .github/base.yml and retrigger the propagate workflow in mxr/base. +*.egg-info/ +*.pyc +.coverage +.mypy_cache/ +.pytest_cache/ +.ruff_cache/ +.tox/ +.venv/ +/build/ +/dist/ +__pycache__/ diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d934916..afda451 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,6 +19,10 @@ repos: - id: mdformat args: [--number, --wrap, '120'] additional_dependencies: [mdformat-footnote, mdformat-gfm, mdformat-gfm-alerts] +- repo: https://github.com/lorenzwalthert/gitignore-tidy + rev: 1c69ff10567d7de6ce5e291ddf13c522a9007deb # frozen: 0.1.3 + hooks: + - id: tidy-gitignore - repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks rev: 4380fbb73a154b5f5624794c1c78d9719ccc860f # frozen: v2.16.0 hooks: