Skip to content

Commit

Permalink
Update project config (#9)
Browse files Browse the repository at this point in the history
* docs: add development notes

* fix: update project config, using dependency groups for dev deps

* bump version to 0.3.1
  • Loading branch information
DavidVujic authored Dec 15, 2024
1 parent 0591649 commit 78c01d9
Show file tree
Hide file tree
Showing 3 changed files with 108 additions and 58 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,3 +114,18 @@ The HTML equivalent is:
## Existing python alternatives
- [pyhiccup](https://github.com/nbessi/pyhiccup)
- [piccup](https://github.com/alexjuda/piccup)


## Development

Running lint:

``` shell
uv run ruff check
```

Running tests:

``` shell
uv run pytest
```
16 changes: 8 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
[project]
name = "python-hiccup"
version = "0.3.0"
version = "0.3.1"
description = "Python Hiccup is a library for representing HTML using plain Python data structures"
readme = "README.md"
requires-python = ">=3.10"
dependencies = []

[tool.uv]
dev-dependencies = [
"mypy>=1.11.2",
"pytest>=8.3.3",
"ruff>=0.6.9",
]

[tool.ruff]
lint.select = ["ALL"]
lint.ignore = ["COM812", "ISC001", "D203", "D213"]
Expand All @@ -26,3 +19,10 @@ line-length = 100
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[dependency-groups]
dev = [
"mypy>=1.13.0",
"pytest>=8.3.4",
"ruff>=0.8.3",
]
Loading

0 comments on commit 78c01d9

Please sign in to comment.