1
0
Fork 0
mirror of https://github.com/python-poetry/install.python-poetry.org.git synced 2024-09-17 23:27:11 -04:00
PoetryInstaller/.pre-commit-config.yaml
Mathieu Kniewallner 9804ea2fb8
Test against python 3.11 and remove obsolete code-quality workflow (#14)
* chore(ci): remove obsolete `code-quality` workflow

* chore(ci): test against Python 3.11

* chore(ci): use `1.1.13` for Poetry version to install

* chore(ci): bump actions

* chore(pre-commit): pin `flake8-bugbear`

* chore(pre-commit): remove unneeeded `toml` extra for `isort`

* chore(isort): remove options already in `black` profile
2022-06-06 11:51:12 -06:00

28 lines
601 B
YAML

repos:
- repo: https://github.com/psf/black
rev: 22.3.0
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
rev: 4.0.1
hooks:
- id: flake8
additional_dependencies:
- flake8-bugbear==22.4.25
- repo: https://github.com/PyCQA/isort
rev: 5.10.1
hooks:
- id: isort
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: debug-statements
- id: pretty-format-json
args:
- --autofix
- id: check-json