Skip to content

Commit ffdf9a8

Browse files
committed
:rotating light: Fix linting for setup.py
- F401 'os' imported but unused - E303 too many blank lines (3) - E302 expected 2 blank lines, found 1 - E305 expected 2 blank lines after class or function definition, found 1 - E251 unexpected spaces around keyword / parameter equals
1 parent 41b363c commit ffdf9a8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
from io import open # for open(..,encoding=...) parameter in python 2
44
from os import walk
55
from os.path import join, dirname, sep
6-
import os
76
import re
87
from setuptools import setup, find_packages
98

@@ -17,7 +16,6 @@
1716
data_files = []
1817

1918

20-
2119
# must be a single statement since buildozer is currently parsing it, refs:
2220
# https://github.com/kivy/buildozer/issues/722
2321
install_reqs = [
@@ -27,6 +25,7 @@
2725
]
2826
# (pep517 and toml are used by pythonpackage.py)
2927

28+
3029
# By specifying every file manually, package_data will be able to
3130
# include them in binary distributions. Note that we have to add
3231
# everything as a 'pythonforandroid' rule, using '' apparently doesn't
@@ -42,6 +41,7 @@ def recursively_include(results, directory, patterns):
4241
results[directory] = []
4342
results[directory].append(join(*filename.split(sep)[1:]))
4443

44+
4545
recursively_include(package_data, 'pythonforandroid/recipes',
4646
['*.patch', 'Setup*', '*.pyx', '*.py', '*.c', '*.h',
4747
'*.mk', '*.jam', ])
@@ -104,7 +104,7 @@ def recursively_include(results, directory, patterns):
104104
'aar = pythonforandroid.bdistapk:BdistAAR',
105105
],
106106
},
107-
classifiers = [
107+
classifiers=[
108108
'Development Status :: 5 - Production/Stable',
109109
'Intended Audience :: Developers',
110110
'License :: OSI Approved :: MIT License',

0 commit comments

Comments
 (0)