Skip to content

Commit 464b29e

Browse files
committed
pylint: add override in a Fire API context
Classes are a core mechanism of Fire; it makes only limited sense to emit a linter warning if the command line interface has only one or two subcommands. Override the `too-few-public-methods` pylint rule for that scenario.
1 parent 9f0ad79 commit 464b29e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

{{ cookiecutter.pypi_package_name }}/{{ cookiecutter.python_package_name }}/{{ cookiecutter.first_module_name }}.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
logger = get_logger(__name__)
1313

1414

15-
class {{ cookiecutter.first_module_name.capitalize() }}:
15+
class {{ cookiecutter.first_module_name.capitalize() }}: # pylint: disable=too-few-public-methods
1616
"""
1717
:param foobar:
1818
The Foobar to connect to.

0 commit comments

Comments
 (0)