-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
75 lines (66 loc) · 1.71 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
[tool.poetry]
name = "ast_selector"
version = "0.2.0"
description = "Query AST elements by using CSS Selector-like syntax"
authors = ["Guilherme Latrova <[email protected]>"]
license = "MIT"
keywords = ["ast"]
readme = "README.md"
homepage = "https://github.com/guilatrova/ast_selector"
repository = "https://github.com/guilatrova/ast_selector"
include = [
"LICENSE",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
]
packages = [
{ include = "ast_selector", from = "src" },
]
[tool.poetry.urls]
"Changelog" = "https://github.com/guilatrova/ast_selector/blob/main/CHANGELOG.md"
[tool.semantic_release]
version_variable = [
"src/ast_selector/__init__.py:__version__"
]
version_toml = [
"pyproject.toml:tool.poetry.version"
]
major_on_zero = false
branch = "main"
upload_to_pypi = true
upload_to_release = true
build_command = "pip install poetry && poetry build"
[tool.poetry.dependencies]
python = "^3.8"
[tool.poetry.dev-dependencies]
black = "^22.3.0"
flake8 = "^4.0.1"
flake8-annotations = "^2.9.0"
isort = "^5.10.1"
mypy = "^0.950"
tryceratops = "^1.1.0"
pre-commit = "^2.18.1"
pytest = "^7.1.2"
pytest-cov = "^3.0.0"
python-semantic-release = "^7.29.1"
[tool.black]
line-length = 120
[tool.isort]
profile = "black"
line_length = 120
extra_standard_library = ["pytest"]
[tool.mypy]
python_version = 3.8
warn_unused_configs = true
namespace_packages = true
explicit_package_bases = true
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = "src/tests"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"