From bef5d24408aeea9eec4112f6b1343bae6ba36e87 Mon Sep 17 00:00:00 2001 From: Florian Matter Date: Mon, 6 Nov 2023 19:50:06 -0800 Subject: [PATCH] cleanup --- .gitignore | 2 ++ .pre-commit-config.yaml | 13 +++++++++++++ CONTRIBUTING.md | 3 --- MANIFEST.in | 4 ---- 4 files changed, 15 insertions(+), 7 deletions(-) create mode 100644 .pre-commit-config.yaml delete mode 100644 CONTRIBUTING.md delete mode 100644 MANIFEST.in diff --git a/.gitignore b/.gitignore index 875f88f..00dc689 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ +poetry.lock +tasks.py Makefile etc # Byte-compiled / optimized / DLL files diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..33b290b --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,13 @@ +repos: +- repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.5.0 # Use the ref you want to point at + hooks: + - id: end-of-file-fixer + exclude_types: [tex, text] + - id: trailing-whitespace + exclude_types: [tex, text] + exclude: mkdocs.yaml +- repo: https://github.com/psf/black + rev: 23.9.1 + hooks: + - id: black \ No newline at end of file diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md deleted file mode 100644 index 1e579ff..0000000 --- a/CONTRIBUTING.md +++ /dev/null @@ -1,3 +0,0 @@ -1. fork -2. clone -3. `pip install .[dev]` \ No newline at end of file diff --git a/MANIFEST.in b/MANIFEST.in deleted file mode 100644 index 3202119..0000000 --- a/MANIFEST.in +++ /dev/null @@ -1,4 +0,0 @@ -include CITATION.cff -include LICENSE -include README.md -recursive-include src/pylingdocs/data * \ No newline at end of file