mirror of
https://github.com/microsoft/debugpy.git
synced 2025-12-23 08:48:12 +00:00
Remove code coverage. (#1043)
Remove setup.py test (doesn't work with Tox).
This commit is contained in:
parent
cd5645da0d
commit
b5b1e4145e
6 changed files with 1 additions and 42 deletions
13
.coveragerc
13
.coveragerc
|
|
@ -1,13 +0,0 @@
|
|||
[run]
|
||||
branch = True
|
||||
source = src
|
||||
|
||||
[report]
|
||||
ignore_errors = True
|
||||
exclude_lines =
|
||||
if self.debug:
|
||||
pragma: no cover
|
||||
raise NotImplementedError
|
||||
if __name__ == .__main__.:
|
||||
omit =
|
||||
src/ptvsd/_vendored/*
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
[flake8]
|
||||
format = junit-xml
|
||||
output-file = .\linter-test.xml
|
||||
|
|
@ -27,12 +27,3 @@ install:
|
|||
|
||||
script:
|
||||
- tox
|
||||
|
||||
# TODO: re-enable after https://github.com/Microsoft/ptvsd/issues/1033
|
||||
# after_success:
|
||||
# - |
|
||||
# if [[ $TRAVIS_PYTHON_VERSION != '2.7' ]]; then
|
||||
# pushd src
|
||||
# bash <(curl -s https://codecov.io/bash)
|
||||
# popd
|
||||
# fi
|
||||
|
|
|
|||
|
|
@ -7,7 +7,5 @@
|
|||
"settings": {
|
||||
"python.linting.enabled": true,
|
||||
"python.linting.pylintEnabled": false,
|
||||
// "python.unitTest.pyTestEnabled": true,
|
||||
// "python.unitTest.pyTestArgs": ["--no-cov"],
|
||||
}
|
||||
}
|
||||
|
|
|
|||
11
setup.py
11
setup.py
|
|
@ -61,17 +61,6 @@ if __name__ == '__main__':
|
|||
author_email='ptvshelp@microsoft.com',
|
||||
url='https://aka.ms/ptvs',
|
||||
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*',
|
||||
setup_requires=['pytest_runner>=4.2'],
|
||||
tests_require=[
|
||||
'pytest>=3.8',
|
||||
'pytest-timeout>=1.3',
|
||||
'psutil>=5.4',
|
||||
'requests',
|
||||
'flask',
|
||||
'django',
|
||||
'pygments>=2.2',
|
||||
'colorama>=0.3',
|
||||
],
|
||||
classifiers=[
|
||||
'Development Status :: 5 - Production/Stable',
|
||||
'Programming Language :: Python :: 2.7',
|
||||
|
|
|
|||
5
tox.ini
5
tox.ini
|
|
@ -3,7 +3,4 @@ envlist = py{27,34,35,36,37}
|
|||
|
||||
[testenv]
|
||||
deps = -rtest_requirements.txt
|
||||
setenv =
|
||||
COVERAGE_FILE = .coverage.{envname}
|
||||
commands =
|
||||
pytest {posargs:-vv}
|
||||
commands = pytest {posargs:-vv}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue