forked from bitcart/bitcart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
49 lines (46 loc) · 1.19 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
[tool.black]
line-length = 127
preview = true
[tool.isort]
profile = "black"
line_length = 127
known_third_party = ["bitcart"]
[tool.pytest.ini_options]
addopts = ["-n", "auto", "--cov=.", "--cov-report", "term-missing"]
filterwarnings = [
"error::DeprecationWarning",
"error::PendingDeprecationWarning",
"ignore:Deprecated call to `pkg_resources.declare_namespace:DeprecationWarning",
"ignore:pkg_resources is deprecated as an API:DeprecationWarning", # sqlalchemy
]
norecursedirs = ["tests/functional"]
[tool.coverage.run]
source = ["."]
omit = [
"main.py",
"worker.py",
"alembic/**",
"settings/**",
"tests/**",
"modules/**",
"venv/**",
"env/**",
"api/ext/update.py",
"api/ext/configurator.py",
"api/ext/backups.py",
"api/ext/shopify.py",
"api/ext/payouts.py",
"api/views/stores/integrations/shopify.py",
"api/logger.py",
"api/logserver.py",
"api/invoices.py",
"api/plugins.py",
"api/tasks.py",
"api/settings.py",
"*__init__.py",
# TODO: try to have tests for plugins somehow later
"api/views/plugins.py",
"api/ext/plugins.py",
"api/ext/exchanges/**",
"api/ext/fxrate.py",
]