This repository has been archived by the owner on Feb 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This mostly includes plugin code removed from ansible-molecule project as part of modularization. Fixes: ansible/molecule#2310
- Loading branch information
0 parents
commit b0c0490
Showing
15 changed files
with
590 additions
and
0 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,8 @@ | ||
[flake8] | ||
# do not add excludes for files in repo | ||
exclude = .venv/,.tox/,dist/,build/,.eggs/ | ||
format = pylint | ||
# E203: https://github.com/python/black/issues/315 | ||
ignore = E741,W503,W504,H,E501,E203 | ||
# 88 is official black default: | ||
max-line-length = 88 |
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,38 @@ | ||
# Format and labels used aim to match those used by Ansible project | ||
# https://github.com/marketplace/actions/github-labeler | ||
- name: bug | ||
color: "fbca04" | ||
description: "This issue/PR relates to a bug." | ||
- name: deprecated | ||
color: "fef2c0" | ||
description: "This issue/PR relates to a deprecated module." | ||
- name: docs | ||
color: "4071a5" | ||
description: "This issue/PR relates to or includes documentation." | ||
- name: enhancement | ||
color: "ededed" | ||
description: "This issue/PR relates to a feature request." | ||
- name: feature | ||
color: "006b75" | ||
description: "This issue/PR relates to a feature request." | ||
- name: major | ||
color: "c6476b" | ||
description: "Marks an important and likely breaking change." | ||
- name: packaging | ||
color: "4071a5" | ||
description: "Packaging category" | ||
- name: performance | ||
color: "555555" | ||
description: "Relates to product or testing performance." | ||
- name: skip-changelog | ||
color: "eeeeee" | ||
description: "Can be missed from the changelog." | ||
- name: stale | ||
color: "eeeeee" | ||
description: "Not updated in long time, will be closed soon." | ||
- name: wontfix | ||
color: "eeeeee" | ||
description: "This will not be worked on" | ||
- name: test | ||
color: "0e8a16" | ||
description: "This PR relates to tests, QA, CI." |
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,27 @@ | ||
# Format and labels used aim to match those used by Ansible project | ||
categories: | ||
- title: 'Major Changes' | ||
labels: | ||
- 'major' # c6476b | ||
- title: 'Minor Changes' | ||
labels: | ||
- 'feature' # 006b75 | ||
- 'enhancement' # ededed | ||
- 'performance' # 555555 | ||
- title: 'Bugfixes' | ||
labels: | ||
- 'fix' | ||
- 'bugfix' | ||
- 'bug' # fbca04 | ||
- 'docs' # 4071a5 | ||
- 'packaging' # 4071a5 | ||
- 'test' # #0e8a16 | ||
- title: 'Deprecations' | ||
labels: | ||
- 'deprecated' # fef2c0 | ||
exclude-labels: | ||
- 'skip-changelog' | ||
template: | | ||
## Changes | ||
$CHANGES |
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,105 @@ | ||
# Byte-compiled / optimized / DLL files | ||
__pycache__/ | ||
*.py[cod] | ||
*$py.class | ||
|
||
# C extensions | ||
*.so | ||
|
||
# Distribution / packaging | ||
.Python | ||
build/ | ||
develop-eggs/ | ||
dist/ | ||
downloads/ | ||
eggs/ | ||
.eggs/ | ||
lib/ | ||
lib64/ | ||
parts/ | ||
sdist/ | ||
var/ | ||
wheels/ | ||
*.egg-info/ | ||
.installed.cfg | ||
*.egg | ||
MANIFEST | ||
|
||
# PyInstaller | ||
# Usually these files are written by a python script from a template | ||
# before PyInstaller builds the exe, so as to inject date/other infos into it. | ||
*.manifest | ||
*.spec | ||
|
||
# Installer logs | ||
pip-log.txt | ||
pip-delete-this-directory.txt | ||
|
||
# Unit test / coverage reports | ||
htmlcov/ | ||
.tox/ | ||
.coverage | ||
.coverage.* | ||
.cache | ||
nosetests.xml | ||
coverage.xml | ||
*.cover | ||
.hypothesis/ | ||
.pytest_cache/ | ||
|
||
# Translations | ||
*.mo | ||
*.pot | ||
|
||
# Django stuff: | ||
*.log | ||
local_settings.py | ||
db.sqlite3 | ||
|
||
# Flask stuff: | ||
instance/ | ||
.webassets-cache | ||
|
||
# Scrapy stuff: | ||
.scrapy | ||
|
||
# Sphinx documentation | ||
docs/_build/ | ||
|
||
# PyBuilder | ||
target/ | ||
|
||
# Jupyter Notebook | ||
.ipynb_checkpoints | ||
|
||
# pyenv | ||
.python-version | ||
|
||
# celery beat schedule file | ||
celerybeat-schedule | ||
|
||
# SageMath parsed files | ||
*.sage.py | ||
|
||
# Environments | ||
.env | ||
.venv | ||
env/ | ||
venv/ | ||
ENV/ | ||
env.bak/ | ||
venv.bak/ | ||
|
||
# Spyder project settings | ||
.spyderproject | ||
.spyproject | ||
|
||
# Rope project settings | ||
.ropeproject | ||
|
||
# mkdocs documentation | ||
/site | ||
|
||
# mypy | ||
.mypy_cache/ | ||
pip-wheel-metadata |
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,46 @@ | ||
--- | ||
repos: | ||
- repo: https://github.com/PyCQA/doc8.git | ||
rev: 0.8.1rc2 | ||
hooks: | ||
- id: doc8 | ||
- repo: https://github.com/python/black.git | ||
rev: 19.3b0 | ||
hooks: | ||
- id: black | ||
language_version: python3 | ||
- repo: https://github.com/pre-commit/pre-commit-hooks.git | ||
rev: v2.3.0 | ||
hooks: | ||
- id: end-of-file-fixer | ||
- id: trailing-whitespace | ||
- id: mixed-line-ending | ||
- id: check-byte-order-marker | ||
- id: check-executables-have-shebangs | ||
- id: check-merge-conflict | ||
- id: debug-statements | ||
- repo: https://gitlab.com/pycqa/flake8.git | ||
rev: 3.7.8 | ||
hooks: | ||
- id: flake8 | ||
additional_dependencies: | ||
- flake8-black | ||
- repo: https://github.com/adrienverge/yamllint.git | ||
rev: v1.18.0 | ||
hooks: | ||
- id: yamllint | ||
files: \.(yaml|yml)$ | ||
types: [file, yaml] | ||
entry: yamllint --strict | ||
- repo: https://github.com/codespell-project/codespell.git | ||
rev: v1.16.0 | ||
hooks: | ||
- id: codespell | ||
name: codespell | ||
description: Checks for common misspellings in text files. | ||
entry: codespell | ||
language: python | ||
types: [text] | ||
args: [] | ||
require_serial: false | ||
additional_dependencies: [] |
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,54 @@ | ||
--- | ||
conditions: v1 | ||
dist: xenial | ||
# Config file for automatic testing at travis-ci.org | ||
services: | ||
- docker | ||
language: python | ||
|
||
jobs: | ||
fast_finish: true | ||
include: | ||
# combined env improve execution speed on travis considerably | ||
- name: lint,py37,distros | ||
python: "3.7" | ||
env: TOXENV=lint,py37,distros | ||
- name: py36 | ||
python: "3.6" | ||
env: TOXENV=py36 | ||
- name: py35 | ||
python: "3.5" | ||
env: TOXENV=py35 | ||
- name: py27 | ||
python: "2.7" | ||
env: TOXENV=py27 | ||
- name: devel | ||
python: "3.7" | ||
env: TOXENV=devel | ||
- stage: deploy | ||
name: deploy | ||
env: TOXENV=upload | ||
if: repo == "pycontribs/pytest-molecule" AND tag IS present AND type != cron | ||
addons: {} | ||
services: [] | ||
|
||
install: | ||
- pip install tox | ||
|
||
script: | ||
- travis_wait tox | ||
|
||
before_cache: | ||
- rm -rf $HOME/.cache/pip/log | ||
|
||
cache: | ||
directories: | ||
- $HOME/.cache/pip | ||
|
||
addons: | ||
apt: | ||
packages: | ||
- lxc | ||
- lxc-dev | ||
- lxd | ||
- lxd-client |
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,16 @@ | ||
--- | ||
extends: default | ||
ignore: | | ||
.tox | ||
|
||
rules: | ||
braces: | ||
max-spaces-inside: 1 | ||
level: error | ||
brackets: | ||
max-spaces-inside: 1 | ||
level: error | ||
document-start: disable | ||
line-length: disable | ||
truthy: | ||
allowed-values: ['true', 'false', 'on'] |
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,22 @@ | ||
|
||
The MIT License (MIT) | ||
|
||
Copyright (c) 2019 Sorin Sbarnea | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. |
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,5 @@ | ||
include LICENSE | ||
include README.rst | ||
|
||
recursive-exclude * __pycache__ | ||
recursive-exclude * *.py[co] |
Oops, something went wrong.