chore: add dotfiles

This commit is contained in:
aclist 2025-12-08 18:09:35 +09:00
parent 2e5b771137
commit 78750a656d
2 changed files with 24 additions and 0 deletions

8
.gitignore vendored Normal file
View File

@ -0,0 +1,8 @@
*.egg*
__pycache__
prio.otl
bugs
build/
.ruff_cache/
.pytest_cache/
.mypy_cache/

16
.pre-commit-config.yaml Normal file
View File

@ -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