Skip to content

Commit

Permalink
Bumped version
Browse files Browse the repository at this point in the history
  • Loading branch information
kalaspuff committed Nov 29, 2019
0 parents commit 866e7d3
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
39 changes: 39 additions & 0 deletions pyproject.toml
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"]
7 changes: 7 additions & 0 deletions trailing/__version__.py
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__)

0 comments on commit 866e7d3

Please sign in to comment.