Skip to content

Commit eaef734

Browse files
committed
Update __main__.py
1 parent 4ad7add commit eaef734

File tree

1 file changed

+6
-13
lines changed

1 file changed

+6
-13
lines changed

ci/__main__.py

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,7 @@
9595
import subprocess
9696
import sys
9797
from contextlib import contextmanager
98-
from shutil import copy as copyfile
99-
from shutil import rmtree
98+
from shutil import copy as copyfile, rmtree
10099
from tempfile import mkdtemp
101100

102101
import click
@@ -242,14 +241,7 @@ def cli():
242241
def install(runtime, toolkit, environment, editable, source):
243242
"""Install project and dependencies into a clean EDM environment."""
244243
parameters = get_parameters(runtime, toolkit, environment)
245-
packages = (
246-
dependencies
247-
# | extra_dependencies.get(toolkit, set())
248-
# | extra_dependencies["test"]
249-
# | extra_dependencies["examples"]
250-
# | extra_dependencies["editors"]
251-
| ci_dependencies
252-
)
244+
packages = (dependencies | ci_dependencies)
253245

254246
# edm commands to setup the development environment
255247
commands = [
@@ -508,7 +500,8 @@ def flake8(runtime, toolkit, environment, strict):
508500
if strict:
509501
config = "--config=flake8_strict.cfg "
510502
commands = [
511-
"edm run -e {environment} -- python -m flake8 " + config,
503+
"edm run -e {environment} -- python -m flake8 --ignore=H101 "
504+
"--exclude=build" + config,
512505
]
513506
execute(commands, parameters)
514507

@@ -630,8 +623,8 @@ def get_parameters(runtime, toolkit, environment):
630623
}
631624
if toolkit not in supported_combinations[runtime]:
632625
msg = (
633-
"Python {runtime} and toolkit {toolkit} not supported by "
634-
+ "test environments"
626+
"Python {runtime} and toolkit {toolkit} not supported by "
627+
"test environments"
635628
)
636629
raise RuntimeError(msg.format(**parameters))
637630
if environment is None:

0 commit comments

Comments
 (0)