Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
414 changes: 207 additions & 207 deletions .github/workflows/ci-cd.yml

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/venv
94 changes: 47 additions & 47 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,48 +1,48 @@
repos:
- repo: local
hooks:
- id: autoflake
name: autoflake
entry: autoflake
language: system
args: ["--in-place", "--remove-all-unused-imports", "--remove-unused-variables"]
exclude: "(migrations/|auth.py)"
files: ^backend/
types: [python]

- id: autopep8
name: autopep8
entry: autopep8
language: system
args: ["--in-place", "--aggressive", "--select=E101,E501,W291", "--max-line-length=100"]
exclude: "(migrations/|auth.py)"
files: ^backend/
types: [python]

- id: black
name: black
entry: black
language: system
args: ["--line-length=100"]
exclude: "(migrations/|auth.py)"
files: ^backend/
types: [python]

- id: flake8
name: flake8
entry: flake8
language: system
args: ["--max-line-length=100"]
exclude: "(migrations/|auth.py)"
files: ^backend/
types: [python]

# frontend hooks

- id: eslint-frontend
name: eslint-frontend
entry: bash -c "cd frontend && npx eslint . --fix"
language: system
pass_filenames: false
files: ^frontend/.*\.(js|jsx)$
repos:
- repo: local
hooks:
- id: autoflake
name: autoflake
entry: autoflake
language: system
args: ["--in-place", "--remove-all-unused-imports", "--remove-unused-variables"]
exclude: "(migrations/|auth.py)"
files: ^backend/
types: [python]
- id: autopep8
name: autopep8
entry: autopep8
language: system
args: ["--in-place", "--aggressive", "--select=E101,E501,W291", "--max-line-length=100"]
exclude: "(migrations/|auth.py)"
files: ^backend/
types: [python]
- id: black
name: black
entry: black
language: system
args: ["--line-length=100"]
exclude: "(migrations/|auth.py)"
files: ^backend/
types: [python]
- id: flake8
name: flake8
entry: flake8
language: system
args: ["--max-line-length=100"]
exclude: "(migrations/|auth.py)"
files: ^backend/
types: [python]
# frontend hooks
- id: eslint-frontend
name: eslint-frontend
entry: bash -c "cd frontend && npx eslint . --fix"
language: system
pass_filenames: false
files: ^frontend/.*\.(js|jsx)$
exclude: node_modules/
Binary file not shown.
19 changes: 0 additions & 19 deletions .venv/Lib/site-packages/LICENSE

This file was deleted.

1 change: 0 additions & 1 deletion .venv/Lib/site-packages/PyYAML-6.0.2.dist-info/INSTALLER

This file was deleted.

20 changes: 0 additions & 20 deletions .venv/Lib/site-packages/PyYAML-6.0.2.dist-info/LICENSE

This file was deleted.

46 changes: 0 additions & 46 deletions .venv/Lib/site-packages/PyYAML-6.0.2.dist-info/METADATA

This file was deleted.

43 changes: 0 additions & 43 deletions .venv/Lib/site-packages/PyYAML-6.0.2.dist-info/RECORD

This file was deleted.

5 changes: 0 additions & 5 deletions .venv/Lib/site-packages/PyYAML-6.0.2.dist-info/WHEEL

This file was deleted.

2 changes: 0 additions & 2 deletions .venv/Lib/site-packages/PyYAML-6.0.2.dist-info/top_level.txt

This file was deleted.

Loading