Skip to content

Commit 462b2b8

Browse files
committed
♻️ Update CI workflow and Makefile to remove pyright and install extra dependencies
1 parent 26d3b72 commit 462b2b8

File tree

4 files changed

+4
-29
lines changed

4 files changed

+4
-29
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ jobs:
4848
with:
4949
enable-cache: true
5050

51+
- name: Install Extra Dependencies
52+
run: make install
53+
5154
- run: mkdir coverage
5255
- run: uv run --frozen coverage run -m pytest
5356
env:

Makefile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@ lint:
2424
uv run ruff format --check
2525
uv run ruff check
2626

27-
.PHONY: typecheck
28-
typecheck:
29-
uv run pyright
30-
3127
.PHONY: test
3228
test:
3329
uv run pytest
@@ -49,4 +45,4 @@ testcov:
4945
@uv run coverage html
5046

5147
.PHONY: all
52-
all: format lint typecheck testcov
48+
all: format lint testcov

pyproject.toml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ lint = [
7575
"pre-commit>=3.5.0",
7676
"ruff>=0.7.4",
7777
"mypy>=0.910",
78-
"pyright>=1.1.389",
7978
"annotated-types>=0.7.0",
8079
"types-pytz>=2024.1.0.20240417",
8180
]
@@ -137,7 +136,6 @@ exclude_lines = [
137136
'@overload',
138137
]
139138

140-
141139
[tool.mypy]
142140
strict = true
143141
plugins = 'pydantic.mypy'
@@ -156,10 +154,3 @@ filterwarnings = [
156154
[tool.hooky]
157155
reviewers = ['yezz123', 'Kludex']
158156
require_change_file = false
159-
160-
[tool.pyright]
161-
#typeCheckingMode = "strict"
162-
reportUnnecessaryTypeIgnoreComment = true
163-
reportMissingTypeStubs = false
164-
include = ["pydantic_extra_types"]
165-
venvPath = ".venv"

uv.lock

Lines changed: 0 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)