-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
104 lines (94 loc) · 2.35 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-argparse-manpage"]
build-backend = "hatchling.build"
[project]
name = "show-in-file-manager"
authors = [{name = "Damon Lynch", email = "[email protected]"}]
description = "Open the system file manager and select files in it"
classifiers = [
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows :: Windows 10",
"Operating System :: Microsoft :: Windows :: Windows 11",
"Operating System :: POSIX :: Linux",
"Development Status :: 5 - Production/Stable",
"Topic :: Desktop Environment :: File Managers",
"Typing :: Typed",
]
requires-python = ">=3.8"
dependencies = [
"pyxdg>=0.25; platform_system=='Linux'",
"packaging",
"pywin32>=301; platform_system=='Windows'",
]
dynamic = ["version"]
[project.readme]
file = "README.md"
content-type = "text/markdown"
[project.urls]
Homepage = "https://github.com/damonlynch/showinfilemanager"
Issues = "https://github.com/damonlynch/showinfilemanager/issues"
[project.scripts]
showinfilemanager = "showinfm.showinfm:main"
[tool.hatch.version]
path = "src/showinfm/__about__.py"
[tool.hatch.build.targets.sdist]
packages = ["src/showinfm"]
[tool.hatch.build.targets.wheel]
packages = ["src/showinfm"]
[tool.hatch.build.hooks.argparse-manpage]
include-url = false
manpages = [
"man/showinfilemanager.1:function=get_parser:pyfile=src/showinfm/argumentsparse.py:manual_title=General Commands Manual",
]
[tool.ruff]
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".ipynb_checkpoints",
".mypy_cache",
".nox",
".pants.d",
".pyenv",
".pytest_cache",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
".vscode",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"site-packages",
"venv",
"urivalidate.py",
]
# Same as Black.
line-length = 88
indent-width = 4
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-simplify
"SIM",
# isort
"I",
]