[build-system] requires = ["flit_core>=3.2,<4"] build-backend = "flit_core.buildapi" [project] name = "conda_helpers" readme = "README.md" license = { file = "LICENSE" } requires-python = ">=3.9" dynamic = ["version", "description"] authors = [ {name = "Holger Frey", email = "frey@imtek.de"}, ] # see https://pypi.org/classifiers/ classifiers = [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3 :: Only", "License :: Freely Distributable", ] dependencies = [ "pandas", "scikit-learn", ] [project.urls] Source = "https://git.cpi.imtek.uni-freiburg.de/holgi/conda_helpers.git" # [project.scripts] # script_name = "conda_helpers:function" [project.optional-dependencies] dev = [ "black", "flit", "keyring", "pre-commit", "ruff", ] docs = [ "mkdocs", "mkdocstrings[python]", ] test = [ "nox", "pytest >=4.0.0", "pytest-cov", "pytest-icdiff", "pytest-mock", "pytest-randomly", ] [tool.pytest.ini_options] markers = [ "functional: marks tests as functional (deselect with '-m \"not functional\"')", ] addopts = [ "--strict-markers", "--strict-config", "--showlocals", "-ra", ] [tool.black] line-length = 79 target-version = ['py39', 'py310'] include = '\.pyi?$' extend-exclude = ''' # A regex preceded with ^/ will apply only to files and directories # in the root of the project. ^/.git ^/.tox ^/.venv ^/.build ^/.dist ''' [tool.ruff] # see https://github.com/charliermarsh/ruff select = ["ALL"] ignore = [ # ignored for now, should be activated in the future # docstrings "D", # flake8-annotations "ANN", # flake8-type-checking "TCH", # ignored, "black" will handle this # flake8-commas "COM", # ignored, due to Windows / WSL2 setup # flake8-executable "EXE", ] fixable = ["I"] fix = true line-length=79 target-version = "py38" [tool.ruff.per-file-ignores] # see https://github.com/charliermarsh/ruff "tests/*" = ["FBT003", "INP001", "PLR2004", "S101", "SLF001"] [tool.ruff.pydocstyle] convention = "pep257" # Accepts: "google", "numpy", or "pep257".