Skip to content

Fix for pyflakes 2.5 #42

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion pyqode/python/backend/workers.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ def run_pep8(request_data):

PYFLAKES_ERROR_MESSAGES = [
messages.DoctestSyntaxError,
messages.ReturnWithArgsInsideGenerator,
messages.UndefinedExport,
messages.UndefinedName,
messages.UndefinedLocal
Expand Down
13 changes: 10 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"""
import sys
from setuptools import setup, find_packages
from pyqode.python import __version__
from setuptools.command.test import test as TestCommand

#
Expand All @@ -21,6 +20,11 @@
cmdclass = {}


version = {}
with open("pyqode/python/__init__.py") as f:
exec(f.read(), version)


class PyTest(TestCommand):
user_options = [('pytest-args=', 'a', "Arguments to pass to py.test")]

Expand Down Expand Up @@ -66,7 +70,7 @@ def readme():
setup(
name='pyqode.python',
namespace_packages=['pyqode'],
version=__version__,
version=version['__version__'],
packages=[p for p in find_packages() if 'test' not in p],
keywords=["CodeEdit PySide PyQt code editor widget python"],
package_dir={'pyqode': 'pyqode'},
Expand All @@ -76,6 +80,7 @@ def readme():
author_email='[email protected]',
description=DESCRIPTION,
long_description=readme(),
python_requires='~=3.2',
install_requires=requirements,
tests_require=['pytest-cov', 'pytest-pep8', 'pytest'],
entry_points={'pyqode_plugins':
Expand All @@ -91,13 +96,15 @@ def readme():
'License :: OSI Approved :: MIT License',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Topic :: Software Development :: Widget Sets',
'Topic :: Text Editors :: Integrated Development Environments (IDE)'
Expand Down