Skip to content

Commit

Permalink
added refactored readme file (#125)
Browse files Browse the repository at this point in the history
* added refactored config file

* updated gitignore

* renamed readmes

* edited text about poetry

* added automatic update of requirementst.txt

* updated requirements.txt using pre-commit hook

* removed dummy comment
  • Loading branch information
QazyBi authored Mar 30, 2023
1 parent 09deb8b commit cfb7d8d
Show file tree
Hide file tree
Showing 6 changed files with 716 additions and 557 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
./data
wandb/
lightning_logs/
*.pth
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
Expand Down
9 changes: 9 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
repos:
- repo: local
hooks:
- id: update-requirements-txt
name: update-requirements-txt
description: 'Generate requirements.txt based on poetry.lock'
entry: poetry
args: [export, --format, requirements.txt, --output, requirements.txt]
language: system
pass_filenames: false
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
Expand Down
Loading

0 comments on commit cfb7d8d

Please sign in to comment.