Skip to content

Commit cfb7d8d

Browse files
authored
added refactored readme file (#125)
* 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
1 parent 09deb8b commit cfb7d8d

File tree

6 files changed

+716
-557
lines changed

6 files changed

+716
-557
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
./data
2+
wandb/
3+
lightning_logs/
4+
*.pth
25
# Byte-compiled / optimized / DLL files
36
__pycache__/
47
*.py[cod]

.pre-commit-config.yaml

+9
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11
repos:
2+
- repo: local
3+
hooks:
4+
- id: update-requirements-txt
5+
name: update-requirements-txt
6+
description: 'Generate requirements.txt based on poetry.lock'
7+
entry: poetry
8+
args: [export, --format, requirements.txt, --output, requirements.txt]
9+
language: system
10+
pass_filenames: false
211
- repo: https://github.com/pre-commit/pre-commit-hooks
312
rev: v4.4.0
413
hooks:

0 commit comments

Comments
 (0)