-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
92 lines (76 loc) · 2.24 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "behave-django-steps"
version = "0.7.15"
authors = [
{ name="Bill Schumacher", email="34168009+BillSchumacher@users.noreply.github.com" },
]
description = "Boilerplate steps for testing Django with Behave"
readme = "README.md"
license='MIT'
requires-python = ">=3.8"
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 3.1",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.0",
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Internet :: WWW/HTTP",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"django",
"behave-django"
]
[project.urls]
"Homepage" = "https://github.com/BillSchumacher/behave-django-steps"
"Bug Tracker" = "https://github.com/BillSchumacher/behave-django-steps/issues"
[tool.black]
line-length = 88
target-version = ['py311']
include = '\.pyi?$'
extend-exclude = ""
[tool.isort]
profile = "black"
[tool.pylint.messages_control]
disable = "C0330, C0326"
[tool.pylint.format]
max-line-length = "88"
[tool.hatch.build]
include = [
"behave_django_steps/**/*.py",
]
exclude = ["testapp*", "tests*", "behave_django_steps_test*"]
[tool.coverage.run]
branch = true
source = ["behave_django_steps", ]
[tool.coverage.report]
# Regexes for lines to exclude from consideration
omit = ["*/migrations/*","*/blueprints/*"]
exclude_lines = [
# Don't complain about missing debug-only code:
"def __repr__",
"if self\\.debug",
# Don't complain if tests don't hit defensive assertion code:
"raise AssertionError",
"raise NotImplementedError",
# Don't complain if non-runnable code isn't run:
"if 0:",
"if __name__ == .__main__.:",
# Don't complain about abstract methods, they aren't run:
"@(abc\\.)?abstractmethod",
]
ignore_errors = true
[tool.coverage.html]
directory = "coverage_html_report"