mloq.commands.lint#

Mloq lint command implementation.

Module Contents#

Classes#

LintCMD

Implement the functionality of the lint Command.

Attributes#

lint_req

LINT_FILES

mloq.commands.lint.lint_req#
mloq.commands.lint.LINT_FILES#
class mloq.commands.lint.LintCMD(record, interactive=False, **kwargs)[source]#

Bases: mloq.command.Command

Implement the functionality of the lint Command.

Parameters
  • record (mloq.writer.CMDRecord) –

  • interactive (bool) –

cmd_name = lint#
files#
disable#
black#
isort#
linters#
docstring_checks#
pyproject_extra#
project_name#
makefile#
poetry_requirements#
ignore_files#
interactive_config()[source]#

Generate the configuration of the project interactively.

Return type

omegaconf.DictConfig

record_files()[source]#

Register the files that will be generated by mloq.

Return type

None