From 7fb24b9c81443a5289038410e607758379035119 Mon Sep 17 00:00:00 2001 From: William Woodruff Date: Wed, 6 Mar 2024 17:28:01 -0500 Subject: [PATCH] remove unneeded dev deps (#4) * remove unneeded dev deps Signed-off-by: William Woodruff * pyproject: whitespace Signed-off-by: William Woodruff * pyproject: bump ruff Signed-off-by: William Woodruff * pyproject: remove another cli reference Signed-off-by: William Woodruff * pyproject: classifiers Signed-off-by: William Woodruff --------- Signed-off-by: William Woodruff --- Makefile | 3 --- pyproject.toml | 21 ++++++++------------- 2 files changed, 8 insertions(+), 16 deletions(-) diff --git a/Makefile b/Makefile index 7cf2bfd..c807619 100644 --- a/Makefile +++ b/Makefile @@ -14,9 +14,6 @@ ifeq ($(OS),Windows_NT) VENV_BIN := $(VENV)/Scripts endif -# Optionally overridden by the user in the `release` target. -BUMP_ARGS := - # Optionally overridden by the user in the `test` target. TESTS := diff --git a/pyproject.toml b/pyproject.toml index b0ebcf1..0da769a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,26 +10,26 @@ readme = "README.md" license = { file = "LICENSE" } authors = [{ name = "Trail of Bits", email = "opensource@trailofbits.com" }] classifiers = [ - "Programming Language :: Python :: 3", + "Development Status :: 4 - Beta", "License :: OSI Approved :: Apache Software License", + "Programming Language :: Python :: 3", + "Topic :: File Formats :: JSON", + "Topic :: Security :: Cryptography", ] dependencies = [] requires-python = ">=3.10" [project.optional-dependencies] doc = ["pdoc"] -test = ["pytest", "pytest-cov", "pretend", "coverage[toml]"] +test = ["pytest", "pytest-cov", "coverage"] lint = [ # NOTE: ruff is under active development, so we pin conservatively here # and let Dependabot periodically perform this update. - "ruff ~= 0.2", + "ruff ~= 0.3", "mypy >= 1.0", - "types-html5lib", - "types-requests", - "types-toml", "interrogate", ] -dev = ["rfc8785[doc,test,lint]", "twine", "wheel", "build"] +dev = ["rfc8785[doc,test,lint]", "build"] [project.urls] @@ -41,10 +41,6 @@ Source = "https://github.com/trailofbits/rfc8785" [tool.flit.module] name = "rfc8785" -[tool.coverage.run] -# don't attempt code coverage for the CLI entrypoints -omit = ["src/rfc8785/_cli.py"] - [tool.mypy] mypy_path = "src" packages = "rfc8785" @@ -71,7 +67,6 @@ line-length = 100 select = ["E", "F", "I", "W", "UP"] [tool.ruff.lint.per-file-ignores] - "test/**/*.py" = [ "D", # no docstrings in tests "S101", # asserts are expected in tests @@ -80,6 +75,6 @@ select = ["E", "F", "I", "W", "UP"] [tool.interrogate] # don't enforce documentation coverage for packaging, testing, the virtual # environment, or the CLI (which is documented separately). -exclude = ["env", "test", "src/rfc8785/_cli.py"] +exclude = ["env", "test"] ignore-semiprivate = true fail-under = 100