-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
79 lines (65 loc) · 2.27 KB
/
pyproject.toml
File metadata and controls
79 lines (65 loc) · 2.27 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
[build-system]
requires = [ "setuptools>=41.0.1", "wheel>=0.37.1",]
[tool.xcookie]
tags = [ "purepy", "erotemic", "github",]
mod_name = "vimtk"
repo_name = "vimtk"
min_python = "3.7"
ci_pypi_trusted_publishing = true
ci_gpg_secret_transport = "direct_ci"
dev_status = "beta"
author = "Jon Crall"
author_email = "erotemic@gmail.com"
description = "Python backend for the vimtk plugin"
url = "https://github.com/Erotemic/vimtk"
classifiers = [
"Topic :: Text Editors",
]
[tool.xcookie.setuptools]
keywords = "vim, gvim, python"
include_package_data = true
[tool.xcookie.setuptools.package_data]
vimtk = ['autoload/*.vim', 'plugin/*.vim']
[tool.pytest.ini_options]
addopts = "-p no:doctest --xdoctest --xdoctest-style=google --ignore-glob=setup.py --ignore-glob=docs"
norecursedirs = ".git ignore build __pycache__ dev _skbuild docs"
filterwarnings = [
"default",
"ignore:.*No cfgstr given in Cacher constructor or call.*:Warning",
"ignore:.*Define the __nice__ method for.*:Warning",
"ignore:.*private pytest class or function.*:Warning",
]
[tool.coverage.run]
branch = true
[tool.coverage.report]
exclude_lines = [ "pragma: no cover", ".* # pragma: no cover", ".* # nocover", "def __repr__", "raise AssertionError", "raise NotImplementedError", "if 0:", "if trace is not None", "verbose = .*", "^ *raise", "^ *pass *$", "if _debug:", "if __name__ == .__main__.:", ".*if six.PY2:",]
omit = [ "vimtk/__main__.py", "*/setup.py",]
[tool.codespell]
skip = ['./docs/build', './*.egg-info', './build', './htmlcov']
count = true
quiet-level = 3
ignore-words-list = ['wont', 'cant', 'ANS', 'doesnt', 'arent', 'ans', 'thats', 'datas', 'isnt']
[tool.mypy]
ignore_missing_imports = true
#ignore_errors = true
[tool.ty.rules]
unused-ignore-comment = "ignore"
unused-type-ignore-comment = "ignore"
unresolved-import = "ignore"
[tool.ruff]
line-length = 80
target-version = "py38"
[tool.ruff.lint]
# Enable Flake8 (E, F) and isort (I) rules.
select = ["E", "F", "I"]
# Ignore specific rules, for example, E501 (line too long) as it's handled by the formatter.
ignore = [
"E501", # line too long
"E402", # Module level import not at top of file
]
[tool.ruff.format]
quote-style = "single"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
docstring-code-format = false