<commit_before>import os
import sys
from setuptools import setup
from extras import RunFlakesCommand


def version_scheme(version):
    from setuptools_scm.version import guess_next_dev_version
    version = guess_next_dev_version(version)
    return version.lstrip("v")

readme_file = os.path.join(os.path.dirname(__file__), 'README.rst')
with open(readme_file, 'r') as f:
    long_description = f.readline().strip()

setup(
    name='django-guardian',
    use_scm_version={
        'write_to': "guardian/version.py",
        'version_scheme': version_scheme,
    },
    setup_requires=['setuptools_scm', 'pytest-runner'],
    url='http://github.com/django-guardian/django-guardian',
    author='<NAME>',
    author_email='<EMAIL>',
    download_url='https://github.com/django-guardian/django-guardian/tags',
    description="Implementation of per object permissions for Django.",
    long_description=long_description,
    zip_safe=False,
    packages=[
        'guardian', 'guardian.conf', 'guardian.management',
        'guardian.migrations', 'guardian.templatetags', 'guardian.testapp',
        'guardian.management.commands', 'guardian.testapp.migrations',
        'guardian.testapp.tests'
    ],<commit_msg>PEP8 cleanup<commit_after>import os
from setuptools import setup
from extras import RunFlakesCommand


def version_scheme(version):
    from setuptools_scm.version import guess_next_dev_version
    version = guess_next_dev_version(version)
    return version.lstrip("v")


readme_file = os.path.join(os.path.dirname(__file__), 'README.rst')
with open(readme_file, 'r') as f:
    long_description = f.readline().strip()

setup(
    name='django-guardian',
    use_scm_version={
        'write_to': "guardian/version.py",
        'version_scheme': version_scheme,
    },
    setup_requires=['setuptools_scm', 'pytest-runner'],
    url='http://github.com/django-guardian/django-guardian',
    author='<NAME>',
    author_email='<EMAIL>',
    download_url='https://github.com/django-guardian/django-guardian/tags',
    description="Implementation of per object permissions for Django.",
    long_description=long_description,
    zip_safe=False,
    packages=[
        'guardian', 'guardian.conf', 'guardian.management',
        'guardian.migrations', 'guardian.templatetags', 'guardian.testapp',
        'guardian.management.commands', 'guardian.testapp.migrations',
        'guardian.testapp.tests'
    ],
{'fraction_non_alphanumeric': 0.13239553165080678, 'fraction_numerical': 0.0004137360364087712, 'mean_word_length': 4.291028446389497, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '544586', 'n_tokens_mistral': 774, 'n_tokens_neox': 774, 'n_words': 127}