File: .pre-commit-config.yaml

package info (click to toggle)
aio-eapi 0.6.3-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 112 kB
  • sloc: python: 181; makefile: 23
file content (30 lines) | stat: -rw-r--r-- 792 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
default_language_version:
    python: python3.10

repos:
-   repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v4.4.0
    hooks:
    -   id: debug-statements
    -   id: check-merge-conflict
    -   id: trailing-whitespace
    -   id: check-yaml
    -   id: check-toml
    -   id: check-added-large-files

-   repo: https://github.com/pycqa/flake8
    rev: 6.0.0
    hooks:
    -   id: flake8
        exclude: 'scratch-testing'
        args: ['--ignore=E501,E203,W503,E731',
               '--max-line-length=130',
               '--per-file-ignores=__init__.py:F401']

-   repo: https://github.com/psf/black
    rev: 22.12.0
    hooks:
    -   id: black
        args: ["."]