-
Notifications
You must be signed in to change notification settings - Fork 53
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
77 changed files
with
2,442 additions
and
2,088 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,12 @@ | ||
[flake8] | ||
max-line-length = 88 | ||
exclude = | ||
.git | ||
__pycache__ | ||
docs/*.py | ||
examples/*.py | ||
ignore=E203 | ||
|
||
per-file-ignores = | ||
test/*.py:F401,E402 | ||
conftest.py:F401,E402 |
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,17 +1 @@ | ||
# Auto detect text files and perform LF normalization | ||
* text=auto | ||
|
||
# Custom for Visual Studio | ||
*.cs diff=csharp | ||
|
||
# Standard to msysgit | ||
*.doc diff=astextplain | ||
*.DOC diff=astextplain | ||
*.docx diff=astextplain | ||
*.DOCX diff=astextplain | ||
*.dot diff=astextplain | ||
*.DOT diff=astextplain | ||
*.pdf diff=astextplain | ||
*.PDF diff=astextplain | ||
*.rtf diff=astextplain | ||
*.RTF diff=astextplain |
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,29 @@ | ||
on: [push] | ||
|
||
name: 'Tox test cursesmenu' | ||
|
||
jobs: | ||
shellcheck: | ||
name: Tox | ||
|
||
strategy: | ||
matrix: | ||
#os: [macos-latest, ubuntu-latest, windows-latest] | ||
os: [ubuntu-latest] | ||
#python-version: [3.6, 3.7, 3.8, 3.9, pypy3] | ||
python-version: [3.6, 3.7, 3.8, 3.9] | ||
exclude: | ||
- os: windows-latest | ||
python-version: pypy3 | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install Tox and any other packages | ||
run: pip install tox | ||
- name: Run Tox | ||
# Run tox using the version of Python in `PATH` | ||
run: tox -e py |
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,85 @@ | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.0.1 | ||
hooks: | ||
- id: check-added-large-files | ||
- id: check-ast | ||
- id: check-builtin-literals | ||
- id: check-case-conflict | ||
- id: check-docstring-first | ||
- id: check-merge-conflict | ||
- id: check-executables-have-shebangs | ||
- id: check-shebang-scripts-are-executable | ||
- id: check-toml | ||
- id: check-vcs-permalinks | ||
- id: check-yaml | ||
- id: debug-statements | ||
- id: end-of-file-fixer | ||
- id: mixed-line-ending | ||
- id: trailing-whitespace | ||
- id: check-merge-conflict | ||
- repo: https://github.com/psf/black | ||
rev: 21.11b1 | ||
hooks: | ||
- id: black | ||
exclude: ^docs/source/conf.py | ||
language_version: python3 | ||
|
||
- repo: https://github.com/pre-commit/mirrors-mypy | ||
rev: v0.910-1 | ||
hooks: | ||
- id: mypy | ||
exclude: ^docs | ||
additional_dependencies: [types-Deprecated] | ||
- id: mypy | ||
exclude: ^(docs/|test/|examples/|setup.py) | ||
args: [--strict] | ||
additional_dependencies: [types-Deprecated] | ||
|
||
- repo: https://github.com/pre-commit/pygrep-hooks | ||
rev: v1.9.0 | ||
hooks: | ||
- id: python-check-blanket-noqa | ||
- id: python-check-mock-methods | ||
- id: python-no-eval | ||
- id: python-no-log-warn | ||
- id: rst-backticks | ||
- id: rst-directive-colons | ||
- id: rst-inline-touching-normal | ||
|
||
- repo: https://github.com/pycqa/isort | ||
rev: 5.10.1 | ||
hooks: | ||
- id: isort | ||
name: isort (python) | ||
|
||
- repo: https://github.com/PyCQA/flake8 | ||
rev: 4.0.1 | ||
hooks: | ||
- id: flake8 | ||
|
||
- repo: https://github.com/PyCQA/pydocstyle | ||
rev: 6.1.1 | ||
hooks: | ||
- id: pydocstyle | ||
exclude: __init__.py|^(docs/|test/|examples/|setup.py|conftest.py) | ||
additional_dependencies: | ||
- toml | ||
- pydocstyle[toml] | ||
|
||
- repo: https://github.com/asottile/setup-cfg-fmt | ||
rev: v1.20.0 | ||
hooks: | ||
- id: setup-cfg-fmt | ||
args: [--min-py3-version=3.5] | ||
|
||
- repo: https://github.com/asottile/add-trailing-comma | ||
rev: v2.2.1 | ||
hooks: | ||
- id: add-trailing-comma | ||
|
||
- repo: https://github.com/asottile/blacken-docs | ||
rev: v1.12.0 | ||
hooks: | ||
- id: blacken-docs | ||
additional_dependencies: [black==21.5b1] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Version 0.6.0 | ||
------------- | ||
|
||
* Large rewrite and refactor of pretty much everything | ||
* 100% test coverage | ||
* Started using pre-commit for style | ||
* Migrated from Travis to Github actions | ||
* Type checking with mypy | ||
* Better handling of exit item via item groups | ||
* Some ability to test/debug the actual graphical output | ||
* Fixed bugs |
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,5 +1,5 @@ | ||
include *.rst *.md *.txt tox.ini .travis.yml docs/Makefile .ackrc | ||
include *.rst *.md *.txt tox.ini docs/Makefile .ackrc | ||
recursive-include test *.py | ||
recursive-include docs *.rst | ||
recursive-include docs *.py | ||
prune docs/_build | ||
prune docs/_build |
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.