Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ clean:
setup:
echo "> Installing pre-commit hooks..."
pre-commit install
uv sync --dev

# Run python tests. Docker is required to run the tests.
[group("tests")]
Expand All @@ -39,8 +40,9 @@ mypy:
# Run ruff format
[group("tests")]
format:
echo "> Running ruff format..."
echo "> Running ruff formater and fixer..."
uv run ruff format
uv run ruff check --fix
echo "> Running just format..."
just --fmt --unstable

Expand Down
28 changes: 4 additions & 24 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "python-ntfy"
version = "0.9.0"
description = "An ntfy library aiming for feature completeness"
description = "An easy-to-use library for the ntfy notification service."
readme = "README.md"
license = "MIT"
requires-python = ">=3.12, <3.14"
Expand All @@ -24,7 +24,7 @@ authors = [{ name = "Matthew Cane", email = "matthew.cane0@gmail.com" }]

[project.urls]
Homepage = "https://github.com/matthewcane/python-ntfy"
Documentation = "https://python-ntfy.readthedocs.io/"
Documentation = "https://matthewcane.github.io/python-ntfy/"
Repository = "https://github.com/matthewcane/python-ntfy"
Issues = "https://github.com/matthewcane/python-ntfy/issues"
Changelog = "https://github.com/matthewcane/python-ntfy/releases"
Expand All @@ -37,24 +37,7 @@ build-backend = "uv_build"
module-name = "python_ntfy"
module-root = ""

[tool.uv]
dev-dependencies = [
"mkdocstrings[python]>=0.26.2,<0.31.0",
"mypy>=1.12.0,<2.0.0",
"pytest>=7.4.1,<9.0.0",
"python-dotenv>=1.0.0,<2.0.0",
"pytest-asyncio>=0.21.1,<1.2.0",
"pytest-codecov>=0.5.1,<0.8.0",
"ruff>=0.7,<0.13",
"mkdocs-material>=9.5.41,<10.0.0",
"mkdocstrings-python>=1.12.1,<2.0.0",
"types-pygments>=2.18.0.20240506",
"types-colorama>=0.4.15.20240311",
"types-requests>=2.32.0.20241016",
"types-setuptools>=75.2.0.20241018,<81.0.0.0",
]

[project.optional-dependencies]
[dependency-groups]
dev = [
"mkdocstrings[python]>=0.26.2,<0.31.0",
"mypy>=1.12.0,<2.0.0",
Expand Down Expand Up @@ -142,9 +125,6 @@ disallow_incomplete_defs = false
disallow_untyped_defs = false

[[tool.mypy.overrides]]
module = [
"python_ntfy.client",
"python_ntfy.__init__",
]
module = ["python_ntfy.client", "python_ntfy.__init__"]
disallow_incomplete_defs = true
disallow_untyped_defs = true
35 changes: 1 addition & 34 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.