Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

build: move remaining configs out of setup.cfg #73

Merged
merged 1 commit into from
Sep 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 24 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,30 +24,46 @@ keywords = [
"HGVS",
"variation"
]
dynamic = ["version", "optional-dependencies"]

dynamic = ["version"]
dependencies = [
"attrs",
"requests",
"urllib3~=1.26",
]

[project.optional-dependencies]
dev = [
"bandit~=1.7",
"build~=0.8",
"flake8~=4.0",
"ipython~=8.4",
"isort~=5.10",
"mypy",
"pylint~=2.14",
"ruff == 0.4.4",
]
test = [
"pytest~=7.1",
"pytest-cov~=4.0",
"pytest-optional-tests",
"tox~=3.25",
"vcrpy",
]
docs = ["mkdocs"]

[project.urls]
"Homepage" = "https://github.com/biocommons/bioutils"
"Bug Tracker" = "https://github.com/biocommons/bioutils/issues"

[build-system]
requires = [
"setuptools >= 69.0",
"setuptools_scm[toml] >= 8.0"
]
requires = ["setuptools >= 70.1", "setuptools_scm[toml] ~= 8.1"]
build-backend = "setuptools.build_meta"

[tool.setuptools.package-data]
"*" = ["_data/*/*.json.gz"]

[tool.setuptools_scm]


# https://docs.pytest.org/en/6.2.x/customize.html#pyproject-toml
[tool.pytest.ini_options]
addopts = "-s -v -x --strict-markers -m 'not extra' --doctest-modules --cov=src"
doctest_optionflags = [
Expand All @@ -65,7 +81,6 @@ testpaths = [
"tests"
]


[tool.coverage.run]
branch = true
source = ["biocommons.example"]
Expand Down
55 changes: 0 additions & 55 deletions setup.cfg

This file was deleted.

13 changes: 13 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,16 @@ deps =
pytest-cov
whitelist_externals =
make

[flake8]
ignore = E129,E133,E203,E221,E241,E251,E303,E266,H106,H904,W291
max-line-length = 120
max-complexity = 15
hang-closing = true
exclude =
.eggs
.tox
build
dist
docs/conf.py
tests/*
Loading