Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • pycqa/mccabe
1 result
Show changes
Commits on Source (4)
# -*- coding: utf-8 -*-
from __future__ import with_statement
import sys
 
from setuptools import setup
 
needs_pytest = set(['pytest', 'test', 'ptr']).intersection(sys.argv)
pytest_runner = ['pytest-runner'] if needs_pytest else []
 
def get_version(fname='mccabe.py'):
with open(fname) as f:
Loading
Loading
@@ -33,7 +37,7 @@ setup(
license='Expat license',
py_modules=['mccabe'],
zip_safe=False,
setup_requires=['pytest-runner'],
setup_requires=pytest_runner,
tests_require=['pytest'],
entry_points={
'flake8.extension': [
Loading
Loading