mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-30 09:45:53 +00:00
stylefixes
This commit is contained in:
parent
d1232947c6
commit
eadb7203ee
7 changed files with 9 additions and 2 deletions
|
|
@ -60,8 +60,8 @@ texinfo_documents = [
|
|||
]
|
||||
|
||||
|
||||
def github_issue_role(name, rawtext, text, lineno, inliner, options={},
|
||||
content=()):
|
||||
def github_issue_role(name, rawtext, text, lineno, inliner,
|
||||
options={}, content=()): # noqa: B006
|
||||
try:
|
||||
issue_num = int(text)
|
||||
if issue_num <= 0:
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ if [ "$BUILD_PRS" = "true" ] || [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
|
|||
fi
|
||||
""".strip().format(x.strip())
|
||||
|
||||
|
||||
cfg = {}
|
||||
|
||||
cfg['sudo'] = True
|
||||
|
|
|
|||
1
setup.py
1
setup.py
|
|
@ -52,6 +52,7 @@ class PrintRequirements(Command):
|
|||
for requirement in requirements:
|
||||
print(requirement.replace(">", "=").replace(" ", ""))
|
||||
|
||||
|
||||
setup(
|
||||
# General metadata
|
||||
name='vdirsyncer',
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ def _check_python_version(): # pragma: no cover
|
|||
print('vdirsyncer requires Python 3.')
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
_check_python_version()
|
||||
del _check_python_version
|
||||
|
||||
|
|
@ -45,5 +46,6 @@ def _detect_faulty_requests(): # pragma: no cover
|
|||
print(text.format(e=str(e), d=DOCS_HOME), file=sys.stderr)
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
_detect_faulty_requests()
|
||||
del _detect_faulty_requests
|
||||
|
|
|
|||
|
|
@ -53,6 +53,7 @@ def app(ctx, config):
|
|||
from .config import load_config
|
||||
ctx.config = load_config(config)
|
||||
|
||||
|
||||
main = app
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ def _generate_path_reserved_chars():
|
|||
yield x.upper()
|
||||
yield x.lower()
|
||||
|
||||
|
||||
_path_reserved_chars = frozenset(_generate_path_reserved_chars())
|
||||
del _generate_path_reserved_chars
|
||||
|
||||
|
|
|
|||
|
|
@ -154,6 +154,7 @@ def split_collection(text):
|
|||
item.subcomponents.extend(inline)
|
||||
yield u'\r\n'.join(item.dump_lines())
|
||||
|
||||
|
||||
_default_join_wrappers = {
|
||||
u'VCALENDAR': u'VCALENDAR',
|
||||
u'VEVENT': u'VCALENDAR',
|
||||
|
|
|
|||
Loading…
Reference in a new issue