Skip to content

Commit

Permalink
cleanup and support files
Browse files Browse the repository at this point in the history
  • Loading branch information
astanziola committed Apr 11, 2022
1 parent 02d9e80 commit 8d2ec6b
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,11 @@

# Environment
.venv

# Packaging
.eggs
*.egg
*.egg-info

# Python
*__pycache__
3 changes: 3 additions & 0 deletions mypy.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[mypy]
python_version = 3.7
show_error_codes = True
13 changes: 13 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

[tool.pycln]
all = true

[tool.mypy]
ignore_missing_imports = true

[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
5 changes: 5 additions & 0 deletions requirements-train.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
torch
wandb
addict
scipy
pytest
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ def read_requirements(path):
long_description_content_type="text/markdown",
author="Antonio Stanziola, UCL BUG",
author_email="[email protected]",
packages=find_packages(exclude=["tests", ".github", "docs"]),
python_requires=">=3.7",
packages=find_packages(exclude=["data", ".github", "scripts"]),
python_requires=">=3.8",
install_requires=read_requirements("requirements.txt"),
license="MIT License"
)

0 comments on commit 8d2ec6b

Please sign in to comment.