-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from iterative/devel
- Loading branch information
Showing
13 changed files
with
173 additions
and
215 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
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,4 +1,5 @@ | ||
*.py[cod] | ||
/shtab/_dist_ver.py | ||
|
||
# Packages | ||
shtab.egg-info/ | ||
|
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,25 +1,32 @@ | ||
default_language_version: | ||
python: python3 | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v2.4.0 | ||
hooks: | ||
- id: check-added-large-files | ||
- id: check-case-conflict | ||
- id: check-docstring-first | ||
- id: check-executables-have-shebangs | ||
- id: check-toml | ||
- id: check-yaml | ||
- id: end-of-file-fixer | ||
- id: mixed-line-ending | ||
- id: trailing-whitespace | ||
- hooks: | ||
- id: flake8 | ||
additional_dependencies: | ||
- flake8-bugbear | ||
- flake8-comprehensions | ||
- flake8-debugger | ||
- flake8-string-format | ||
repo: https://gitlab.com/pycqa/flake8 | ||
rev: 3.8.4 | ||
- hooks: | ||
- args: | ||
- -l | ||
- '79' | ||
- -t | ||
- py27 | ||
id: black | ||
language_version: python3 | ||
- id: black | ||
repo: https://github.com/psf/black | ||
rev: 19.10b0 | ||
- repo: https://github.com/asottile/seed-isort-config | ||
rev: v2.2.0 | ||
hooks: | ||
- id: seed-isort-config | ||
- hooks: | ||
- id: isort | ||
language_version: python3 | ||
repo: https://github.com/timothycrosley/isort | ||
rev: 4.3.21 | ||
- hooks: | ||
- id: flake8 | ||
language_version: python3 | ||
repo: https://gitlab.com/pycqa/flake8 | ||
rev: 3.8.3 | ||
rev: 5.6.4 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[build-system] | ||
requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=3.4"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.setuptools_scm] | ||
write_to = "shtab/_dist_ver.py" | ||
write_to_template = "__version__ = '{version}'\n" | ||
|
||
[tool.black] | ||
target-version = ['py27', 'py36'] |
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,3 +1,5 @@ | ||
pre-commit | ||
twine | ||
wheel | ||
pytest | ||
pytest-cov |
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,18 +1,83 @@ | ||
[metadata] | ||
name=shtab | ||
description=Automatically generate shell tab completion scripts for python CLI apps | ||
long_description=file: README.rst | ||
long_description_content_type=text/x-rst | ||
license=Apache-2.0 | ||
license_file=LICENCE | ||
url=https://github.com/iterative/shtab | ||
project_urls= | ||
Changelog=https://github.com/iterative/shtab/releases | ||
Documentation=https://github.com/iterative/shtab/#shtab | ||
maintainer=Casper da Costa-Luis | ||
maintainer_email[email protected] | ||
keywords=tab, complete, completion, shell, bash, zsh, argparse | ||
platforms=any | ||
provides=shtab | ||
classifiers= | ||
Development Status :: 4 - Beta | ||
Environment :: Console | ||
Environment :: MacOS X | ||
Environment :: Other Environment | ||
Intended Audience :: Developers | ||
Intended Audience :: Education | ||
Intended Audience :: End Users/Desktop | ||
Intended Audience :: Other Audience | ||
Intended Audience :: System Administrators | ||
License :: OSI Approved :: Apache Software License | ||
Operating System :: MacOS | ||
Operating System :: MacOS :: MacOS X | ||
Operating System :: POSIX | ||
Operating System :: POSIX :: BSD | ||
Operating System :: POSIX :: BSD :: FreeBSD | ||
Operating System :: POSIX :: Linux | ||
Operating System :: POSIX :: SunOS/Solaris | ||
Operating System :: Unix | ||
Programming Language :: Other Scripting Engines | ||
Programming Language :: Python | ||
Programming Language :: Python :: 2 | ||
Programming Language :: Python :: 2.7 | ||
Programming Language :: Python :: 3 | ||
Programming Language :: Python :: 3.6 | ||
Programming Language :: Python :: 3.7 | ||
Programming Language :: Python :: 3.8 | ||
Programming Language :: Python :: 3.9 | ||
Programming Language :: Python :: Implementation | ||
Programming Language :: Python :: Implementation :: IronPython | ||
Programming Language :: Python :: Implementation :: PyPy | ||
Programming Language :: Unix Shell | ||
Topic :: Desktop Environment | ||
Topic :: Education :: Computer Aided Instruction (CAI) | ||
Topic :: Education :: Testing | ||
Topic :: Office/Business | ||
Topic :: Other/Nonlisted Topic | ||
Topic :: Software Development :: Build Tools | ||
Topic :: Software Development :: Libraries | ||
Topic :: Software Development :: Libraries :: Python Modules | ||
Topic :: Software Development :: Pre-processors | ||
Topic :: Software Development :: User Interfaces | ||
Topic :: System :: Installation/Setup | ||
Topic :: System :: Shells | ||
Topic :: System :: System Shells | ||
Topic :: Terminals | ||
Topic :: Utilities | ||
[options] | ||
setup_requires=setuptools>=42; setuptools_scm[toml]>=3.4 | ||
install_requires= | ||
argparse; python_version < "2.7" or ("3.0" <= python_version and python_version < "3.2") | ||
python_requires= >=2.7, !=3.0.*, !=3.1.* | ||
packages=find: | ||
[options.entry_points] | ||
console_scripts= | ||
shtab=shtab.main:main | ||
[bdist_wheel] | ||
universal=1 | ||
|
||
[flake8] | ||
max_line_length=79 | ||
ignore= | ||
W503 | ||
D100 | ||
D103 | ||
D105 | ||
exclude=.tox,build,dist,.git,__pycache__ | ||
max_line_length=88 | ||
extend-ignore=E203,P1 | ||
exclude=build,dist,.eggs,.git,__pycache__ | ||
|
||
[isort] | ||
include_trailing_comma=true | ||
profile=black | ||
known_first_party=shtab | ||
known_third_party=argopt,pytest | ||
line_length=79 | ||
multi_line_output=3 |
Oops, something went wrong.