-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
47 lines (40 loc) · 1.11 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
[tool.poetry]
name = "option-python"
version = "0.0.2"
description = "A simple Rust-like Option type for Python with Type Annotations"
authors = ["Catminusminus <[email protected]>"]
readme = "README.md"
repository = "https://github.com/Catminusminus/option"
license = "MIT"
packages = [
{ include = "option" },
]
[tool.poetry.dependencies]
python = "^3.10"
[tool.poetry.group.dev.dependencies]
black = "^22.6.0"
isort = "^5.10.1"
mypy = "^0.971"
flake8-bugbear = "^22.7.1"
flake8 = "^5.0.4"
pep8-naming = "^0.13.1"
safety = "^2.1.1"
flake8-comprehensions = "^3.10.0"
[tool.poetry.group.test.dependencies]
pytest = "^7.1.2"
pytest-cov = "^3.0.0"
[tool.isort]
profile = "black"
[tool.poe.tasks]
test = "pytest --cov=option tests/"
_format_black = "black ."
_format_isort = "isort --profile black ."
format = ["_format_isort", "_format_black"]
_lint_black = "black --check ."
_lint_isort = "isort --check-only --profile black ."
_flake8 = "flake8 --filename=*.py option/"
lint = ["_flake8", "_lint_black", "_lint_isort"]
audit = "safety check"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"