-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
55 lines (48 loc) · 1.22 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
[tool.poetry]
name = "sourcery-rules-generator"
version = "0.6.1"
description = "Generate architecture rules for Python projects."
license = "MIT"
authors = ["reka <[email protected]>"]
readme = "README.md"
repository = "https://github.com/sourcery-ai/sourcery-rules-generator"
keywords = ["architecture", "development"]
classifiers = [
"Intended Audience :: Developers",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries :: Python Modules"
]
[tool.poetry.scripts]
sourcery-rules = "sourcery_rules_generator.cli.cli:app"
[tool.poetry.dependencies]
python = "^3.9"
typer = {extras = ["all"], version = "0.7.0"}
rich = "^12.6.0"
pydantic = "^1.10.2"
ruamel-yaml = "^0.17.21"
[tool.poetry.dev-dependencies]
pytest = "7.2.0"
pytest-mock = "3.8.2"
coverage = "6.4.4"
black = "22.8.0"
isort = "5.10.1"
mypy = "0.971"
flake8 = "5.0.4"
tox = "^4.0.16"
[tool.isort]
profile = "black"
[tool.tox]
legacy_tox_ini = """
[tox]
isolated_build = true
envlist = py39,py310,py311
[testenv]
allowlist_externals = poetry
commands_pre =
poetry install --sync
commands =
poetry run pytest tests/ --import-mode importlib
"""
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"