-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
103 lines (89 loc) · 2.54 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
[tool.poetry]
name = "github-random-star"
version = "1.2.0"
description = "Simple CLI tool to fetch random starred repositories from a users GitHub profile."
authors = ["David Kasakaitis <[email protected]>"]
readme = "README.md"
license = "MIT"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Utilities",
"License :: OSI Approved :: MIT License",
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"Natural Language :: English",
"Typing :: Typed",
"Topic :: Software Development :: Version Control :: Git",
]
keywords = ["python", "python3", "cli", "github", "git"]
packages = [{ include = "github_random_star" }]
[tool.poetry.urls]
"Homepage" = "https://github.com/ddkasa/gh-random-star"
"Source" = "https://github.com/ddkasa/gh-random-star"
"Bug Tracker" = "https://github.com/ddkasa/gh-random-star/issues"
[tool.poetry.scripts]
gh-star = "github_random_star.extension:run"
[tool.poetry.dependencies]
python = "^3.10"
httpx = "^0.26.0"
cleo = "^2.1.0"
[tool.poetry.group.dev.dependencies]
pytest = "^8.1.1"
mock = "^5.1.0"
pytest-subprocess = "^1.5.0"
pytest-env = "^1.1.3"
tox-gh-actions = "^3.2.0"
ruff = "^0.7.0"
mypy = "^1.13.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
env = ["PYTEST_TESTING=True"]
pythonpath = ["."]
markers = [
"unit: Basic unit tests using local cache.",
"integration: Tests that use the API.",
]
[tool.mypy]
ignore_missing_imports = true
[tool.tox]
legacy_tox_ini = """
[tox]
isolated_build = True
envlist = ruff, mypy, py312, py311, py310, py313
[testenv]
skip_install = true
passenv = *
setenv =
GH_ACTION = "True"
TOGGL_WORKSPACE_ID = {env:TOGGL_WORKSPACE_ID}
TOGGL_API_TOKEN = {env:TOGGL_API_TOKEN}
PYTHONPATH = {toxinidir}
allowlist_externals = poetry
commands_pre =
poetry install
commands =
poetry run pytest {posargs}
[gh-actions]
python =
3.10: py310
3.11: py311
3.12: ruff, mypy, py312
3.13: py313
[testenv:mypy]
allowlist_externals = mypy, poetry
basepython = python3.12
commands = mypy github_random_star
[testenv:ruff]
allowlist_externals = ruff, poetry
basepython = python3.12
commands = ruff check github_random_star
"""