Skip to content

Commit

Permalink
spaces, style and formatters (#4)
Browse files Browse the repository at this point in the history
use spaces, fixed indentation, format using autopep8
  • Loading branch information
skriems authored and jaraco committed Dec 14, 2018
1 parent a8bca16 commit bc8a6cd
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 27 deletions.
44 changes: 19 additions & 25 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,32 +1,26 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

extensions = [
'sphinx.ext.autodoc',
'jaraco.packaging.sphinx',
'rst.linker',
]
extensions = ["sphinx.ext.autodoc", "jaraco.packaging.sphinx", "rst.linker"]

master_doc = 'index'
master_doc = "index"

link_files = {
'../CHANGES.rst': dict(
using=dict(
GH='https://github.com',
),
replace=[
dict(
pattern=r'(Issue #|\B#)(?P<issue>\d+)',
url='{package_url}/issues/{issue}',
),
dict(
pattern=r'^(?m)((?P<scm_version>v?\d+(\.\d+){1,2}))\n[-=]+\n',
with_scm='{text}\n{rev[timestamp]:%d %b %Y}\n',
),
dict(
pattern=r'PEP[- ](?P<pep_number>\d+)',
url='https://www.python.org/dev/peps/pep-{pep_number:0>4}/',
),
],
),
"../CHANGES.rst": dict(
using=dict(GH="https://github.com"),
replace=[
dict(
pattern=r"(Issue #|\B#)(?P<issue>\d+)",
url="{package_url}/issues/{issue}",
),
dict(
pattern=r"^(?m)((?P<scm_version>v?\d+(\.\d+){1,2}))\n[-=]+\n",
with_scm="{text}\n{rev[timestamp]:%d %b %Y}\n",
),
dict(
pattern=r"PEP[- ](?P<pep_number>\d+)",
url="https://www.python.org/dev/peps/pep-{pep_number:0>4}/",
),
],
)
}
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@

import setuptools

if __name__ == '__main__':
setuptools.setup(use_scm_version=True)
if __name__ == "__main__":
setuptools.setup(use_scm_version=True)

0 comments on commit bc8a6cd

Please # to comment.