-
Notifications
You must be signed in to change notification settings - Fork 113
/
tox.ini
44 lines (41 loc) · 1.02 KB
/
tox.ini
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
; Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
; SPDX-License-Identifier: Apache-2.0
[tox]
min_version=4.0
env_list=format, lint
[testenv:format]
skip_install=true
deps=
isort
black
commands=
isort --profile black --diff --skip-glob *lib/python3.11* --check .
black --check .
[flake8]
exclude=
.tox
.venv
node_modules
python3.11
.nightswatch
extend-ignore=
# line length, handled by black
E501,
# whitespace, handled by black
E203,
# TODO: invalid escape sequence '\d'
W605,
[testenv:lint]
deps=-r ./deployment/requirements_dev.txt
commands=
mypy ./simtest
mypy ./source/layer
mypy ./source/Orchestrator
mypy ./source/playbooks/AFSBP/ssmdocs/scripts
mypy ./source/playbooks/common
mypy ./source/playbooks/PCI321/ssmdocs/scripts
mypy ./source/playbooks/SC/ssmdocs/scripts
mypy ./source/solution_deploy/source
mypy ./source/blueprints/jira/ticket_generator
mypy ./source/blueprints/servicenow/ticket_generator
flake8 .