Created
August 24, 2020 22:29
-
-
Save dmyersturnbull/066ed76847816495a1638157e44445f9 to your computer and use it in GitHub Desktop.
bug_pyproject.toml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[metadata] | |
description-file = "README.md" | |
[build-system] | |
requires = ["poetry>=1.0", "coverage[toml]"] | |
build-backend = "poetry.masonry.api" | |
######################################################################################### | |
# Poetry metadata | |
######################################################################################### | |
[tool.poetry] | |
name = "pocketutils" | |
version = "0.1.1" | |
description = "Adorable little Python code for you to copy or import." | |
keywords = ["python", "snippets", "utils", "gists", "bioinformatics"] | |
authors = ["Douglas Myers-Turnbull"] | |
maintainers = ["Douglas Myers-Turnbull"] | |
license = "Apache-2.0" | |
readme = "README.md" | |
homepage = "https://github.com/dmyersturnbull/pocketutils" | |
repository = "https://github.com/dmyersturnbull/pocketutils" | |
documentation = "https://pocketutils.readthedocs.io" | |
classifiers = [ | |
"Development Status :: 4 - Beta", | |
"Natural Language :: English", | |
"License :: OSI Approved :: Apache Software License", | |
"Programming Language :: Python :: 3 :: Only", | |
"Programming Language :: Python :: 3.7", | |
"Programming Language :: Python :: 3.8", | |
"Programming Language :: Python :: 3.9", | |
"Intended Audience :: Developers", | |
"Operating System :: OS Independent", | |
"Topic :: Software Development :: Libraries :: Python Modules" | |
] | |
include = [ | |
"README.md", | |
"LICENSE.txt", | |
"CHANGELOG.md" | |
] | |
[tool.poetry.urls] | |
CI = "https://github.com/dmyersturnbull/pocketutils/actions" | |
Issues = "https://github.com/dmyersturnbull/pocketutils/issues" | |
Download = "https://pypi.org/project/pocketutils/" | |
######################################################################################### | |
# Poetry build & dependencies | |
######################################################################################### | |
[tool.poetry.dependencies] | |
python = ">=3.7, <4" | |
numpy = "^1.18" | |
tomlkit = ">=0.5, <1.0" | |
importlib-metadata = "^1" | |
requests = "^2" | |
dill = "^0.3" | |
jsonpickle = "^1" | |
natsort = "^7" | |
pandas = "^1" | |
joblib = ">=0.16, <1.0" | |
PyMySQL = {version=">=0.10, <1.0", optional=true} | |
peewee = {version=">=3.13, <1.0", optional=true} | |
sshtunnel = {version="0.13, <1.0", optional=true} | |
matplotlib = {version="^3", optional=true} | |
goatools = {version="^1", optional=true} | |
uniprot = {version="^1", optional=true} | |
colorama = {version=">=0.4, <1.0", optional=true} | |
psutil = {version="^5", optional=true} | |
ipython = {version="^7", optional=true} | |
[tool.poetry.dev-dependencies] | |
pre-commit = "^2" | |
pytest = "^6" | |
coverage = {extras = ["toml"], version = "^5"} | |
pytest-cov = "^2" | |
sphinx = "^3" | |
sphinx-autoapi = "^1" | |
sphinx-rtd-theme = "^0" | |
flake8 = "^3" | |
flake8-docstrings = "^1" | |
black = "=19.10b0" | |
isort = "^5" | |
sphinx-autodoc-typehints = "^1" | |
hypothesis = "^5" | |
flake8-bugbear = "^20" | |
coveralls = "^2" | |
tomlkit = ">=0.5, <1.0" | |
[tool.poetry.extras] | |
db = ["PyMySQL", "peewee", "sshtunnel"] | |
plotting = ["matplotlib"] | |
notebooks = ["ipython"] | |
misc = ["colorama", "psutil"] | |
biochem = ["goatools", "uniprot"] | |
dev = [ | |
"pre-commit", "pytest", "coverage", "pytest-cov", "hypothesis", | |
"sphinx", "sphinx-autodoc-typehints", "sphinx-autoapi", | |
"mypy", | |
"flake8", "flake8-docstrings", | |
"black", "isort", | |
"flake8-bugbear" | |
] | |
######################################################################################### | |
# Tyrannosaurus | |
######################################################################################### | |
[tool.tyrannosaurus.options] | |
align = true | |
[tool.tyrannosaurus.sources] | |
status = "'Development'" | |
date = "${today}" | |
copyright = "'Copyright 2016–2020'" | |
version = "tool.poetry.version" | |
release = "tool.poetry.version" | |
pyversions = "tool.poetry.dependencies" | |
devdeps = "tool.poetry.dev-dependencies" | |
linelength = "tool.black.line-length" | |
authors = [ | |
"Douglas Myers-Turnbull <github:dmyersturnbull,orcid:0000-0003-3610-4808>" | |
] | |
contributors = [ | |
"Chris S Ki <github:chriski777>", | |
"Cole Helsell <github:chelsell,orcid:0000-0002-8869-3125>" | |
] | |
maintainers = "tool.tyrannosaurus.sources.authors" | |
[tool.tyrannosuarus.paths] | |
recipe = "'recipes/pocketutils/meta.yml'" | |
environment = "'environment.yml'" | |
[tool.tyrannosaurus.targets] | |
pyproject = true | |
init = true | |
tox = true | |
docs = true | |
recipes = true | |
license = true | |
authors = true | |
github = true | |
travis = true | |
dockerfile = true | |
readme = true | |
changelog = true | |
citation = true | |
codemeta = true | |
environment = false | |
######################################################################################### | |
# Style checking | |
######################################################################################### | |
[tool.coverage.paths] | |
source = ["pocketutils"] | |
[tool.coverage.run] | |
source = ["pocketutils"] | |
[tool.coverage.report] | |
show_missing = true | |
[tool.black] | |
line-length = 100 | |
target-version = ["py37", "py38"] | |
[tool.isort] | |
line_length = 100 | |
[mypy] | |
check_untyped_defs = true | |
strict_optional = true | |
[pycodestyle] | |
max-line-length = 100 | |
statistics = true | |
[pydocstyle] | |
# 212 and 213 contradict; 203 and 204 contradict; D302 is not relevant in Py3 | |
ignore = ["D203", "D212", "D302"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment