-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathConfig
75 lines (63 loc) · 2.36 KB
/
Config
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
package.Vontss = {
interfaces = (1.0);
# See https://w.amazon.com/?BrazilPython3
build-system = brazilpython;
build-tools = {
1.0 = {
BrazilPython = 3.0;
};
};
dependencies = {
1.0 = {
# Deploy the default python interpreter for your versionset. This
# guarantees `$ENVROOT/bin/python` and the specific interpreter
# version it resolves to will exist in your deployment.
#
# This is only needed for application packages that will be run
# from the CLI; if you are making a library, this is not needed.
#
# Python = default;
# Uncomment if you want working auto-created bin wrapper scripts.
# See setup.py
#
# Python-setuptools = default;
};
};
test-dependencies = {
1.0 = {
# Run tests with py.test in BrazilPython.
BrazilPython-Pytest = 6.x;
# Coverage for Python tests.
Python-Pytest-cov = 3.x;
Coverage = 6.x;
# Enable the guard command to watch tests and automatically re-run them
BrazilPython-Pytest-Guard = any;
# Publish test results to Brazil's test and coverage detection
BrazilPythonTestSupport = 3.0;
# Sphinx documentation with Amazon customizations so that
# links on code.amazon.com work
Python-amazon-doc-utils = 1.0;
Sphinx = 5.x;
# Dependencies for formatting checks. Controlled in `setup.cfg` and
# `pyproject.toml`
BrazilPython-formatters = 1.0;
Python-black = no1;
Python-isort = 5.x;
# Dependencies for type checking. Controlled in `setup.cfg` and
# `pyproject.toml`
BrazilPython-mypy = any;
Python-mypy = 1.x;
# Dependencies for build-time linting. Controlled in `setup.cfg`
BrazilPython-Flake8 = any;
Python-flake8 = 5.x;
Python-pep8-naming = 0.x;
# Uncomment if you want to make flake8 check docstrings
# Python-flake8-docstrings = 1.x;
};
};
targets = {
# see setup.py for the actual build logic
# keep this line for brazil-path to work
python = { type = python; };
};
};