diff --git a/pyproject.toml b/pyproject.toml deleted file mode 100644 index 3f70f37..0000000 --- a/pyproject.toml +++ /dev/null @@ -1,86 +0,0 @@ -[build-system] -requires = [ "setuptools", "setuptools_scm" ] -build-backend = "setuptools.build_meta" - -[project] -name = "ts_imsim" -description = "Package to create Rubin AOS simulations with imSim." -license = { text = "GPL" } -classifiers = [ "Programming Language :: Python :: 3" ] -urls = { documentation = "https://jira.lsstcorp.org/secure/Dashboard.jspa", repository = "https://github.com/lsst-ts/ts_imsim" } -dynamic = [ "version" ] - -[tools.setuptools] -package-data = { "" = "*.csv"} - -[tool.setuptools.dynamic] -version = { attr = "setuptools_scm.get_version" } - -[tool.setuptools.packages.find] -where = [ "python" ] - -[tool.setuptools_scm] -write_to = "python/lsst/ts/imsim/version.py" -write_to_template = """ -# Generated by setuptools_scm -__all__ = ["__version__"] -__version__ = "{version}" -""" - -[tool.pytest.ini_options] -asyncio_mode = "auto" - -[tool.mypy] -disallow_untyped_defs = "True" -ignore_missing_imports = "True" -exclude = "version.py" - -[tool.isort] -profile = "black" - -[tool.ruff] -exclude = [ - "__init__.py", -] -ignore = [ - "N802", - "N803", - "N806", - "N812", - "N815", - "N816", - "N999", - "D107", - "D105", - "D102", - "D104", - "D100", - "D200", - "D205", -] -line-length = 110 -select = [ - "E", # pycodestyle - "F", # pyflakes - "N", # pep8-naming - "W", # pycodestyle - "D", # pydocstyle - "UP", # pyupgrade -] -target-version = "py311" -extend-select = [ - "RUF100", # Warn about unused noqa -] - - -[tool.ruff.pycodestyle] -max-doc-length = 79 - - -[tool.ruff.pydocstyle] -convention = "numpy" - -[project.optional-dependencies] -dev = [ - "documenteer[pipelines]", -] \ No newline at end of file