Skip to content

Commit

Permalink
release v.0.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Илья Лебедев committed Feb 6, 2019
1 parent d64f99c commit 3fe1b1d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ not as dynamically typed.

## Installation

pip install git+https://github.com/best-doctor/flake8-annotations-coverage.git
pip install flake8-annotations-coverage


## Example
Expand Down
2 changes: 1 addition & 1 deletion flake8_annotations_coverage/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.0.1'
__version__ = '0.0.2'
8 changes: 7 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,18 @@ def get_version() -> Optional[str]:
lines = f.readlines()
for line in lines:
if line.startswith('__version__'):
return line.split('=')[-1].strip()
return line.split('=')[-1].strip().strip("'")


def get_long_description():
with open('README.md') as f:
return f.read()
return '\n\n'.join(descr)

setup(
name=package_name,
description='A flake8 extension that checks for type annotations coverage',
long_description=get_long_description(),
packages=find_packages(),
include_package_data=True,
keywords='flake8 annotations',
Expand Down

0 comments on commit 3fe1b1d

Please sign in to comment.