Skip to content

Commit

Permalink
remove unneeded dev deps (#4)
Browse files Browse the repository at this point in the history
* remove unneeded dev deps

Signed-off-by: William Woodruff <william@trailofbits.com>

* pyproject: whitespace

Signed-off-by: William Woodruff <william@trailofbits.com>

* pyproject: bump ruff

Signed-off-by: William Woodruff <william@trailofbits.com>

* pyproject: remove another cli reference

Signed-off-by: William Woodruff <william@trailofbits.com>

* pyproject: classifiers

Signed-off-by: William Woodruff <william@trailofbits.com>

---------

Signed-off-by: William Woodruff <william@trailofbits.com>
  • Loading branch information
woodruffw authored Mar 6, 2024
1 parent 409c423 commit 7fb24b9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 16 deletions.
3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 :=

Expand Down
21 changes: 8 additions & 13 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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"
Expand All @@ -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
Expand All @@ -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

0 comments on commit 7fb24b9

Please sign in to comment.