mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
fix pylint W0621: Redefining name 'main' from outer scope (line 68) (redefined-outer-name)
This commit is contained in:
parent
055ed120dd
commit
5ae05245e6
2 changed files with 1 additions and 4 deletions
2
setup.py
2
setup.py
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue