.pre-commit-config.yaml
This file
Path
.pre-commit-config.yaml
53 lines · 1.4 KiB · YAML
Last changed by
⬆ [pre-commit.ci] pre-commit autoupdate (#404)pre-commit-ci[bot]before adoptionef114fe
History of this fileTake it
🔧 Add pre-commit config and formatting (#392)Sebastián Ramírezbefore adoptiona1ee411
lines 1–4why, one step back1# See https://pre-commit.com for more information2# See https://pre-commit.com/hooks.html for more hooks3repos:4- repo: https://github.com/pre-commit/pre-commit-hooks⬆ [pre-commit.ci] pre-commit autoupdate (#404)pre-commit-ci[bot]before adoptionef114fe
line 5why, one step back5 rev: v4.3.0🔧 Add pre-commit config and formatting (#392)Sebastián Ramírezbefore adoptiona1ee411
lines 6–14why, one step back6 hooks:7 - id: check-added-large-files8 - id: check-toml9 - id: check-yaml10 args:11 - --unsafe12 - id: end-of-file-fixer13 - id: trailing-whitespace14- repo: https://github.com/asottile/pyupgrade⬆ [pre-commit.ci] pre-commit autoupdate (#404)pre-commit-ci[bot]before adoptionef114fe
line 15why, one step back15 rev: v2.34.0🔧 Add pre-commit config and formatting (#392)Sebastián Ramírezbefore adoptiona1ee411
lines 16–50why, one step back16 hooks:17 - id: pyupgrade18 args:19 - --py3-plus20 - --keep-runtime-typing21 # This file is more readable without yield from22 exclude: ^docs_src/progressbar/tutorial002\.py23- repo: https://github.com/myint/autoflake24 rev: v1.425 hooks:26 - id: autoflake27 args:28 - --recursive29 - --in-place30 - --remove-all-unused-imports31 - --remove-unused-variables32 - --expand-star-imports33 - --exclude34 - __init__.py35 - --remove-duplicate-keys36- repo: https://github.com/pycqa/isort37 rev: 5.10.138 hooks:39 - id: isort40 name: isort (python)41 - id: isort42 name: isort (cython)43 types: [cython]44 - id: isort45 name: isort (pyi)46 types: [pyi]47- repo: https://github.com/psf/black48 rev: 22.3.049 hooks:50 - id: black👷 Add pre-commit CI config (#394)Sebastián Ramírezbefore adoption33887a6
lines 51–53why, one step back51ci:52 autofix_commit_msg: 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks53 autoupdate_commit_msg: ⬆ [pre-commit.ci] pre-commit autoupdate