Spaces:
Sleeping
Sleeping
| [project] | |
| name = "relaiss" | |
| license = {file = "LICENSE"} | |
| readme = "README.md" | |
| authors = [ | |
| { name = "Evan Reynolds"}, | |
| { name = "Alex Gagliano", email = "[email protected]" }, | |
| { name = "Ashley Villar", email = "[email protected]"} | |
| ] | |
| classifiers = [ | |
| "Development Status :: 4 - Beta", | |
| "License :: OSI Approved :: MIT License", | |
| "Intended Audience :: Developers", | |
| "Intended Audience :: Science/Research", | |
| "Operating System :: OS Independent", | |
| "Programming Language :: Python", | |
| ] | |
| dynamic = ["version"] | |
| requires-python = ">=3.8" | |
| dependencies = [ | |
| "ngt", | |
| "numpy", | |
| "matplotlib", | |
| "pandas", | |
| "scipy", | |
| "requests", | |
| "sfdmap; python_version < '3.9'", | |
| "sfdmap2; python_version >= '3.9'", | |
| "matplotlib>=3.5", | |
| "astropy>=5.0", | |
| "kneed", | |
| "seaborn", | |
| "statsmodels", | |
| "scikit-learn>=1.3", | |
| "gdown", | |
| "pyod", | |
| "corner", | |
| "dust-extinction", | |
| "astro-prost", | |
| "absl-py<2", | |
| "marshmallow<4", | |
| "antares-client" | |
| ] | |
| [project.urls] | |
| "Source Code" = "https://github.com/evan-reynolds/re-laiss/" | |
| [project.optional-dependencies] | |
| dev = [ | |
| "asv==0.6.4", # Used to compute performance benchmarks | |
| "jupyter", # Clears output from Jupyter notebooks | |
| "pre-commit", # Used to run checks before finalizing a git commit | |
| "pytest", | |
| "pytest-cov", # Used to report total code coverage | |
| "ruff", # Used for static linting of files | |
| ] | |
| [build-system] | |
| requires = [ | |
| "setuptools>=62", # Used to build and package the Python project | |
| "setuptools_scm>=6.2", # Gets release version from git. Makes it available programmatically | |
| ] | |
| build-backend = "setuptools.build_meta" | |
| [tool.setuptools] | |
| include-package-data = true | |
| [tool.setuptools.package-data] | |
| "relaiss" = ["data/*csv*"] | |
| [tool.setuptools_scm] | |
| write_to = "src/relaiss/_version.py" | |
| version_scheme = "only-version" | |
| local_scheme = "no-local-version" | |
| [tool.pytest.ini_options] | |
| testpaths = [ | |
| "tests", | |
| ] | |
| [tool.black] | |
| line-length = 110 | |
| target-version = ["py39"] | |
| [tool.isort] | |
| profile = "black" | |
| line_length = 110 | |
| [tool.ruff] | |
| line-length = 110 | |
| target-version = "py39" | |
| [tool.ruff.lint] | |
| select = [ | |
| # pycodestyle | |
| "E", | |
| "W", | |
| # Pyflakes | |
| "F", | |
| # pep8-naming | |
| "N", | |
| # pyupgrade | |
| "UP", | |
| # flake8-bugbear | |
| "B", | |
| # flake8-simplify | |
| "SIM", | |
| # isort | |
| "I", | |
| # docstrings | |
| "D101", | |
| "D102", | |
| "D103", | |
| "D106", | |
| "D206", | |
| "D207", | |
| "D208", | |
| "D300", | |
| "D417", | |
| "D419", | |
| # Numpy v2.0 compatibility | |
| "NPY201", | |
| ] | |
| ignore = [ | |
| "UP006", # Allow non standard library generics in type hints | |
| "UP007", # Allow Union in type hints | |
| "SIM114", # Allow if with same arms | |
| "B028", # Allow default warning level | |
| "SIM117", # Allow nested with | |
| "UP015", # Allow redundant open parameters | |
| "UP028", # Allow yield in for loop | |
| ] | |
| [tool.coverage.run] | |
| omit=["src/relaiss/_version.py"] | |