Ignore temp scripts and temp folder

This commit is contained in:
Dominik Jain 2023-10-12 13:10:54 +02:00
parent 686fd555b0
commit ee3813b09c
2 changed files with 6 additions and 2 deletions

6
.gitignore vendored
View File

@ -151,4 +151,8 @@ wandb/
videos/
# might be needed for IDE plugins that can't read ruff config
.flake8
.flake8
# temporary scripts (for ad-hoc testing), temp folder
/temp
/temp*.py

View File

@ -104,7 +104,7 @@ warn_redundant_casts = true
warn_unreachable = true
warn_unused_configs = true
warn_unused_ignores = true
exclude = "^build/|^docs/|^tianshou/utils/(string|logging).py"
exclude = "^build/|^docs/|^tianshou/utils/(string|logging).py|^temp*.py"
[tool.doc8]
max-line-length = 1000