[build-system] requires = ["setuptools", "setuptools_scm", "wheel"] build-backend = "setuptools.build_meta" [project] name = "apple" description = "Simplest experiment for showing forgetting" license = { text = "Proprietary" } authors = [{name = "BartekCupial", email = "bartlomiej.cupial@student.uj.edu.pl" }] dynamic = ["version"] requires-python = ">= 3.8, < 3.11" dependencies = [ "numpy ~= 1.23", "typing-extensions ~= 4.3", "gym == 0.23", "torch ~= 1.12", "wandb ~= 0.13", "pandas ~= 1.5", "matplotlib ~= 3.6", "seaborn ~= 0.12", "scipy ~= 1.9", "joblib ~= 1.2", "pygame ~= 2.1", ] [project.optional-dependencies] build = ["build ~= 0.8"] mrunner = ["mrunner @ git+https://gitlab.com/awarelab/mrunner.git"] lint = [ "black ~= 22.6", "autoflake ~= 1.4", "flake8 ~= 4.0", "flake8-pyi ~= 22.5", "flake8-docstrings ~= 1.6", "pyproject-flake8 ~= 0.0.1a4", "isort ~= 5.10", "pre-commit ~= 2.20", ] test = [ "pytest ~= 7.1", "pytest-cases ~= 3.6", "pytest-cov ~= 3.0", "pytest-xdist ~= 2.5", "pytest-sugar ~= 0.9", "hypothesis ~= 6.54", ] dev = [ "apple[mrunner]", "apple[build]", "apple[lint]", "apple[test]", ] [project.urls] "Source" = "https://github.com/BartekCupial/apple" [tool.black] line_length = 120 [tool.flake8] extend_exclude = [".venv/", "build/", "dist/", "docs/"] per_file_ignores = ["**/_[a-z]*.py:D", "tests/*.py:D", "*.pyi:D"] ignore = [ # Handled by black "E", # pycodestyle "W", # pycodestyle "D", ] ignore_decorators = "property" # https://github.com/PyCQA/pydocstyle/pull/546 [tool.isort] profile = "black" line_length = 120 order_by_type = true lines_between_types = 1 combine_as_imports = true force_grid_wrap = 2 [tool.pytest.ini_options] testpaths = "tests" addopts = """ -n auto -ra --tb short --doctest-modules --junit-xml test-results.xml --cov-report term-missing:skip-covered --cov-report xml:coverage.xml """