feat: Add Ruff linting, pre-commit hooks, and build scripts

- Configure Ruff for linting and formatting with pre-commit hooks
- Add Makefile with convenient commands for development workflow
- Create build and upload scripts for Gitea package registry
- Update README with documentation for new features
- Fix code quality issues identified by Ruff
- Add development dependencies (ruff, pre-commit) to pyproject.toml
- Update Python version requirement to >=3.9
- Add template for Gitea PyPI configuration
- Bump version to 0.3.0
- All tests passing and code properly formatted
This commit is contained in:
2025-08-11 14:49:17 +02:00
parent 2f58c5bd3a
commit a60f5274b2
16 changed files with 725 additions and 125 deletions
+2 -2
View File
@@ -3,8 +3,8 @@
Command line interface for paroles.net scraper
"""
import sys
import os
import sys
# Add the package directory to the path
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
@@ -12,4 +12,4 @@ sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
from paroles_net_scraper.paroles_net_scraper import main
if __name__ == "__main__":
main()
main()