commit 363201ee6c8d22d00b0c7277cc07b6e01053b837 parent 6bf13beeb9ad482681f9b8f0983fb87f8aecc214 Author: arfy slowy <[email protected]> Date: Mon, 1 May 2023 10:18:13 +0700 chore: adding pre commit configuration (#150) fix: fixing style code following PEP8 python code Signed-off-by: slowy07 <[email protected]> Diffstat:
A | .pre-commit-config.yaml | | | 14 | ++++++++++++++ |
1 file changed, 14 insertions(+), 0 deletions(-)
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml @@ -0,0 +1,13 @@ +repos: + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.4.0 + hooks: + - id: check-yaml + - id: end-of-file-fixer + types: [python] + - id: trailing-whitespace + + - repo: https://github.com/psf/black + rev: 23.1.0 + hooks: + - id: black +\ No newline at end of file