-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpyproject.toml
More file actions
81 lines (70 loc) · 2.42 KB
/
pyproject.toml
File metadata and controls
81 lines (70 loc) · 2.42 KB
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
################################################################
#### poetry config ####
################################################################
[project]
name = "brainscore_core"
version = "2.3.5"
description = ""
authors = []
license = { 'file' = 'LICENSE' }
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"tqdm",
"numpy>=1.21,<2.0",
"boto3", # AWS S3 client for brainio lite
"netCDF4", # NetCDF file format for brainio lite
"xarray<2022.6", # groupby bug was introduced in index refactor: https://github.com/pydata/xarray/issues/6836
"pandas", # DataFrames for brainio lite
"Pillow", # Image processing for brainio lite
"psycopg2-binary", # postgres driver
# submission
"fire",
"peewee",
"pybtex",
"requests",
]
[project.optional-dependencies]
test = [
"imageio",
"moto",
"pytest",
"pytest-check",
"pytest-mock",
"requests-mock"]
[build-system]
requires = [
"setuptools>=65,<69",
"wheel"
]
build-backend = "setuptools.build_meta"
################################################################
#### mypy type-checking config ####
################################################################
[tool.pytest.ini_options]
markers = [
"integration: marks tests as integration tests (slow, requires real components)",
"unit: marks tests as unit tests (fast, isolated)",
"slow: marks tests as slow running tests",
"memory_intense: tests requiring more memory than is available in the Travis sandbox (currently 3 GB)",
"travis_slow: tests running for more than 10 minutes without output (which leads Travis to error)",
"private_access: tests that require access to a private resource, such as assemblies on S3 (note that Travis builds originating from forks can not have private access)",
]
# Test discovery patterns
python_files = ["test_*.py", "*_test.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
# Console output
console_output_style = "progress"
# Warnings configuration
filterwarnings = [
"ignore::UserWarning",
"ignore::DeprecationWarning",
"ignore::FutureWarning:brainscore_core.metrics*",
]
################################################################
#### setuptools packaging config ####
################################################################
[tool.setuptools.package-data]
# include bash files (e.g. 'test_plugin.sh') in package install
"brainscore_core.plugin_management" = ["**"]