forked from steamship-core/python-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
64 lines (54 loc) · 1.8 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
[build-system]
# AVOID CHANGING REQUIRES: IT WILL BE UPDATED BY PYSCAFFOLD!
requires = ["setuptools>=65.6.3", "setuptools_scm[toml]>=7.1.0", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
# See configuration details in https://github.com/pypa/setuptools_scm
version_scheme = "no-guess-dev"
[project]
name = "steamship"
description = "The fastest way to add language AI to your product."
dynamic = ["dependencies", "version"]
readme = "README.md"
[project.scripts]
ship = "steamship.cli.cli:cli"
[tool.setuptools.dynamic]
dependencies = { file = ["requirements.txt"] }
# https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html#configuration-via-a-file
[tool.black]
line-length = 100
# https://pycqa.github.io/isort/docs/configuration/profiles/
[tool.isort]
known_first_party = "tests"
line_length = 100
profile = "black"
# https://mypy.readthedocs.io/en/latest/config_file.html
[tool.mypy]
junit_xml = "reports/mypy.xml"
plugins = "pydantic.mypy"
strict = true
disallow_subclassing_any = false
disallow_untyped_decorators = false
ignore_missing_imports = true
pretty = true
show_column_numbers = true
show_error_codes = true
show_error_context = true
warn_unreachable = true
# https://pydantic-docs.helpmanual.io/mypy_plugin/#configuring-the-plugin
[tool.pydantic-mypy]
init_forbid_extra = true
init_typed = true
warn_required_dynamic_aliases = true
warn_untyped_fields = true
# http://www.pydocstyle.org/en/latest/usage.html#configuration-files
[tool.pydocstyle]
convention = "numpy"
# https://docs.pytest.org/en/latest/customize.html#adding-default-options
[tool.pytest.ini_options]
# TODO (enias) add back strict -W error
addopts = "-W ignore::DeprecationWarning --doctest-modules --verbosity=2"
junit_family = "xunit2"
testpaths = "tests"
python_functions = "test_*"
minversion = 7.0