fix pylint W0621: Redefining name 'main' from outer scope (line 68) (redefined-outer-name)

This commit is contained in:
Dick Marinus 2024-03-18 11:14:07 +01:00 committed by Hugo
parent 055ed120dd
commit 5ae05245e6
2 changed files with 1 additions and 4 deletions

View file

@ -67,7 +67,7 @@ setup(
include_package_data=True,
cmdclass={"minimal_requirements": PrintRequirements},
use_scm_version={"write_to": "vdirsyncer/version.py"},
entry_points={"console_scripts": ["vdirsyncer = vdirsyncer.cli:main"]},
entry_points={"console_scripts": ["vdirsyncer = vdirsyncer.cli:app"]},
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",

View file

@ -65,9 +65,6 @@ def app(ctx, config: str):
ctx.config = load_config(config)
main = app
def collections_arg_callback(ctx, param, value):
"""
Expand the various CLI shortforms ("pair, pair/collection") to an iterable