Run linters on setup.py

This commit is contained in:
Jake Howard 2018-12-07 21:10:52 +00:00
parent 1e8dd81e11
commit cdb2766b19
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 9 additions and 15 deletions

View file

@ -4,9 +4,9 @@ set -e
export PATH=env/bin:${PATH}
python setup.py test
nose2 tests
black tests ipc_unix --check
flake8 ipc_unix tests --ignore=E128,E501
isort -rc -c ipc_unix tests
black tests ipc_unix setup.py --check
flake8 ipc_unix tests setup.py --ignore=E128,E501
isort -rc -c ipc_unix tests setup.py
mypy --strict-optional ipc_unix tests

View file

@ -1,22 +1,16 @@
from setuptools import setup
import unittest
setup(
name="ipc-unix",
version="0.0.0",
url="https://github.com/realorangeone/ipc-unix",
license='MIT',
license="MIT",
author="Jake Howard",
description="Inter-Process Communication using unix sockets",
packages=['ipc_unix'],
packages=["ipc_unix"],
include_package_data=True,
zip_safe=False,
pathon_requires='>=3.4',
install_requires=[
'ujson'
],
project_urls={
'GitHub: Issues': 'https://github.com/realorangeone/ipc-unix/issues'
},
test_suite="nose2.collector.collector"
pathon_requires=">=3.4",
install_requires=["ujson"],
project_urls={"GitHub: Issues": "https://github.com/realorangeone/ipc-unix/issues"},
)