generated from seyLu/python-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
69 lines (59 loc) · 1.5 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "ghlabel"
requires-python = ">=3.11"
license = "MIT"
authors = [
{ name = "MJ Sabit (seyLu)", email = "[email protected]" },
]
description = "CLI tool to help setup Github Labels from a yaml/json config file."
readme = "README.md"
dynamic = ["version"]
keywords = [
"github-tool",
"github-labels",
"cli-tool",
]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"typer[all]==0.12.5",
"requests==2.32.3",
"python-dotenv==1.0.1",
"PyYAML==6.0.2",
]
[project.urls]
Documentation = "https://github.com/seyLu/ghlabel#readme"
"Homepage" = "https://github.com/seyLu/ghlabel"
"Bug Tracker" = "https://github.com/seyLu/ghlabel/issues"
[project.scripts]
ghlabel = "ghlabel.cli:app"
[tool.hatch.version]
path = "src/ghlabel/__about__.py"
[tool.ruff.lint]
select = [
"A", # flake8-builtins
"B", # flake8-bugbear
"S", # flake8-bandit
"E", # Pyflakes
"F", # Pycodestyle
"I", # Isort
"PL", # Pylint
"RUF", # Ruff-specific rules
]
ignore = ["E501"]
[tool.mypy]
strict = "True"
implicit_reexport = "True"
check_untyped_defs = true
ignore_missing_imports = true
# Exclude type checking on files/dirs
exclude = [
# TOML basic string (double-quotes, backslash and other characters need escaping)
# TOML literal string (single-quotes, no escaping necessary)
]