-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathpyproject.toml
More file actions
124 lines (105 loc) · 2.82 KB
/
Copy pathpyproject.toml
File metadata and controls
124 lines (105 loc) · 2.82 KB
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
[build-system]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "alectryon"
description = "A library to process Coq snippets embedded in documents, showing goals and messages for each Coq sentence."
readme = "README.rst"
license = "MIT"
requires-python = ">=3.9"
authors = [
{name = "Clément Pit-Claudel", email = "clement.pitclaudel@live.com"},
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Compilers",
"Topic :: Text Editors :: Documentation",
"Topic :: Text Processing :: Markup :: reStructuredText",
]
dependencies = [
"pygments>=2.14.0",
"dominate>=2.7.0",
"beautifulsoup4>=4.11.2",
"docutils>=0.19",
"myst_parser>=1.0.0",
]
dynamic = ["version"]
[project.optional-dependencies]
sphinx = ["sphinx>=6.1.3"]
full = [
"sphinx>=6.1.3",
]
[project.scripts]
alectryon = "alectryon.cli:main"
[project.entry-points."pygments.styles"]
alectryon = "alectryon.pygments_style:AlectryonStyle"
[project.urls]
Homepage = "https://github.com/cpitclaudel/alectryon"
[tool.setuptools]
packages = ["alectryon"]
[tool.setuptools.dynamic]
version = {attr = "alectryon.__init__.__version__"}
[tool.setuptools.package-data]
"*" = ["assets/*"]
# Formatting
[tool.yapfstyle]
based_on_style = "pep8"
blank_lines_around_top_level_definition = 1
blank_line_before_module_docstring = true
# Linting
[tool.pylint.format]
max-line-length = 115
[tool.pylint."messages control"]
disable = [
"consider-using-f-string",
"cyclic-import",
"duplicate-code",
"fixme",
"import-outside-toplevel",
"invalid-name",
"missing-class-docstring",
"missing-function-docstring",
"missing-module-docstring",
"multiple-statements",
"protected-access",
"redefined-builtin",
"too-few-public-methods",
"too-many-ancestors",
"too-many-arguments",
"too-many-branches",
"too-many-instance-attributes",
"too-many-lines",
"too-many-locals",
"too-many-nested-blocks",
"too-many-positional-arguments",
"too-many-public-methods",
"too-many-return-statements",
"too-many-statements",
"typevar-name-incorrect-variance",
"unnecessary-lambda-assignment",
"use-yield-from",
"wrong-import-position",
]
# Type checking
[tool.pyright]
include = ["alectryon"]
typeCheckingMode = "standard"
reportOptionalMemberAccess = false
reportWildcardImportFromLibrary = false
[tool.mypy]
ignore_missing_imports = true
# Coverage
[tool.coverage.run]
# branch = true
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"assert False",
"raise AssertionError",
"raise NotImplementedError",
"raise UnexpectedError",
]