Pylint: Enable superfluous-parens
This commit is contained in:
Родитель
786220e225
Коммит
de5c35f536
|
@ -135,7 +135,7 @@ def get_cli_options(args: Optional[str] = None) -> argparse.Namespace:
|
|||
default="symbols.txt",
|
||||
help="File with symbols to compare against.",
|
||||
)
|
||||
symbol_parser.set_defaults(func=(lambda args: print_missing_symbols(args.file)))
|
||||
symbol_parser.set_defaults(func=lambda args: print_missing_symbols(args.file))
|
||||
|
||||
spreadsheet_parser = subparsers.add_parser(
|
||||
"spreadsheet",
|
||||
|
|
|
@ -26,7 +26,7 @@ class DatabaseDriver:
|
|||
if config.dry_run:
|
||||
db_file = "comma.db"
|
||||
logging.info(f"Using local SQLite database at '{db_file}'.")
|
||||
engine = sqlalchemy.create_engine(f"sqlite:///{db_file}", echo=(config.verbose > 2))
|
||||
engine = sqlalchemy.create_engine(f"sqlite:///{db_file}", echo=config.verbose > 2)
|
||||
else:
|
||||
logging.info("Connecting to remote database...")
|
||||
creds = DatabaseCredentials()
|
||||
|
|
1
pylintrc
1
pylintrc
|
@ -29,7 +29,6 @@ disable=
|
|||
|
||||
# Syntax / Logic
|
||||
consider-using-f-string,
|
||||
superfluous-parens,
|
||||
unnecessary-comprehension,
|
||||
use-list-literal,
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче