aboutsummaryrefslogtreecommitdiff
path: root/pyproject.toml
blob: 162a1ae6673bd2f5fbeae8708b431f4cb6602e79 (plain)
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
[tool.poetry]
name = "edify"
version = "0.1.0"
homepage = "https://github.com/luciferreeves/edify"
description = "Regular Expressions Made Simple."
authors = ["Bobby <[email protected]>"]
readme = "README.md"
license =  "Apache Software License 2.0"

packages = [
    { include = "edify" },
]

[tool.poetry.dependencies]
python = "^3.10"

[tool.poetry.dev-dependencies]
mypy = "^0.971"
pytest = "^7.1.2"
black = "^22.6.0"
flake8 = "^5.0.4"
isort = "^5.10.1"
mkdocs = "^1.3.1"
mkdocs-include-markdown-plugin = "^3.6.1"
mkdocs-material = "^8.3.9"
mkdocstrings = { version = "^0.19.0", extras = ["python"] }
mkdocs-material-extensions = "^1.0.3"
pytest-cov = "^3.0.0"
bump2version = "^1.0.1"
pre-commit = "^2.20.0"
twine = "^4.0.1"
tox = "^3.25.1"

[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--basetemp=testtemp"

[tool.coverage.run]
omit = ["*/test/*", "**/conftest.py"]

[tool.coverage.report]
omit = ["*/test/*"]
exclude_lines = [
    "pragma: no cover",
    "@abstractmethod",
    "@abc.abstractmethod",
    "def __repr__",
    "if .*DEBUG",
    "raise AssertionError",
    "raise NotImplementedError"
]

[tool.black]
line-length = 140
target-version = ['py36']
skip-string-normalization = true

[tool.isort]
profile = "black"
line_length = 100
skip_gitignore = true
known_typing="typing"
sections= ["FUTURE","STDLIB","FIRSTPARTY","THIRDPARTY","LOCALFOLDER","TYPING"]


[build-system]
requires = [
    "poetry-core>=1.0.0",
    "setuptools>=30.3.0",
    "wheel",
]
build-backend = "poetry.core.masonry.api"