Skip to content

Commit

Permalink
pyproject: drop setuptools from lint dependencies (#875)
Browse files Browse the repository at this point in the history
  • Loading branch information
woodruffw authored Jan 22, 2025
1 parent bd25e9f commit 6d88bd6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
schedule:
- cron: '0 12 * * *'

permissions: {}

jobs:
test:
strategy:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
branches:
- main

permissions: {}

jobs:
build:
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
- main
pull_request:

permissions: {}

jobs:
lint:
runs-on: ubuntu-latest
Expand Down
7 changes: 2 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,13 @@ test = [
]
lint = [
"ruff ~= 0.9",
# HACK(ww): interrogate needs setuptools to provide `pkg_resources` on Python 3.12+;
# remove this when https://github.com/econchick/interrogate/issues/164 is resolved.
"setuptools",
"interrogate",
"interrogate ~= 1.6",
"mypy",
"types-requests",
"types-toml",
]
doc = ["pdoc"]
dev = ["build", "bump>=1.3.2", "pip-audit[doc,test,lint]"]
dev = ["build", "pip-audit[doc,test,lint]"]

[project.scripts]
pip-audit = "pip_audit._cli:audit"
Expand Down

0 comments on commit 6d88bd6

Please sign in to comment.