-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New definition attributes Support for Keepass and Ansible-vault source formats Support for auto-generated ANSIBLE_PASSWORD_FILE New input handling via STDIN and Python-getpass Better error handling Improved documentation Lots and lots of tests Migrate project to more recent version of slap-cli for appdev management
- Loading branch information
Showing
120 changed files
with
2,631 additions
and
1,905 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,23 @@ | ||
[flake8] | ||
max-line-length = 120 | ||
|
||
# Black can yield formatted code that triggers these Flake8 warnings. | ||
ignore = | ||
|
||
# Line break occurred before a binary operator (W503) - https://www.flake8rules.com/rules/W503.html | ||
W503 | ||
|
||
# Line break occurred after a binary operator (W504) - https://www.flake8rules.com/rules/W504.html | ||
W504 | ||
|
||
# E501 line too long (151 > 120 characters) - https://www.flake8rules.com/rules/E501.html | ||
E501 | ||
|
||
per-file-ignores = | ||
|
||
# Module imported but unused (F401) - https://www.flake8rules.com/rules/F401.html | ||
tests/**.py: F401 | ||
|
||
# W293 blank line contains whitespace - https://www.flake8rules.com/rules/W293.html | ||
# W291 trailing whitespace - https://www.flake8rules.com/rules/W291.html | ||
src/env_alias/main.py: W293, W291 |
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,126 +1,30 @@ | ||
# 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/ | ||
pip-wheel-metadata/ | ||
share/python-wheels/ | ||
*.egg-info/ | ||
.installed.cfg | ||
*.py[cod] | ||
*.egg-info | ||
*.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/ | ||
.nox/ | ||
.coverage | ||
.coverage.* | ||
.cache | ||
nosetests.xml | ||
coverage.xml | ||
*.cover | ||
.hypothesis/ | ||
venv*/ | ||
.venv*/ | ||
.idea/ | ||
.pytest_cache/ | ||
__pycache__/ | ||
.pytest*/ | ||
|
||
# Translations | ||
*.mo | ||
*.pot | ||
|
||
# Django stuff: | ||
*.log | ||
local_settings.py | ||
db.sqlite3 | ||
db.sqlite3-journal | ||
|
||
# Flask stuff: | ||
instance/ | ||
.webassets-cache | ||
|
||
# Scrapy stuff: | ||
.scrapy | ||
|
||
# Sphinx documentation | ||
docs/_build/ | ||
|
||
# PyBuilder | ||
target/ | ||
|
||
# Jupyter Notebook | ||
.ipynb_checkpoints | ||
|
||
# IPython | ||
profile_default/ | ||
ipython_config.py | ||
|
||
# pyenv | ||
.python-version | ||
|
||
# pipenv | ||
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. | ||
# However, in case of collaboration, if having platform-specific dependencies or dependencies | ||
# having no cross-platform support, pipenv may install dependencies that don't work, or not | ||
# install all needed dependencies. | ||
#Pipfile.lock | ||
|
||
# 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 | ||
dev/ | ||
dev.py | ||
samples/ | ||
docs/_site | ||
|
||
# mkdocs documentation | ||
/site | ||
dist/ | ||
build/ | ||
packages/ | ||
|
||
# mypy | ||
.mypy_cache/ | ||
/.vscode | ||
/dist | ||
/build | ||
.venv/ | ||
*.egg-info/ | ||
poetry.lock | ||
.dmypy.json | ||
dmypy.json | ||
|
||
# Pyre type checker | ||
.pyre/ | ||
|
||
.idea | ||
profiler.html |
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,10 +1,23 @@ | ||
|
||
version: 2 | ||
|
||
mkdocs: {} # tell readthedocs to use mkdocs | ||
mkdocs: | ||
configuration: "docs/mkdocs.yml" | ||
|
||
build: | ||
os: ubuntu-22.04 | ||
tools: | ||
python: "3.10" | ||
jobs: | ||
pre_build: | ||
- pip install mkdocs-material==9.1.21 # https://pypi.org/project/mkdocs-material/#history | ||
- pip install pydoc-markdown==4.8.2 # https://pypi.org/project/pydoc-markdown/#history | ||
- pip install novella==0.2.6 # https://pypi.org/project/novella/#history | ||
- cd docs && novella --base-url /en/latest/ | ||
post_build: | ||
- rm -Rf $READTHEDOCS_OUTPUT/html | ||
- mv docs/_site $READTHEDOCS_OUTPUT/html | ||
|
||
python: | ||
version: 3.8 | ||
install: | ||
- method: pip | ||
path: . | ||
- requirements: docs/.readthedocs-requirements.txt | ||
# README: the post_build steps give effect to removing the content generated by the readthedocs build system | ||
# whereby they do a "python -m mkdocs build ..."; there seems to be no way to stop that build step running so | ||
# as a post_build action we remove and move our novella rendered content into place |
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,13 @@ | ||
# Safety Security and License Configuration file | ||
# https://docs.pyup.io/docs/safety-20-policy-file | ||
|
||
security: | ||
ignore-cvss-severity-below: 0 | ||
ignore-cvss-unknown-severity: False | ||
ignore-vulnerabilities: | ||
70612: # Vulnerability found in jinja2 version 3.1.4 - https://data.safetycli.com/v/70612/97c | ||
expires: '2024-12-30' | ||
66742: # Vulnerability found in black version 23.12.1 - https://data.safetycli.com/v/66742/97c | ||
expires: '2024-12-30' | ||
|
||
continue-on-vulnerability-error: False |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.