Skip to content

Commit 78c01d9

Browse files
authored
Update project config (#9)
* docs: add development notes * fix: update project config, using dependency groups for dev deps * bump version to 0.3.1
1 parent 0591649 commit 78c01d9

File tree

3 files changed

+108
-58
lines changed

3 files changed

+108
-58
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,3 +114,18 @@ The HTML equivalent is:
114114
## Existing python alternatives
115115
- [pyhiccup](https://github.com/nbessi/pyhiccup)
116116
- [piccup](https://github.com/alexjuda/piccup)
117+
118+
119+
## Development
120+
121+
Running lint:
122+
123+
``` shell
124+
uv run ruff check
125+
```
126+
127+
Running tests:
128+
129+
``` shell
130+
uv run pytest
131+
```

pyproject.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,11 @@
11
[project]
22
name = "python-hiccup"
3-
version = "0.3.0"
3+
version = "0.3.1"
44
description = "Python Hiccup is a library for representing HTML using plain Python data structures"
55
readme = "README.md"
66
requires-python = ">=3.10"
77
dependencies = []
88

9-
[tool.uv]
10-
dev-dependencies = [
11-
"mypy>=1.11.2",
12-
"pytest>=8.3.3",
13-
"ruff>=0.6.9",
14-
]
15-
169
[tool.ruff]
1710
lint.select = ["ALL"]
1811
lint.ignore = ["COM812", "ISC001", "D203", "D213"]
@@ -26,3 +19,10 @@ line-length = 100
2619
[build-system]
2720
requires = ["hatchling"]
2821
build-backend = "hatchling.build"
22+
23+
[dependency-groups]
24+
dev = [
25+
"mypy>=1.13.0",
26+
"pytest>=8.3.4",
27+
"ruff>=0.8.3",
28+
]

0 commit comments

Comments
 (0)