|
1 | 1 | [build-system] |
2 | | -requires = ["poetry-core>=2.0.0,<3"] |
3 | | -build-backend = "poetry.core.masonry.api" |
| 2 | +requires = ["flit_core >=3.11,<4"] |
| 3 | +build-backend = "flit_core.buildapi" |
4 | 4 |
|
5 | 5 | [project] |
6 | | -authors = [{ name = "aru", email = "genericusername414@gmail.com" }] |
7 | | -license = { text = "MIT" } |
8 | | -requires-python = ">=3.10, <4" |
| 6 | +authors = [{ name = "aru", email = "me@arielle.codes" }] |
| 7 | +license = "MIT" |
| 8 | +license-files = ["LICENSE", "LICENSE_THIRD_PARTY"] |
| 9 | +requires-python = ">=3.10" |
9 | 10 | name = "monty" |
10 | | -version = "1.0.0" |
| 11 | +version = "0.0.1" |
11 | 12 | description = "Helpful bot for python, github, and discord things." |
12 | 13 | dependencies = [ |
13 | 14 | "aiodns~=3.4", |
@@ -40,39 +41,38 @@ dependencies = [ |
40 | 41 | "readme-renderer[md] (>=44.0,<45.0)", |
41 | 42 | ] |
42 | 43 |
|
43 | | -[project.optional-dependencies] |
44 | | -fakeredis = ["fakeredis<3.0.0,>=2.29.0"] |
45 | | -dev = ["fakeredis<3.0.0,>=2.29.0", "watchfiles<2.0.0,>=1.0.5"] |
46 | | - |
47 | | -[tool.poetry.group.dev.dependencies] |
48 | | -black = "^25.9.0" |
49 | | -ruff = "==0.13.1" |
50 | | -isort = "==6.0.1" |
51 | | -prek = ">=0.2.1,<0.3" |
52 | | -taskipy = "^1.14.1" |
53 | | -python-dotenv = "^1.1.0" |
54 | | -pyright = "==1.1.405" |
55 | | -msgpack-types = "^0.5.0" |
56 | | -mdformat = "^0.7.22" |
57 | | -mdformat-ruff = "^0.1.3" |
58 | | -mdformat-beautysh = "^0.1.1" |
59 | | -mdformat-gfm = "^0.4.1" |
60 | | -mdformat-gfm-alerts = "^2.0.0" |
61 | | -mdformat-mkdocs = "^4.4.1" |
62 | | -mdformat-pyproject = "^0.0.2" |
63 | | -mdformat-simple-breaks = "^0.0.1" |
64 | | -mdformat-tables = "^1.0.0" |
65 | | -mdformat-frontmatter = "^2.0.8" |
66 | | - |
67 | | - |
68 | | -[tool.poetry.group.docs.dependencies] |
69 | | -mkdocs = "^1.6.1" |
70 | | -mkdocs-material = {version = "^9.6.20", extras = ["imaging"]} |
71 | | -mkdocs-git-revision-date-localized-plugin = "^1.4.7" |
72 | | -markdown-gfm-admonition = "^0.1.1" |
73 | | - |
74 | | -[tool.poetry.requires-plugins] |
75 | | -poetry-plugin-export = ">=1.9,<2" |
| 44 | +[dependency-groups] |
| 45 | +dev = [ |
| 46 | + "fakeredis<3.0.0,>=2.29.0", |
| 47 | + "watchfiles<2.0.0,>=1.0.5", |
| 48 | + "python-dotenv<2.0.0,>=1.1.0", |
| 49 | +] |
| 50 | +tools = [ |
| 51 | + "black<26.0.0,>=25.9.0", |
| 52 | + "isort==6.0.1", |
| 53 | + "poethepoet>=0.37.0", |
| 54 | + "prek>=0.2.1,<0.3", |
| 55 | + "ruff==0.13.1", |
| 56 | +] |
| 57 | +typing = ["pyright==1.1.405", "msgpack-types<1.0.0,>=0.5.0"] |
| 58 | +docs = [ |
| 59 | + "mkdocs<2.0.0,>=1.6.1", |
| 60 | + "mkdocs-material[imaging]<10.0.0,>=9.6.20", |
| 61 | + "mkdocs-git-revision-date-localized-plugin<2.0.0,>=1.4.7", |
| 62 | + "markdown-gfm-admonition<1.0.0,>=0.1.1", |
| 63 | +] |
| 64 | +mdformat = [ |
| 65 | + "mdformat<1.0.0,>=0.7.22", |
| 66 | + "mdformat-ruff<1.0.0,>=0.1.3", |
| 67 | + "mdformat-beautysh<1.0.0,>=0.1.1", |
| 68 | + "mdformat-gfm<1.0.0,>=0.4.1", |
| 69 | + "mdformat-gfm-alerts<3.0.0,>=2.0.0", |
| 70 | + "mdformat-mkdocs<5.0.0,>=4.4.1", |
| 71 | + "mdformat-pyproject<1.0.0,>=0.0.2", |
| 72 | + "mdformat-simple-breaks<1.0.0,>=0.0.1", |
| 73 | + "mdformat-tables<2.0.0,>=1.0.0", |
| 74 | + "mdformat-frontmatter<3.0.0,>=2.0.8", |
| 75 | +] |
76 | 76 |
|
77 | 77 | [tool.black] |
78 | 78 | line-length = 120 |
@@ -170,14 +170,11 @@ ignore = [ |
170 | 170 | [tool.ruff.lint.mccabe] |
171 | 171 | max-complexity = 20 |
172 | 172 |
|
173 | | -[tool.taskipy.tasks] |
174 | | -export = 'poetry export --without-hashes -o requirements.txt' |
175 | | -start = "python -m monty" |
176 | | -lint = "prek run --all-files" |
177 | | -prek = "prek install" |
| 173 | +[tool.poe.tasks] |
| 174 | +lint = { cmd = "prek run --all-files", help = "Lint the source code" } |
| 175 | +prek = { cmd = "prek install", help = "Install the git pre-commit hooks" } |
178 | 176 | pyright = { cmd = "dotenv -f task.env run -- pyright", help = "Run pyright" } |
179 | | -html = "coverage html" |
180 | | -report = "coverage report" |
| 177 | +sync = { cmd = "uv sync --all-groups --all-extras", help = "Sync all groups and extras to a local environment" } |
181 | 178 |
|
182 | 179 | [tool.pyright] |
183 | 180 | typeCheckingMode = "basic" |
|
0 commit comments