-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
93 lines (86 loc) · 2.24 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
84
85
86
87
88
89
90
91
92
93
[build-system]
requires = ["poetry>=1.0.0"]
build-backend = "poetry.masonry.api"
[tool.poetry]
# Description
name = "dash-material-components"
version = "2.0.10"
description = "Dash Material Design components for the Noos platform."
# Credentials
license = "MIT"
authors = ["Noos Energy <[email protected]>"]
homepage = "https://github.com/noosenergy/dash-material-components"
# Package data
readme = "README.md"
packages = [
{ include = "dash_material_components"},
]
include = [
"dash_material_components/*.py",
"dash_material_components/*.js",
"dash_material_components/*.js.map",
"dash_material_components/metadata.json",
"dash_material_components/package-info.json",
"dash_material_components/themes/static/*.png",
"README.md",
"LICENSE",
"package.json",
]
# Distribution
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.11",
"Typing :: Typed",
]
[tool.poetry.dependencies]
python = "^3.11"
# https://github.com/GibbsConsulting/django-plotly-dash/blob/master/requirements.txt
dash = ">=2.10,<3.0"
[tool.poetry.dev-dependencies]
dash = { version = "*", extras = ["dev", "testing"] }
selenium = ">=4.0"
# Format
isort = "*"
black = "*"
# Linter
pydocstyle = "*"
flake8 = "*"
mypy = "*"
# Debugging
ipdb = "*"
ipython = "*"
jupyterlab = "*"
[tool.black]
line-length = 99
target_version = ['py311']
[tool.isort]
line_length = 99
profile = "black"
multi_line_output = 3
lines_after_imports = 2
default_section = "THIRDPARTY"
known_first_party = "dash_material_components,tests"
sections = "STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER"
[tool.mypy]
install_types = true
non_interactive = true
incremental = true
warn_unused_configs = true
warn_unused_ignores = true
check_untyped_defs = true
warn_redundant_casts = true
ignore_missing_imports = true
[tool.pytest.ini_options]
python_files = "test_*.py"
python_classes = "Test"
python_functions = "test_*"
junit_family = "xunit2"
filterwarnings = [
"error::RuntimeWarning",
"ignore::DeprecationWarning",
"ignore::UserWarning"
]
addopts = "--headless --webdriver=Firefox --junitxml=.pytest_results/junit.xml"