-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
107 lines (90 loc) · 2.44 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
105
106
107
[project]
name = "tmux_conf"
version = "0.20.0"
authors = [{ name = "Jacob Lundqvist", email = "[email protected]" }]
description = "Generates version checked tmux conf"
readme = "README.md"
requires-python = ">=3.7"
keywords = ["tmux", "automation"]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
[project.urls]
Homepage = "https://github.com/jaclu/tmux-conf"
documentation = "https://github.com/jaclu/tmux-conf"
repository = "https://github.com/jaclu/tmux-conf"
"Bug Tracker" = "https://github.com/jaclu/tmux-conf/issues"
# [tool.poetry]
# name = "tmux_conf"
# version = "0.1.0"
# description = "Your description here"
# authors = ["Your Name <[email protected]>"]
# [tool.poetry.dependencies]
# python = "^3.9"
# [tool.poetry.dev-dependencies]
# pytest = "^6.2"
# mypy = "^0.910"
# flake8 = "^3.9"
# isort = "^5.9"
# black = "^21.6"
# [tool.poetry.scripts]
# tmux-conf = 'tmux_conf.__main__:main'
[build-system]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"
[tool.black]
line-length = 92
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| test
)/
| foo.py # also separately exclude a file named foo.py in
# the root of the project
)
'''
[tool.flake8]
max-line-length = 92
extend-ignore = "E203, W503"
[tool.isort]
profile = "black"
[tool.mypy]
python_version = "3.9"
mypy_path = "src"
check_untyped_defs = true
disallow_any_generics = true
ignore_missing_imports = true
no_implicit_optional = true
show_error_codes = true
strict_equality = true
strict_optional = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
warn_unused_configs = true
no_implicit_reexport = true
[tool.pymarkdown]
# plugins.no-inline-html.enabled = false
#plugins.line-length.enabled = false
# plugins.line-length.line_length = 92
plugins.line-length.code_block_line_length = 92
#plugins.md033.allowed_elements = "nbsp,prefix"
[tool.pytest]
addopts = "-ra -q --strict"
python_files = ["tests/test_*.py"]
[py.typed]
# This file indicates that the package includes type information (PEP 561).
# It is typically an empty file, but its presence signifies the package supports type checking.