forked from scaleway/serverless-functions-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
83 lines (69 loc) · 2.3 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
[tool.poetry]
name = "scaleway-functions-python"
version = "0.2.1"
description = "Utilities for testing your Python handlers for Scaleway Serverless Functions."
authors = ["Scaleway Serverless Team <[email protected]>"]
readme = "README.md"
license = "MIT"
repository = "https://github.com/scaleway/serverless-functions-python"
keywords = ["serverless", "scaleway", "functions", "cloud", "faas"]
# Should be one of:
# "Development Status :: 3 - Alpha"
# "Development Status :: 4 - Beta"
# "Development Status :: 5 - Production/Stable"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Topic :: Internet",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
include = ["CHANGELOG.md"]
[tool.poetry.dependencies]
python = ">=3.8.1, <3.13"
flask = ">=2.2.2,<4.0.0"
typing-extensions = { version = "^4.4.0", python = "<3.11" }
[tool.poetry.group.test.dependencies]
pytest = "^7.2.1"
pytest-cov = "^4.0.0"
[tool.poetry.group.dev.dependencies]
autoflake = ">=1.7.7,<3.0.0"
black = "^23.01.0"
flake8 = "^6.0.0"
isort = "^5.10.1"
pre-commit = "^3.0.4"
pylint = ">=2.16.2,<4.0.0"
pylint-per-file-ignores = "^1.2.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.pylint]
load-plugins = ["pylint_per_file_ignores"]
disable = "missing-module-docstring"
# Commented Black formatted code.
max-line-length = 89
# Short and common names. e is commonly used for exceptions.
good-names = "i,e"
[tool.pylint-per-file-ignores]
# Import aliases are prefered over unused imports or __all__
"__init__.py" = "useless-import-alias"
# Redefined outer name is for pytest fixtures
"/tests/" = "missing-class-docstring,missing-function-docstring,protected-access,redefined-outer-name"
[tool.isort]
profile = "black"
[tool.mypy]
python_version = "3.8"
strict = true
exclude = "tests"
[tool.pydocstyle]
# Compatible with Sphinx
convention = "google"
add_ignore = ["D100", "D104", "D107"]