-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* switch to `pyproject.tom` * use `build` command in pipeline as well * fix `pytest.ini` * fix `.coveragerc` * fix `isort.cfg` * fix `.flake8` * run pre-commit * use `build` command in release-pipeline as well * fix release-pipeline dependencies * release-pipline:: fix sed inserting wrong string * increment version after release * add email of author Miguel Ángel García * release-pipline:: fix double equals sign beeing inserted --------- Co-authored-by: Jan Wille <jan.wille@stud.hs-hannover.de> Co-authored-by: Cube707 <Cube707@users.noreply.github.com>
- Loading branch information
1 parent
b6e64eb
commit 9ada618
Showing
13 changed files
with
81 additions
and
110 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,2 @@ | ||
[run] | ||
omit = tests/* |
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 @@ | ||
[flake8] | ||
max-complexity = 12 | ||
max-line-length = 88 | ||
exclude = | ||
__pycache__/ | ||
.git/ | ||
.venv/ | ||
.pytest_cache/ | ||
show-source = true | ||
statistics = true | ||
count = true | ||
per-file-ignores = | ||
readchar/*_key.py:F403,F405 |
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,4 @@ | ||
[settings] | ||
profile = black | ||
src_paths = readchar,tests | ||
lines_after_imports = 2 |
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,3 @@ | ||
[pytest] | ||
testpaths = tests | ||
addopts = -r fEsxwX -s --cov=readchar |
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,43 @@ | ||
[build-system] | ||
requires = ["setuptools >= 61.0"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "readchar" | ||
version = "4.1.0-dev3" | ||
requires-python = ">= 3.8" | ||
dependencies = [] | ||
authors = [ | ||
{ name = "Miguel Ángel García", email="miguelangel.garcia@gmail.com" }, | ||
{ name = "Jan Wille", email = "mail@janwille.de" }, | ||
] | ||
maintainers = [{ name = "Jan Wille", email = "mail@janwille.de" }] | ||
keywords = ["characters", "keystrokes", "stdin", "command line"] | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: Microsoft :: Windows", | ||
"Operating System :: POSIX :: Linux", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Programming Language :: Python :: Implementation :: CPython", | ||
"Environment :: Console", | ||
"Intended Audience :: Developers", | ||
"Topic :: Software Development", | ||
"Topic :: Software Development :: User Interfaces", | ||
] | ||
description = "Library to easily read single chars and key strokes" | ||
readme = { file = "README.md", content-type = "text/markdown" } | ||
license = { file = "LICENCE" } | ||
|
||
[project.urls] | ||
Homepage = "https://pypi.org/project/readchar" | ||
#Documentation = "https://readthedocs.org" | ||
Repository = "https://github.com/magmax/python-readchar" | ||
Issues = "https://github.com/magmax/python-readchar/issues" | ||
Changelog = "https://github.com/magmax/python-readchar/releases" |
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,5 +1,6 @@ | ||
-e . | ||
build | ||
pre-commit | ||
pytest | ||
pytest>=6.0 | ||
pytest-cov | ||
wheel |