Skip to content

Commit

Permalink
Fix integrate modules (#61)
Browse files Browse the repository at this point in the history
* change package structure
* remove synthetic data init imports
* format setup.py
  • Loading branch information
LeonieFreisinger authored Nov 24, 2023
1 parent 32e4b16 commit 35ac96a
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 5 deletions.
2 changes: 0 additions & 2 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@ isort>=5.11.5, <6.0.0
pyright
pytest>=7.2.2, <8.0.0
pytest-cov>=4.0.0, <5.0.0


8 changes: 8 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
[flake8]
max-line-length = 120
extend-ignore = E203,E501

[options]
packages =
tot
tot.data_processing
tot.datasets
tot.evaluation
tot.synthetic_data
12 changes: 10 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,13 @@
exec(f.read())

setuptools.setup(
name="test-of-time",
name="tot",
version=__version__,
description="Evaluate forecasting models",
author="Oskar Triebe",
author_email="[email protected]",
url="https://github.com/ourownstory/test-of-time",
license="MIT",
packages=["tot"],
python_requires=">=3.6",
install_requires=requirements,
extras_require={
Expand All @@ -35,6 +34,15 @@
long_description=readme,
long_description_content_type="text/markdown",
include_package_data=True,
packages=[ # add all packages
"tot",
"tot.models",
"tot.datasets",
"tot.synthetic_data",
"tot.evaluation",
"tot.data_processing",
"tot.evaluation",
],
classifiers=[
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
Expand Down
1 change: 0 additions & 1 deletion tot/data_processing/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
from .scaler import Scaler # noqa: F401 to evade flake8
Empty file added tot/evaluation/__init__.py
Empty file.

0 comments on commit 35ac96a

Please sign in to comment.