Skip to content

Commit 9eae90d

Browse files
committed
!squash
1 parent f0b7f84 commit 9eae90d

File tree

2 files changed

+1331
-43
lines changed

2 files changed

+1331
-43
lines changed

pyproject.toml

Lines changed: 74 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1-
[tool.poetry]
1+
[project]
22
name = "g"
33
version = "0.0.5"
44
description = "cli command to easily sync current directory"
5-
license = "MIT"
6-
authors = ["Tony Narlock <[email protected]>"]
5+
requires-python = ">=3.8,<4.0"
6+
authors = [
7+
{name = "Tony Narlock", email = "[email protected]"}
8+
]
9+
license = { text = "MIT" }
710
classifiers = [
811
"Development Status :: 4 - Beta",
912
"License :: OSI Approved :: MIT License",
@@ -41,53 +44,85 @@ keywords = [
4144
"update",
4245
"libvcs",
4346
]
44-
4547
homepage = "https://g.git-pull.com"
4648

47-
[tool.poetry.urls]
49+
[project.urls]
4850
"Bug Tracker" = "https://github.com/vcs-python/g/issues"
4951
Documentation = "https://g.git-pull.com"
5052
Repository = "https://github.com/vcs-python/g"
5153
Changes = "https://github.com/vcs-python/g/blob/master/CHANGES"
5254

53-
[tool.poetry.scripts]
55+
[project.scripts]
5456
g = 'g:run'
5557

56-
[tool.poetry.dependencies]
57-
python = "^3.8"
58-
59-
[tool.poetry.group.docs.dependencies]
60-
### Docs ###
61-
sphinx = "*"
62-
furo = "*"
63-
gp-libs = "*"
64-
sphinx-autodoc-typehints = "*"
65-
sphinx-autobuild = "*"
66-
sphinx-inline-tabs = "*"
67-
sphinxext-opengraph = "<0.8" # https://github.com/wpilibsuite/sphinxext-opengraph/issues/100
68-
sphinx-copybutton = "*"
69-
sphinxext-rediraffe = "*"
70-
myst_parser = ">=0.18.1"
71-
docutils = "*"
72-
linkify-it-py = "*"
73-
74-
[tool.poetry.group.test.dependencies]
75-
### Testing ###
76-
pytest = "*"
77-
pytest-rerunfailures = "*"
78-
pytest-watcher = "*"
79-
gp-libs = "*"
58+
[tool.uv]
59+
dev-dependencies = [
60+
# Docs
61+
"aafigure",
62+
"pillow",
63+
"sphinx",
64+
"furo",
65+
"gp-libs",
66+
"sphinx-autobuild",
67+
"sphinx-autodoc-typehints",
68+
"sphinx-inline-tabs",
69+
"sphinxext-opengraph",
70+
"sphinx-copybutton",
71+
"sphinxext-rediraffe",
72+
"sphinx-argparse",
73+
"myst-parser",
74+
"linkify-it-py",
75+
# Testing
76+
"gp-libs",
77+
"pytest",
78+
"pytest-rerunfailures",
79+
"pytest-mock",
80+
"pytest-watcher",
81+
# Coverage
82+
"codecov",
83+
"coverage",
84+
"pytest-cov",
85+
# Lint
86+
"ruff",
87+
"mypy",
88+
]
8089

81-
[tool.poetry.group.coverage.dependencies]
82-
### Coverage ###
83-
codecov = "*"
84-
coverage = "*"
85-
pytest-cov = "*"
90+
[dependency-groups]
91+
docs = [
92+
"aafigure",
93+
"pillow",
94+
"sphinx",
95+
"furo",
96+
"gp-libs",
97+
"sphinx-autobuild",
98+
"sphinx-autodoc-typehints",
99+
"sphinx-inline-tabs",
100+
"sphinxext-opengraph",
101+
"sphinx-copybutton",
102+
"sphinxext-rediraffe",
103+
"myst-parser",
104+
"linkify-it-py",
105+
]
106+
testing = [
107+
"gp-libs",
108+
"pytest",
109+
"pytest-rerunfailures",
110+
"pytest-mock",
111+
"pytest-watcher",
112+
]
113+
coverage =[
114+
"codecov",
115+
"coverage",
116+
"pytest-cov",
117+
]
118+
lint = [
119+
"ruff",
120+
"mypy",
121+
]
86122

87-
[tool.poetry.group.lint.dependencies]
88-
### Lint ###
89-
ruff = "*"
90-
mypy = "*"
123+
[build-system]
124+
requires = ["hatchling"]
125+
build-backend = "hatchling.build"
91126

92127
[tool.mypy]
93128
strict = true
@@ -149,7 +184,3 @@ filterwarnings = [
149184
[tool.pytest-watcher]
150185
now = true
151186
ignore_patterns = ["*.py.*.py"]
152-
153-
[build-system]
154-
requires = ["poetry_core>=1.0.0", "setuptools>60"]
155-
build-backend = "poetry.core.masonry.api"

0 commit comments

Comments
 (0)