Skip to content

Commit

Permalink
chore: update deps
Browse files Browse the repository at this point in the history
Signed-off-by: Jack Cherng <jfcherng@gmail.com>
  • Loading branch information
jfcherng committed May 26, 2024
1 parent 89cc841 commit 34cdbe3
Show file tree
Hide file tree
Showing 9 changed files with 40 additions and 12 deletions.
5 changes: 4 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
.gitattributes export-ignore
.github/ export-ignore
.gitignore export-ignore
.gitmodules export-ignore
.style.yapf export-ignore
.travis.yml export-ignore
codecov.yml export-ignore
Expand All @@ -12,7 +13,9 @@ Makefile export-ignore
mkdocs.yml export-ignore
mypy.ini export-ignore
pyproject.toml export-ignore
requirements.txt export-ignore
pyrightconfig.json export-ignore
requirements-* export-ignore
requirements.* export-ignore
scripts/ export-ignore
stubs/ export-ignore
tests/ export-ignore
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ jobs:
os: ['ubuntu-latest']
python-version: ['3.8']

env:
UV_SYSTEM_PYTHON: 1

steps:
- uses: actions/checkout@v4
with:
Expand All @@ -47,5 +50,4 @@ jobs:
- name: Do linting
run: |
make UV_INSTALL_FLAGS="--system" \
install ci-check
make install ci-check
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,14 @@ all:
install:
uv pip install $(UV_INSTALL_FLAGS) -r requirements.txt

.PHONY: install-dev
install-dev:
uv pip install $(UV_INSTALL_FLAGS) -r requirements-dev.txt

.PHONY: pip-compile
pip-compile:
uv pip compile --upgrade requirements.in -o requirements.txt
uv pip compile --upgrade requirements-dev.in -o requirements-dev.txt

.PHONY: ci-check
ci-check:
Expand Down
7 changes: 7 additions & 0 deletions dependencies.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"*": {
"*": [
"typing-extensions"
]
}
}
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ exclude = [
]

[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP"]
select = ["E", "F", "W", "I", "UP", "FURB"]
ignore = ["E203"]

[tool.ruff.lint.per-file-ignores]
Expand Down
4 changes: 4 additions & 0 deletions requirements-dev.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-r requirements.in

mypy
ruff>=0.4
12 changes: 12 additions & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# This file was autogenerated by uv via the following command:
# uv pip compile requirements-dev.in -o requirements-dev.txt
mypy==1.10.0
# via -r requirements-dev.in
mypy-extensions==1.0.0
# via mypy
ruff==0.4.5
# via -r requirements-dev.in
typing-extensions==4.12.0
# via
# -r requirements.in
# mypy
3 changes: 1 addition & 2 deletions requirements.in
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
mypy
ruff>=0.3
typing-extensions>=4.12
8 changes: 2 additions & 6 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
# This file was autogenerated by uv via the following command:
# uv pip compile requirements.in -o requirements.txt
mypy==1.9.0
mypy-extensions==1.0.0
# via mypy
ruff==0.3.5
typing-extensions==4.11.0
# via mypy
typing-extensions==4.12.0
# via -r requirements.in

0 comments on commit 34cdbe3

Please sign in to comment.