Skip to content

Commit

Permalink
Added gitignore and precommit
Browse files Browse the repository at this point in the history
  • Loading branch information
Jad-yehya committed Sep 9, 2024
1 parent c2988a4 commit 7aa2e89
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ coverage.xml

# Data directories
data/
exploratory/
20 changes: 20 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-json

- repo: https://github.com/pycqa/flake8
rev: 6.0.0
hooks:
- id: flake8
args: [--max-line-length=79] # Customize flake8 options here

- repo: https://github.com/pre-commit/mirrors-autopep8
rev: v1.6.0
hooks:
- id: autopep8
args: [--max-line-length=79, --in-place]

0 comments on commit 7aa2e89

Please sign in to comment.