-
Notifications
You must be signed in to change notification settings - Fork 442
/
Copy pathpyproject.toml
70 lines (66 loc) · 1.47 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
[tool.usort]
first_party_detection = false
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py38, py39, py310, py311, py312, lint
skipsdist = True
[testenv]
passenv =
http_proxy
https_proxy
deps =
-rrequirements.txt
allowlist_externals =
bash
commands =
bash scripts/run-python-tests.sh
[testenv:lint]
deps =
black
usort
flake8
commands =
black --check --diff client scripts tools
usort check client scripts tools
flake8 client scripts tools
"""
[tool.ufmt]
excludes = [
"documentation/",
"generate_taint_models/",
"scripts/",
"source/",
"stubs/",
"pyre2/",
]
[tool.pyre]
exclude = [
".*/documentation/.*",
".*/generate_taint_models/.*",
".*/scripts/.*",
".*/source/.*",
".*/pyre-check/stubs/.*",
]
ignore_all_errors = [
"client/tests/configuration_test.py",
"pyre_extensions/safe_json.py",
]
search_path = [
{ site-package = "click" },
{ site-package = "dataclasses_json" },
{ site-package = "flask" },
{ site-package = "flask_cors" },
{ site-package = "graphql" },
{ site-package = "libcst" },
{ site-package = "marshmallow" },
{ site-package = "psutil" },
{ site-package = "testslide" },
{ site-package = "toml" },
{ site-package = "tabulate" },
{ site-package = "tomli" },
{ is_toplevel_module = true, site-package = "typing_extensions" },
{ is_toplevel_module = true, site-package = "typing_inspect" },
]
source_directories = ["."]
strict = true