-
Notifications
You must be signed in to change notification settings - Fork 211
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
213 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
version: '{branch}-{build}' | ||
build: off | ||
environment: | ||
matrix: | ||
- TOXENV: check | ||
TOXPYTHON: C:\Python36\python.exe | ||
PYTHON_HOME: C:\Python36 | ||
PYTHON_VERSION: '3.6' | ||
PYTHON_ARCH: '32' | ||
- TOXENV: py27 | ||
TOXPYTHON: C:\Python27\python.exe | ||
PYTHON_HOME: C:\Python27 | ||
PYTHON_VERSION: '2.7' | ||
PYTHON_ARCH: '32' | ||
- TOXENV: py27 | ||
TOXPYTHON: C:\Python27-x64\python.exe | ||
PYTHON_HOME: C:\Python27-x64 | ||
PYTHON_VERSION: '2.7' | ||
PYTHON_ARCH: '64' | ||
WINDOWS_SDK_VERSION: v7.0 | ||
- TOXENV: py35 | ||
TOXPYTHON: C:\Python35\python.exe | ||
PYTHON_HOME: C:\Python35 | ||
PYTHON_VERSION: '3.5' | ||
PYTHON_ARCH: '32' | ||
- TOXENV: py35 | ||
TOXPYTHON: C:\Python35-x64\python.exe | ||
PYTHON_HOME: C:\Python35-x64 | ||
PYTHON_VERSION: '3.5' | ||
PYTHON_ARCH: '64' | ||
- TOXENV: py36 | ||
TOXPYTHON: C:\Python36\python.exe | ||
PYTHON_HOME: C:\Python36 | ||
PYTHON_VERSION: '3.6' | ||
PYTHON_ARCH: '32' | ||
- TOXENV: py36 | ||
TOXPYTHON: C:\Python36-x64\python.exe | ||
PYTHON_HOME: C:\Python36-x64 | ||
PYTHON_VERSION: '3.6' | ||
PYTHON_ARCH: '64' | ||
- TOXENV: py37 | ||
TOXPYTHON: C:\Python37\python.exe | ||
PYTHON_HOME: C:\Python37 | ||
PYTHON_VERSION: '3.7' | ||
PYTHON_ARCH: '32' | ||
- TOXENV: py37 | ||
TOXPYTHON: C:\Python37-x64\python.exe | ||
PYTHON_HOME: C:\Python37-x64 | ||
PYTHON_VERSION: '3.7' | ||
PYTHON_ARCH: '64' | ||
- TOXENV: py38 | ||
TOXPYTHON: C:\Python38\python.exe | ||
PYTHON_HOME: C:\Python38 | ||
PYTHON_VERSION: '3.8' | ||
PYTHON_ARCH: '32' | ||
- TOXENV: py38 | ||
TOXPYTHON: C:\Python38-x64\python.exe | ||
PYTHON_HOME: C:\Python38-x64 | ||
PYTHON_VERSION: '3.8' | ||
PYTHON_ARCH: '64' | ||
init: | ||
- ps: echo $env:TOXENV | ||
- ps: ls C:\Python* | ||
install: | ||
- '%PYTHON_HOME%\python -mpip install --progress-bar=off tox -rci/requirements.txt' | ||
- '%PYTHON_HOME%\Scripts\virtualenv --version' | ||
- '%PYTHON_HOME%\Scripts\easy_install --version' | ||
- '%PYTHON_HOME%\Scripts\pip --version' | ||
- '%PYTHON_HOME%\Scripts\tox --version' | ||
test_script: | ||
- cmd /E:ON /V:ON /C .\ci\appveyor-with-compiler.cmd %PYTHON_HOME%\Scripts\tox | ||
on_failure: | ||
- ps: dir "env:" | ||
- ps: get-content .tox\*\log\* | ||
|
||
### To enable remote debugging uncomment this (also, see: http://www.appveyor.com/docs/how-to/rdp-to-build-worker): | ||
# on_finish: | ||
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,56 @@ | ||
# Generated by cookiepatcher, a small shim around cookiecutter (pip install cookiepatcher) | ||
|
||
cookiecutter: | ||
appveyor: 'yes' | ||
c_extension_cython: 'no' | ||
c_extension_optional: 'no' | ||
c_extension_support: 'no' | ||
codacy: 'yes' | ||
codeclimate: 'yes' | ||
codecov: 'no' | ||
command_line_interface: 'no' | ||
command_line_interface_bin_name: pytest-cov | ||
coveralls: 'no' | ||
_extensions: | ||
- jinja2_time.TimeExtension | ||
_template: /home/ionel/open-source/cookiecutter-pylibrary | ||
allow_tests_inside_package: no | ||
appveyor: yes | ||
c_extension_function: '-' | ||
c_extension_module: '-' | ||
c_extension_optional: no | ||
c_extension_support: no | ||
c_extension_test_pypi: no | ||
c_extension_test_pypi_username: '-' | ||
codacy: no | ||
codacy_projectid: '[Get ID from https://app.codacy.com/app/ionelmc/pytest-cov/settings]' | ||
codeclimate: no | ||
codecov: no | ||
command_line_interface: no | ||
command_line_interface_bin_name: '-' | ||
coveralls: no | ||
coveralls_token: '[Required for Appveyor, take it from https://coveralls.io/github/ionelmc/pytest-cov]' | ||
distribution_name: pytest-cov | ||
email: [email protected] | ||
full_name: Ionel Cristian Mărieș | ||
github_username: pytest-dev | ||
landscape: 'yes' | ||
landscape: no | ||
license: MIT license | ||
linter: flake8 | ||
package_name: pytest_cov | ||
pre_commit: yes | ||
project_name: pytest-cov | ||
project_short_description: This plugin produces coverage reports. It supports | ||
centralised testing and distributed testing in both load and each modes. It | ||
also supports coverage of subprocesses. | ||
release_date: '2016-10-10' | ||
project_short_description: This plugin produces coverage reports. It supports centralised testing and distributed testing in both load and each modes. It also supports coverage of subprocesses. | ||
pypi_badge: yes | ||
pypi_disable_upload: no | ||
release_date: '2020-06-12' | ||
repo_hosting: github.com | ||
repo_hosting_domain: github.com | ||
repo_name: pytest-cov | ||
requiresio: 'yes' | ||
scrutinizer: 'yes' | ||
sphinx_doctest: 'no' | ||
repo_username: pytest-dev | ||
requiresio: yes | ||
scrutinizer: no | ||
setup_py_uses_setuptools_scm: no | ||
setup_py_uses_test_runner: no | ||
sphinx_docs: yes | ||
sphinx_docs_hosting: https://pytest-cov.readthedocs.io/ | ||
sphinx_doctest: no | ||
sphinx_theme: sphinx-py3doc-enhanced-theme | ||
test_matrix_configurator: 'no' | ||
test_matrix_separate_coverage: 'no' | ||
test_matrix_configurator: no | ||
test_matrix_separate_coverage: no | ||
test_runner: pytest | ||
travis: 'yes' | ||
version: 2.4.0 | ||
travis: yes | ||
travis_osx: no | ||
version: 2.10.0 | ||
website: http://blog.ionelmc.ro | ||
year: now | ||
year_from: '2010' | ||
year_to: '2020' |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# To install the git pre-commit hook run: | ||
# pre-commit install | ||
# To update the pre-commit hooks run: | ||
# pre-commit install-hooks | ||
exclude: '^(.tox|ci/templates|.bumpversion.cfg)(/|$)' | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: master | ||
hooks: | ||
- id: trailing-whitespace | ||
- id: end-of-file-fixer | ||
- id: debug-statements | ||
- repo: https://github.com/timothycrosley/isort | ||
rev: master | ||
hooks: | ||
- id: isort | ||
- repo: https://gitlab.com/pycqa/flake8 | ||
rev: master | ||
hooks: | ||
- id: flake8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,5 @@ python: | |
version: 3 | ||
install: | ||
- requirements: docs/requirements.txt | ||
- method: pip | ||
path: . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,15 +41,15 @@ To set up `pytest-cov` for local development: | |
(look for the "Fork" button). | ||
2. Clone your fork locally:: | ||
|
||
git clone [email protected]:your_name_here/pytest-cov.git | ||
git clone [email protected]:YOURGITHUBNAME/pytest-cov.git | ||
|
||
3. Create a branch for local development:: | ||
|
||
git checkout -b name-of-your-bugfix-or-feature | ||
|
||
Now you can make your changes locally. | ||
|
||
4. When you're done making changes, run all the checks, doc builder and spell checker with `tox <http://tox.readthedocs.io/en/latest/install.html>`_ one command:: | ||
4. When you're done making changes run all the checks and docs builder with `tox <https://tox.readthedocs.io/en/latest/install.html>`_ one command:: | ||
|
||
tox | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
:: Very simple setup: | ||
:: - if WINDOWS_SDK_VERSION is set then activate the SDK. | ||
:: - disable the WDK if it's around. | ||
|
||
SET COMMAND_TO_RUN=%* | ||
SET WIN_SDK_ROOT=C:\Program Files\Microsoft SDKs\Windows | ||
SET WIN_WDK="c:\Program Files (x86)\Windows Kits\10\Include\wdf" | ||
ECHO SDK: %WINDOWS_SDK_VERSION% ARCH: %PYTHON_ARCH% | ||
|
||
IF EXIST %WIN_WDK% ( | ||
REM See: https://connect.microsoft.com/VisualStudio/feedback/details/1610302/ | ||
REN %WIN_WDK% 0wdf | ||
) | ||
IF "%WINDOWS_SDK_VERSION%"=="" GOTO main | ||
|
||
SET DISTUTILS_USE_SDK=1 | ||
SET MSSdk=1 | ||
"%WIN_SDK_ROOT%\%WINDOWS_SDK_VERSION%\Setup\WindowsSdkVer.exe" -q -version:%WINDOWS_SDK_VERSION% | ||
CALL "%WIN_SDK_ROOT%\%WINDOWS_SDK_VERSION%\Bin\SetEnv.cmd" /x64 /release | ||
|
||
:main | ||
ECHO Executing: %COMMAND_TO_RUN% | ||
CALL %COMMAND_TO_RUN% || EXIT 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
virtualenv>=16.6.0 | ||
pip>=19.1.1 | ||
setuptools>=18.0.1 | ||
six>=1.14.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.