-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
104 lines (92 loc) · 2.38 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
104
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "mmemoji"
description = "Custom Emoji manager command-line for Mattermost 😎"
readme = "README.md"
authors = []
classifiers = [
"Environment :: Web Environment",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Utilities",
]
keywords = ["cli", "emoji", "mattermost"]
license = {text = "GPLv3"}
dynamic = ["version"]
requires-python = ">=3.9,<4.0"
dependencies = [
"click>=8.0.0",
"filetype>=0.1.3",
"mattermostdriver>=6.1.2",
"requests>=2.19.0",
"tabulate>=0.7.3",
"typing-extensions>=3.10.0.0; python_version < \"3.10\"",
"Unidecode>=0.04.1",
]
[project.scripts]
mmemoji = "mmemoji.cli:cli"
[project.urls]
repository = "https://github.com/maxbrunet/mmemoji.git"
changelog = "https://github.com/maxbrunet/mmemoji/blob/main/CHANGELOG.md"
[tool.coverage.report]
show_missing = true
[tool.coverage.run]
source = ["src"]
relative_files = true
[tool.hatch.version]
source = "vcs"
[tool.mypy]
files = ["."]
mypy_path = "src"
show_column_numbers = true
strict = true
warn_unreachable = true
[[tool.mypy.overrides]]
module = ["filetype", "mattermostdriver.*"]
ignore_missing_imports = true
[tool.pytest.ini_options]
addopts = "--verbose"
[tool.ruff]
line-length = 79
src = ["src"]
target-version = "py39"
[tool.ruff.lint]
select = [
"F", # Pyflakes
"E", # pycodestyle (error)
"W", # pycodestyle (warning)
"C90", # mccabe
"I", # isort
"N", # pep8-naming
"UP", # pyupgrade
"B", # flake8-bugbear
"A", # flake8-builtins
"C4", # flake8-comprehensions
"SIM", # flake8-simplify
"T20", # flake8-print
"PT", # flake8-pytest-style
"TCH", # flake8-type-checking
"PGH", # pygrep-hooks
"PERF", # Perflint
"RUF", # Ruff-specific
]
[tool.uv]
dev-dependencies = [
"mypy==1.13.0",
"pytest==8.3.3",
"pytest-cov==6.0.0",
"ruff==0.7.3",
"types-requests==2.32.0.20241016",
"types-tabulate==0.9.0.20240106",
]