From 78750a656d3c27283d483caf5dbaf363644b1163 Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Mon, 8 Dec 2025 18:09:35 +0900 Subject: [PATCH] chore: add dotfiles --- .gitignore | 8 ++++++++ .pre-commit-config.yaml | 16 ++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 .gitignore create mode 100644 .pre-commit-config.yaml 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