ajouter le hook double-quote-string-fixer (#79788) #6
|
@ -3,3 +3,5 @@
|
|||
4729ef9a3bdf2f09541469802d0e7cc3b6a48405
|
||||
# misc: apply djhtml (#69422)
|
||||
d20066dc440cbffc765978f222bd97958753978e
|
||||
# misc: apply double-quote-string-fixer (#79788)
|
||||
8776825bdb18cd67455fb6e0bb3908ab18505b9c
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
# See https://pre-commit.com for more information
|
||||
# See https://pre-commit.com/hooks.html for more hooks
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.4.0
|
||||
hooks:
|
||||
- id: double-quote-string-fixer
|
||||
- repo: https://github.com/asottile/pyupgrade
|
||||
rev: v3.3.1
|
||||
hooks:
|
||||
|
|
14
setup.py
14
setup.py
|
@ -46,7 +46,7 @@ class eo_sdist(_sdist):
|
|||
sub_commands = [('compile_translations', None)] + _build.sub_commands
|
||||
|
||||
def run(self):
|
||||
print("creating VERSION file")
|
||||
print('creating VERSION file')
|
||||
if os.path.exists('VERSION'):
|
||||
os.remove('VERSION')
|
||||
version = get_version()
|
||||
|
@ -54,7 +54,7 @@ class eo_sdist(_sdist):
|
|||
version_file.write(version)
|
||||
version_file.close()
|
||||
_sdist.run(self)
|
||||
print("removing VERSION file")
|
||||
print('removing VERSION file')
|
||||
if os.path.exists('VERSION'):
|
||||
os.remove('VERSION')
|
||||
|
||||
|
@ -93,14 +93,14 @@ def get_version():
|
|||
|
||||
|
||||
setup(
|
||||
name="django-mellon",
|
||||
name='django-mellon',
|
||||
version=get_version(),
|
||||
license="AGPLv3 or later",
|
||||
description="SAML 2.0 authentication for Django",
|
||||
license='AGPLv3 or later',
|
||||
description='SAML 2.0 authentication for Django',
|
||||
long_description=open('README').read(),
|
||||
url="http://dev.entrouvert.org/projects/django-mellon/",
|
||||
url='http://dev.entrouvert.org/projects/django-mellon/',
|
||||
author="Entr'ouvert",
|
||||
author_email="info@entrouvert.org",
|
||||
author_email='info@entrouvert.org',
|
||||
include_package_data=True,
|
||||
packages=find_packages(),
|
||||
install_requires=[
|
||||
|
|
Loading…
Reference in New Issue