Skip to content

Commit 2cdc68d

Browse files
Add dev tooling and clean up repo config
- Add justfile with common development tasks - Add pre-commit config for code quality hooks - Remove requirements.txt (deps managed via pyproject.toml) - Update .gitignore for local/generated files
1 parent a1d3afd commit 2cdc68d

File tree

5 files changed

+832
-21
lines changed

5 files changed

+832
-21
lines changed

.gitignore

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,13 @@ test_data_*
5454
# PyInstaller specific
5555
*.manifest
5656
*.spec
57-
!fileshift.spec
57+
!fileshift.spec
58+
# Claude Code
59+
.claude/settings.local.json
60+
61+
# Coverage
62+
.coverage
63+
coverage.xml
64+
65+
# Serena
66+
.serena/

.pre-commit-config.yaml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v4.5.0
4+
hooks:
5+
- id: check-yaml
6+
- id: end-of-file-fixer
7+
- id: trailing-whitespace
8+
- id: check-added-large-files
9+
- id: check-json
10+
- id: check-merge-conflict
11+
- id: check-toml
12+
- id: debug-statements
13+
- id: mixed-line-ending
14+
15+
- repo: https://github.com/psf/black
16+
rev: 23.12.1
17+
hooks:
18+
- id: black
19+
language_version: python3.9
20+
21+
- repo: https://github.com/pycqa/isort
22+
rev: 5.13.2
23+
hooks:
24+
- id: isort
25+
args: ["--profile", "black"]
26+
27+
- repo: https://github.com/astral-sh/ruff-pre-commit
28+
rev: v0.1.9
29+
hooks:
30+
- id: ruff
31+
args: [--fix, --exit-non-zero-on-fix]
32+
33+
- repo: https://github.com/pre-commit/mirrors-mypy
34+
rev: v1.8.0
35+
hooks:
36+
- id: mypy
37+
additional_dependencies: [types-PyQt6]
38+
args: [--ignore-missing-imports]

0 commit comments

Comments
 (0)