File tree 3 files changed +24
-18
lines changed
3 files changed +24
-18
lines changed Original file line number Diff line number Diff line change 26
26
with :
27
27
python-version-file : " pyproject.toml"
28
28
- name : Install the project
29
- run : uv sync --all-extras --dev
29
+ run : make install
30
30
# https://docs.astral.sh/ruff/integrations
31
- - name : Run Ruff
32
- run : uv run ruff check --output-format=github .
31
+ - name : Run Check
32
+ run : make check
33
33
- name : Run Format
34
- run : uv run ruff format --diff
34
+ run : make format
Original file line number Diff line number Diff line change @@ -9,15 +9,17 @@ pipx-uninstall:
9
9
pipx uninstall linear
10
10
.PHONY : pipx-uninstall
11
11
12
- test :
13
- poetry run pytest linear
14
- .PHONY : test
15
-
16
12
clean : pipx-uninstall
17
13
.PHONY : clean
18
14
19
- build : clean
20
- poetry build
15
+ install :
16
+ uv sync --all-extras --dev
17
+ .PHONY : install
18
+
19
+ check :
20
+ uv run ruff check --output-format=github .
21
+ .PHONY : check
21
22
22
- release : build test
23
- gh release create v$(VERSION ) --generate-notes
23
+ format :
24
+ uv run ruff format --diff
25
+ .PHONY : format
Original file line number Diff line number Diff line change @@ -6,26 +6,30 @@ authors = [{ name="Caspar Nettelbladt", email="
[email protected] " }]
6
6
license = " MIT"
7
7
readme = " README.md"
8
8
requires-python = " >=3.12"
9
+ package = " linear"
9
10
dependencies = [
10
11
" requests>=2.32.3" ,
11
12
" colorama>=0.4.6" ,
12
13
" pygments>=2.18.0" ,
13
14
" click>=8.1.7" ,
14
15
" tabulate>=0.9.0" ,
15
16
]
16
- package = " linear"
17
+
18
+ [dependency-groups ]
19
+ dev = [
20
+ " ruff>=0.8.4" ,
21
+ " pyright>=1.1.386" ,
22
+ " pytest>=8.3.3" ,
23
+ " pytest-asyncio>=0.24.0" ,
24
+ " coverage>=7.6.4" ,
25
+ ]
17
26
18
27
[project .scripts ]
19
28
li = " linear.cli:cli"
20
29
21
30
[tool .pyright ]
22
31
venvPath = " .venv"
23
32
24
- [tool .uv ]
25
- dev-dependencies = [
26
- " ruff>=0.8.4" ,
27
- ]
28
-
29
33
[build-system ]
30
34
requires = [" hatchling" ]
31
35
build-backend = " hatchling.build"
You can’t perform that action at this time.
0 commit comments