Commit Graph

6 Commits

Author SHA1 Message Date
mauwii
ed06a70eca
add pre-commit hook no-commit-to-branch
additional layer to prevent accidential commits directly to main branch
2023-02-26 21:27:00 +01:00
mauwii
d77dc68119
better config of pre-commit hooks:
- better order of hooks
- add flake8-comprehensions and flake8-simplify
- remove unecesarry hooks which are covered by previous hooks
- add hooks
  - check-executables-have-shebangs
  - check-shebang-scripts-are-executable
2023-02-26 21:27:00 +01:00
mauwii
b4fd02b910
add more hooks, reorder hooks, update .flake8 2023-02-26 21:26:59 +01:00
mauwii
4e0fe4ad6e
update black / flake8 related settings
- add flake8-black to dev extras
- update `.flake8`
- update flake8 pre-commit hook
2023-02-26 21:26:59 +01:00
mauwii
c3f533f20f
update .pre-commit-config.yaml 2023-02-26 21:26:59 +01:00
mauwii
2a739890a3
add .pre-commit-config.yaml 2023-02-26 21:26:59 +01:00