-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
0 parents
commit 866e7d3
Showing
2 changed files
with
46 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,39 @@ | ||
[tool.poetry] | ||
name = "trailing" | ||
version = "0.0.1" | ||
description = "Decorator for adding trailing underscores to keys of keyword arguments using keys of reserved keywords or built-ins" | ||
authors = ["Carl Oscar Aaro <[email protected]>"] | ||
homepage = "https://github.com/kalaspuff/trailing" | ||
repository = "https://github.com/kalaspuff/trailing" | ||
keywords = ["trailing", "trailing underscore", "single trailing underscore", "single_trailing_underscore", "underscore"] | ||
readme = "README.md" | ||
license = "MIT" | ||
classifiers = [ | ||
"Development Status :: 1 - Planning", | ||
"Topic :: Software Development", | ||
"Topic :: Software Development :: Libraries", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.6", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Intended Audience :: Developers", | ||
"Typing :: Typed", | ||
"License :: OSI Approved :: MIT License" | ||
] | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.6 || ^3.7 || ^3.8" | ||
|
||
[tool.poetry.dev-dependencies] | ||
flake8 = "^3.7.9" | ||
flake8-black = "^0.1.1" | ||
pytest = "^5.3.0" | ||
pytest-cov = "^2.7" | ||
black = "=19.10b0" | ||
mypy = "^0.740.0" | ||
codecov = "^2.0.15" | ||
|
||
[tool.black] | ||
line-length = 120 | ||
target_version = ["py37"] |
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,7 @@ | ||
__version_info__ = (0, 0, 1) | ||
__version__ = "".join([".{}".format(str(n)) if type(n) is int else str(n) for n in __version_info__]).replace( | ||
".", "", 1 if type(__version_info__[0]) is int else 0 | ||
) | ||
|
||
if __name__ == "__main__": # pragma: no cover | ||
print(__version__) |