Skip to content

Commit

Permalink
use uv
Browse files Browse the repository at this point in the history
  • Loading branch information
nickmoreton committed Dec 17, 2024
1 parent 8fd559d commit 6f80295
Show file tree
Hide file tree
Showing 3 changed files with 590 additions and 21 deletions.
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.11
47 changes: 26 additions & 21 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,33 +1,38 @@
[tool.poetry]
[project]
name = "dependency-checker"
version = "0.1.0"
description = ""
authors = ["Nick Moreton <[email protected]>"]
authors = [
{ name = "Nick Moreton", email = "[email protected]" }
]
readme = "README.md"
packages = [{include = "src"}]

[tool.poetry.dependencies]
python = "^3.9"
requests = "^2.31.0"
click = "^8.1.7"
tomli = "^2.0.1"
rich = "^13.7.1"
requires-python = ">=3.11"
dependencies = [
"click>=8.1.7",
"requests>=2.32.3",
"rich>=13.9.4",
"tomli>=2.2.1",
]

[dependency-groups]
dev = [
"black>=24.10.0",
"flake8>=7.1.1",
"isort>=5.13.2",
"pre-commit>=4.0.1",
"pytest>=8.3.4",
"pytest-cov>=6.0.0",
]

[tool.poetry.group.dev.dependencies]
isort = "^5.13.2"
flake8 = "^7.1.1"
black = "^24.10.0"
pre-commit = "^3.7.0"
pytest = "^8.1.1"
pytest-cov = "^5.0.0"
[project.scripts]
check = "src.main:cli"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.poetry.scripts]
check = "src.main:cli"
[tool.hatch.build.targets.wheel]
packages = ["src"]

[tool.pytest.ini_options]
addopts = "-ra -q --cov=src --cov-report=term-missing --cov-report=html"
Expand Down
Loading

0 comments on commit 6f80295

Please sign in to comment.