/ .pre-commit-config.yaml
.pre-commit-config.yaml
 1  repos:
 2  - repo: https://github.com/pre-commit/pre-commit-hooks
 3    rev: v3.3.0
 4    hooks:
 5    - id: check-yaml
 6    - id: end-of-file-fixer
 7    - id: trailing-whitespace
 8  - repo: https://github.com/psf/black
 9    rev: 22.6.0
10    hooks:
11    - id: black
12  - repo: local
13    hooks:
14      - id: version-env
15        name: Writing version to .env
16        description: Reading library __version__ and saving it to .env
17        entry: pipenv run python -m board_game_scraper.version_env
18        language: system
19        files: '__version__\.py'
20        pass_filenames: false