mxroute_relay/.pre-commit-config.yaml
hackish d841969e09 * chore: add .flake8 configuration file
* chore: add .pre-commit-config.yaml file with pre-commit hooks configuration
* chore: add mxroute_relay/__init__.py file
* chore: add pyproject.toml file with project metadata and dependencies configuration
2023-09-13 13:02:02 -07:00

29 lines
754 B
YAML

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
args: ['--maxkb=1024']
- repo: https://github.com/asottile/reorder_python_imports
rev: v3.10.0
hooks:
- id: reorder-python-imports
args: [--application-directories, '.:bronzeburner', --py39-plus]
- repo: https://github.com/psf/black
rev: 23.9.1
hooks:
- id: black
language_version: python3.10
- repo: https://github.com/PyCQA/bandit
rev: 1.7.5
hooks:
- id: bandit
args: ["-c", "pyproject.toml"]
additional_dependencies: ["bandit[toml]"]
- repo: https://github.com/pycqa/flake8
rev: 6.1.0
hooks:
- id: flake8