Skip to content

Commit 26a535e

Browse files
Merge branch 'development'
# Conflicts: # poetry.lock # pyproject.toml # src/feecc_workbench/WorkBench.py # src/feecc_workbench/config.py # src/feecc_workbench/exceptions.py
2 parents cb75a4a + bd331b3 commit 26a535e

24 files changed

+900
-372
lines changed

.github/workflows/pre-commit.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: pre-commit
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
- development
9+
10+
jobs:
11+
pre-commit:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v3
15+
- uses: actions/setup-python@v3
16+
- uses: pre-commit/action@v3.0.0

.github/workflows/python-app-checks.yml

Lines changed: 0 additions & 76 deletions
This file was deleted.

.pre-commit-config.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,15 @@ repos:
2828
args:
2929
- --py310-plus
3030

31+
- repo: https://github.com/PyCQA/autoflake
32+
rev: v1.5.3
33+
hooks:
34+
- id: autoflake
35+
args:
36+
- --remove-all-unused-imports
37+
- --remove-unused-variables
38+
- --in-place
39+
3140
- repo: https://github.com/psf/black
3241
rev: 22.6.0
3342
hooks:
@@ -61,9 +70,26 @@ repos:
6170
additional_dependencies:
6271
- flake8-pep585
6372
- flake8-new-union-types
73+
- flake8-json
74+
- flake8-adjustable-complexity
75+
- flake8-annotations-coverage
76+
- flake8-builtins
77+
- flake8-cognitive-complexity
78+
- flake8-comprehensions
79+
- flake8-expression-complexity
80+
- flake8-functions
81+
- flake8-simplify
82+
- flake8-scream
83+
- pep8-naming
84+
- flake8-bugbear
85+
- flake8-print
86+
- flake8-use-pathlib
87+
- pylint
88+
- flake8-pylint
6489
args:
6590
- --count
6691
- --max-line-length=130
92+
- --exclude=*test*
6793

6894
- repo: https://github.com/pre-commit/pre-commit-hooks
6995
rev: v4.3.0

0 commit comments

Comments
 (0)