|
3 | 3 | (Uses selenium 3.x and is compatible with Python 2.7+ and Python 3.5+)
|
4 | 4 | """
|
5 | 5 |
|
6 |
| -from setuptools import setup, find_packages # noqa |
| 6 | +from setuptools import setup, find_packages # noqa: F401 |
7 | 7 | import os
|
8 | 8 | import sys
|
9 | 9 |
|
|
31 | 31 | reply = None
|
32 | 32 | input_method = input
|
33 | 33 | if not sys.version_info[0] >= 3:
|
34 |
| - input_method = raw_input # noqa |
| 34 | + input_method = raw_input # noqa: F821 |
35 | 35 | confirm_text = ">>> Confirm release PUBLISH to PyPI? (yes/no): "
|
36 | 36 | reply = str(input_method(confirm_text)).lower().strip()
|
37 | 37 | if reply == "yes":
|
38 | 38 | print("\n*** Checking code health with flake8:\n")
|
39 |
| - os.system("python -m pip install 'flake8==3.9.1'") |
| 39 | + os.system("python -m pip install 'flake8==3.9.2'") |
40 | 40 | flake8_status = os.system("flake8 --exclude=temp")
|
41 | 41 | if flake8_status != 0:
|
42 | 42 | print("\nWARNING! Fix flake8 issues before publishing to PyPI!\n")
|
|
119 | 119 | "typing-extensions>=3.10.0.0",
|
120 | 120 | 'setuptools>=44.1.1;python_version<"3.5"',
|
121 | 121 | 'setuptools>=50.3.2;python_version>="3.5" and python_version<"3.6"',
|
122 |
| - 'setuptools>=56.1.0;python_version>="3.6"', |
| 122 | + 'setuptools>=56.2.0;python_version>="3.6"', |
123 | 123 | 'setuptools-scm==5.0.2;python_version<"3.6"',
|
124 | 124 | 'setuptools-scm>=6.0.1;python_version>="3.6"',
|
125 | 125 | "wheel>=0.36.2",
|
|
178 | 178 | 'traitlets==5.0.5;python_version>="3.7"',
|
179 | 179 | 'prompt-toolkit==1.0.18;python_version<"3.6"',
|
180 | 180 | 'prompt-toolkit==3.0.18;python_version>="3.6"',
|
181 |
| - "decorator==4.4.2", |
| 181 | + 'decorator==4.4.2;python_version<"3.5"', |
| 182 | + 'decorator==5.0.7;python_version>="3.5"', |
182 | 183 | 'ipython==5.10.0;python_version<"3.5"',
|
183 | 184 | 'ipython==6.5.0;python_version>="3.5" and python_version<"3.6"',
|
184 | 185 | 'ipython==7.16.1;python_version>="3.6" and python_version<"3.7"',
|
|
212 | 213 | # pip install -e .[flake]
|
213 | 214 | "flake": [
|
214 | 215 | 'flake8==3.7.9;python_version<"3.5"',
|
215 |
| - 'flake8==3.9.1;python_version>="3.5"', |
| 216 | + 'flake8==3.9.2;python_version>="3.5"', |
216 | 217 | 'pyflakes==2.1.1;python_version<"3.5"',
|
217 | 218 | 'pyflakes==2.3.1;python_version>="3.5"',
|
218 | 219 | 'pycodestyle==2.5.0;python_version<"3.5"',
|
|
0 commit comments