|
5 | 5 | hooks: |
6 | 6 | - id: black |
7 | 7 | args: [ |
8 | | - --line-length, "100", |
| 8 | + --line-length, "79", |
| 9 | + --force-exclude, ansys/api/fluent/v0/|tui.py, |
9 | 10 | ansys, codegen, doc, examples, tests |
10 | 11 | ] |
11 | 12 |
|
12 | 13 | - repo: https://github.com/pycqa/isort |
13 | 14 | rev: 5.10.1 |
14 | 15 | hooks: |
15 | 16 | - id: isort |
16 | | - exclude: ^src/ansys/templates/pypkg/ |
17 | 17 | args: [ |
18 | 18 | --profile, black, |
| 19 | + --skip, ansys/fluent/core/meshing/tui.py, |
| 20 | + --skip, ansys/fluent/core/solver/tui.py, |
| 21 | + --skip, ansys/fluent/core/solver/settings.py, |
| 22 | + --skip-glob, ansys/api/fluent/v0/*, |
19 | 23 | --force-sort-within-sections, |
20 | | - --line-length, "100", |
| 24 | + --line-length, "79", |
21 | 25 | --section-default, THIRDPARTY, |
22 | 26 | --filter-files, |
23 | 27 | ansys, codegen, doc, examples, tests |
24 | 28 | ] |
25 | 29 |
|
26 | | -- repo: https://gitlab.com/PyCQA/flake8 |
| 30 | +- repo: https://github.com/PyCQA/flake8 |
27 | 31 | rev: 4.0.1 |
28 | 32 | hooks: |
29 | 33 | - id: flake8 |
30 | 34 | args: [ |
| 35 | + --exclude, ansys/api/fluent/v0/* ansys/fluent/core/meshing/tui.py ansys/fluent/core/solver/tui.py ansys/fluent/core/solver/settings.py, |
31 | 36 | ansys, codegen, doc, examples, tests |
32 | 37 | ] |
33 | 38 |
|
|
0 commit comments