Run linters on setup.py
This commit is contained in:
parent
1e8dd81e11
commit
cdb2766b19
2 changed files with 9 additions and 15 deletions
|
@ -4,9 +4,9 @@ set -e
|
||||||
|
|
||||||
export PATH=env/bin:${PATH}
|
export PATH=env/bin:${PATH}
|
||||||
|
|
||||||
python setup.py test
|
nose2 tests
|
||||||
|
|
||||||
black tests ipc_unix --check
|
black tests ipc_unix setup.py --check
|
||||||
flake8 ipc_unix tests --ignore=E128,E501
|
flake8 ipc_unix tests setup.py --ignore=E128,E501
|
||||||
isort -rc -c ipc_unix tests
|
isort -rc -c ipc_unix tests setup.py
|
||||||
mypy --strict-optional ipc_unix tests
|
mypy --strict-optional ipc_unix tests
|
||||||
|
|
16
setup.py
16
setup.py
|
@ -1,22 +1,16 @@
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
import unittest
|
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="ipc-unix",
|
name="ipc-unix",
|
||||||
version="0.0.0",
|
version="0.0.0",
|
||||||
url="https://github.com/realorangeone/ipc-unix",
|
url="https://github.com/realorangeone/ipc-unix",
|
||||||
license='MIT',
|
license="MIT",
|
||||||
author="Jake Howard",
|
author="Jake Howard",
|
||||||
description="Inter-Process Communication using unix sockets",
|
description="Inter-Process Communication using unix sockets",
|
||||||
packages=['ipc_unix'],
|
packages=["ipc_unix"],
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
zip_safe=False,
|
zip_safe=False,
|
||||||
pathon_requires='>=3.4',
|
pathon_requires=">=3.4",
|
||||||
install_requires=[
|
install_requires=["ujson"],
|
||||||
'ujson'
|
project_urls={"GitHub: Issues": "https://github.com/realorangeone/ipc-unix/issues"},
|
||||||
],
|
|
||||||
project_urls={
|
|
||||||
'GitHub: Issues': 'https://github.com/realorangeone/ipc-unix/issues'
|
|
||||||
},
|
|
||||||
test_suite="nose2.collector.collector"
|
|
||||||
)
|
)
|
||||||
|
|
Reference in a new issue