Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Compile development dependencies with uv compile #1969

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
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
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@

# Language aware diff headers
*.py diff=python

# Autogenerated files
dev-requirements/*.txt linguist-generated=true
25 changes: 25 additions & 0 deletions .github/workflows/check-dependency-updates.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Dependency Locks Check

on:
pull_request:
paths:
- dev-requirements/*

jobs:
check-locks:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup python
uses: actions/setup-python@v5
with:
python-version: 3.8

- name: Check dependency locks
run: |
pip install -r dev-requirements.txt

nox -s check-dependency-locks
1 change: 1 addition & 0 deletions dev-requirements/audit.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pip-audit==2.7.3
269 changes: 268 additions & 1 deletion dev-requirements/audit.txt

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions dev-requirements/build.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
setuptools>=65.2.0
wheel==0.43.0
12 changes: 10 additions & 2 deletions dev-requirements/build.txt

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

1 change: 1 addition & 0 deletions dev-requirements/codespell.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
codespell==2.3.0
7 changes: 6 additions & 1 deletion dev-requirements/codespell.txt

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

1 change: 1 addition & 0 deletions dev-requirements/coverage.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
coverage[toml]==7.6.0
61 changes: 60 additions & 1 deletion dev-requirements/coverage.txt

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

24 changes: 24 additions & 0 deletions dev-requirements/flake8.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
flake8==7.1.0

# Plugins
# Ref: https://github.com/DmytroLitvinov/awesome-flake8-extensions

flake8-bandit~=4.1.1 # runs bandit
flake8-black==0.3.6 # runs black
flake8-builtins==2.5.0 # builtin shadowing checks
flake8-coding==1.3.2 # coding magic-comment detection
flake8-comprehensions==3.15.0 # comprehension checks
flake8-docstrings==1.7.0 # pydocstyle support
flake8-executable==2.1.3 # shebangs
flake8-fixme==1.1.1 # "fix me" counter
flake8-functions==0.0.8 # function linting
flake8-html==0.4.3 # html output
flake8-isort==6.1.1 # runs isort
flake8-mutable==1.2.0 # mutable default argument detection
flake8-pep3101==2.1.0 # new-style format strings only
flake8-print==5.0.0 # complain about print statements in code
flake8-printf-formatting==1.1.2 # forbey printf-style python2 string formatting
flake8-pytest-style==2.0.0 # pytest checks
flake8-raise==0.0.5 # exception raising linting
flake8-use-fstring==1.4 # format string checking
flake8-noqa==1.4.0 # validate noqa commands
Loading
Loading