-
Notifications
You must be signed in to change notification settings - Fork 11
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 #15 from SebastianCzoch/feat/black
Use black as a linter
- Loading branch information
Showing
9 changed files
with
45 additions
and
72 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
from .metric import Metric | ||
from .metric_collection import MetricCollection | ||
|
||
__all__ = ['Metric', 'MetricCollection'] | ||
__all__ = ["Metric", "MetricCollection"] |
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,4 @@ | ||
class MetricCollection(object): | ||
|
||
def __init__(self): | ||
self.metrics = [] | ||
|
||
|
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 |
---|---|---|
|
@@ -5,29 +5,26 @@ | |
|
||
|
||
def read_file(file_name): | ||
with open(file_name, 'r') as f: | ||
with open(file_name, "r") as f: | ||
return f.read() | ||
|
||
|
||
setuptools.setup( | ||
name='influx-line-protocol', | ||
description='Implementation of influxdata line protocol format in python', | ||
name="influx-line-protocol", | ||
description="Implementation of influxdata line protocol format in python", | ||
long_description=long_description, | ||
long_description_content_type='text/markdown', | ||
version='0.1.4', | ||
url='https://github.com/SebastianCzoch/influx-line-protocol', | ||
author='Sebastian Czoch', | ||
author_email='[email protected]', | ||
license='MIT', | ||
long_description_content_type="text/markdown", | ||
version="0.1.5", | ||
url="https://github.com/SebastianCzoch/influx-line-protocol", | ||
author="Sebastian Czoch", | ||
author_email="[email protected]", | ||
license="MIT", | ||
classifiers=[ | ||
'Development Status :: 4 - Beta', | ||
'Intended Audience :: System Administrators', | ||
'License :: OSI Approved :: MIT License', | ||
'Programming Language :: Python :: 2', | ||
'Operating System :: OS Independent', | ||
"Development Status :: 4 - Beta", | ||
"Intended Audience :: System Administrators", | ||
"License :: OSI Approved :: MIT License", | ||
"Programming Language :: Python :: 2", | ||
"Operating System :: OS Independent", | ||
], | ||
packages=setuptools.find_packages(), | ||
setup_requires=[ | ||
"flake8" | ||
] | ||
) |