Fixed linter errors

This commit is contained in:
SandstormVR 2019-02-28 21:25:58 +00:00
parent ac20fd1e7e
commit ffb46d00e9
10 changed files with 15 additions and 2 deletions

View file

@ -1,3 +1,4 @@
"""Certbot command line constants"""
import sys
import os

View file

@ -1,3 +1,4 @@
"""Certbot command line util function"""
import argparse
import copy
import os

View file

@ -1,3 +1,5 @@
"""This module contains a function to add the groups of arguments for the help
display"""
from certbot.cli import VERB_HELP

View file

@ -1,3 +1,4 @@
"""Certbot command line argument parser"""
from __future__ import print_function
import argparse
import copy
@ -463,4 +464,4 @@ class HelpfulArgumentParser(object):
elif not chosen_topic:
return dict([(t, False) for t in self.help_topics])
else:
return dict([(t, t == chosen_topic) for t in self.help_topics])
return dict([(t, t == chosen_topic) for t in self.help_topics])

View file

@ -1,3 +1,5 @@
"""This is a module that adds configuration to the argument parser regarding
paths for certificates"""
import os
from certbot.cli import (

View file

@ -1,3 +1,4 @@
"""This is a module that handles parsing of plugins for the argument parser"""
from certbot.cli import flag_default

View file

@ -1,3 +1,5 @@
"""This is a module that reports config option interaction that should be
checled by set_by_cli"""
import six
from certbot.cli import VAR_MODIFIERS

View file

@ -1,3 +1,4 @@
"""This module creates subparsers for the argument parser"""
from certbot import constants
from certbot import interfaces
@ -71,4 +72,4 @@ def _create_subparsers(helpful):
helpful.add("plugins",
"--installers", action="append_const", dest="ifaces",
default=flag_default("ifaces"),
const=interfaces.IInstaller, help="Limit to installer plugins only.")
const=interfaces.IInstaller, help="Limit to installer plugins only.")

View file

@ -1,3 +1,4 @@
"""This module contain help information for verbs supported by certbot"""
import os
from certbot.cli import (

View file

@ -1,3 +1,4 @@
"""This module warns for usage of deprecated letsencrypt-auto"""
import os
import sys
import logging