-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
67 lines (56 loc) · 1.66 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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "adaptive_latents"
version = "0.0.1"
description = "Methods for real-time prediction of latent neural dynamics"
authors = [{name = "Jonathan Gould", email = "jngould@umich.edu"},
{name = "Anne Draelos", email = "adraelos@umich.edu"}]
#TODO: Pato?
readme = "README.md"
requires-python = ">=3.7"
keywords = ["neuroscience", "prediction", "dynamics"]
dependencies = [] # todo: might be able to migrate pyproject.toml to requirements.txt and then use dynamic metadata?
[tool.pytest.ini_options]
pythonpath = [
"." # so we can import from the scripts in the tests; you should still install adaptive_latents as a package
]
norecursedirs = ['datasets']
[tool.setuptools]
packages = ["adaptive_latents"]
[tool.setuptools.package-data]
adaptive_latents = ["adaptive_latents_config.yaml"]
[tool.yapf]
based_on_style='facebook'
ARITHMETIC_PRECEDENCE_INDICATION=true
SPLIT_BEFORE_NAMED_ASSIGNS=true
SPACE_BETWEEN_ENDING_COMMA_AND_CLOSING_BRACKET=false
COALESCE_BRACKETS=true
COLUMN_LIMIT=300
[tool.yapfignore]
ignore_patterns=[
"workspace/datasets/*"
]
[tool.coverage.report]
exclude_also = [
# Don't complain if non-runnable code isn't run:
"if 0:",
"if __name__ == .__main__.:",
"if .TYPE_CHECKING.:",
# Don't complain about abstract methods, they aren't run:
"@(abc\\.)?abstractmethod",
]
[tool.coverage.run]
source = [
"adaptive_latents",
"tests",
"workspace",
]
omit = [
"workspace/datasets/*"
]
[tool.coverage.html]
directory = "./tests/reports/coverage-html"
[tool.coverage.xml]
output = "./tests/reports/coverage.xml"