Tooling work
This commit is contained in:
parent
7342bb3991
commit
6156cc2e4f
5 changed files with 11 additions and 11 deletions
tools/python
|
@ -7,4 +7,5 @@ import pytest
|
|||
|
||||
if __name__ == "__main__":
|
||||
cmdline = ["--ignore=external"] + sys.argv[1:]
|
||||
print(cmdline, file=sys.stderr)
|
||||
sys.exit(pytest.main(cmdline))
|
||||
|
|
|
@ -201,7 +201,7 @@ def py_project(name=None,
|
|||
for src in test_srcs:
|
||||
if "test_" in src:
|
||||
py_pytest(
|
||||
name=name + ".test." + str(hash(src)).replace("-", "") + "." + src.split("/")[-1],
|
||||
name=src.split("/")[-1],
|
||||
srcs=[src] + [f for f in test_srcs if "test_" not in f],
|
||||
deps=[name] + (test_deps or []),
|
||||
data=test_data,
|
||||
|
|
|
@ -5,7 +5,6 @@ attrs==20.3.0
|
|||
autoflake==1.4
|
||||
Babel==2.9.0
|
||||
beautifulsoup4==4.9.3
|
||||
bleach==4.0.0
|
||||
certifi==2020.12.5
|
||||
chardet==4.0.0
|
||||
click==7.1.2
|
||||
|
@ -24,6 +23,7 @@ itsdangerous==2.0.1
|
|||
jedi==0.18.0
|
||||
Jinja2==3.0.1
|
||||
jsonschema==3.2.0
|
||||
lark==0.11.1
|
||||
livereload==2.6.3
|
||||
lxml==4.6.3
|
||||
m2r==0.2.1
|
||||
|
@ -38,7 +38,6 @@ openapi-spec-validator==0.3.0
|
|||
packaging==20.9
|
||||
parso==0.8.2
|
||||
pathspec==0.8.1
|
||||
pep517==0.11.0
|
||||
pip-tools==6.2.0
|
||||
pluggy==0.13.1
|
||||
port-for==0.6.1
|
||||
|
@ -78,7 +77,6 @@ sphinxcontrib-programoutput==0.17
|
|||
sphinxcontrib-qthelp==1.0.3
|
||||
sphinxcontrib-serializinghtml==1.1.4
|
||||
toml==0.10.2
|
||||
tomli==1.2.1
|
||||
tornado==6.1
|
||||
typed-ast==1.4.2
|
||||
typing-extensions==3.7.4.3
|
||||
|
@ -87,9 +85,7 @@ untokenize==0.1.1
|
|||
urllib3==1.26.4
|
||||
urwid==2.1.2
|
||||
wcwidth==0.2.5
|
||||
webencodings==0.5.1
|
||||
Werkzeug==2.0.1
|
||||
yamllint==1.26.1
|
||||
yarl==1.6.3
|
||||
yaspin==1.5.0
|
||||
zipp==3.5.0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue