Skip to content

Commit

Permalink
Configure tox
Browse files Browse the repository at this point in the history
  • Loading branch information
cachitas committed Apr 7, 2024
1 parent aadbfcd commit fe22a02
Show file tree
Hide file tree
Showing 4 changed files with 144 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
3.8
3.9
3.10
3.11
3.12
128 changes: 125 additions & 3 deletions pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 7 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name = "stringx"
description = "STRING DB API Client"
authors = [{ name = "Hugo Cachitas", email = "hcachitas@gmail.com" }]
dependencies = ["httpx>=0.27.0"]
requires-python = ">=3.9"
requires-python = ">=3.10"
readme = "README.md"
keywords = [
"string",
Expand All @@ -32,10 +32,10 @@ classifiers = [
"Topic :: Software Development :: Build Tools",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
# "Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
# "Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Typing :: Typed",
Expand All @@ -54,12 +54,16 @@ dev = [
"pytest-httpx>=0.30.0",
"ruff>=0.3.5",
"mypy>=1.9.0",
"tox-pdm>=0.7.2",
]

[tool.pdm.version]
source = "file"
path = "src/stringx/client.py"

[tool.pdm.scripts]
test = "pytest -v tests/"

[tool.ruff]
lint.select = [
"B", # flake8-bugbear
Expand Down
7 changes: 7 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[tox]
min_version = 4.0
envlist = py3{9,10,11,12}

[testenv]
groups = dev
commands = test

0 comments on commit fe22a02

Please sign in to comment.