diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d14bcfd --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +*.egg* +__pycache__ +prio.otl +bugs +build/ +.ruff_cache/ +.pytest_cache/ +.mypy_cache/ diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..f46415f --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,16 @@ +repos: +- repo: https://github.com/astral-sh/ruff-pre-commit + rev: v0.14.6 + hooks: + - id: ruff-check +- repo: https://github.com/pre-commit/mirrors-mypy + rev: v1.18.2 + hooks: + - id: mypy + args: [--strict, --ignore-missing-imports] +- repo: local + hooks: + - id: copy-clog + name: Copy CHANGELOG.md to package data dir + entry: python scripts/copy_changelog.py + language: system