Skip to content

Add support for alternative linters and formatters in faag-cli app generation #54

@pythonhubdev

Description

@pythonhubdev

Description

Currently, the faag-cli tool supports the ruff linter and black formatter for Python code. However, some users prefer alternative linters and formatters like pylint and flake8. Adding support for alternative linters and formatters would increase the flexibility of the faag-cli tool and allow users to choose their preferred options for linting and formatting their code.

For example, a user could run the following command to generate a Flask app with ruff as the linter and black as the formatter:

faag generate --type flask --name lint_app --linter ruff --formatter black

By default, the ruff linter and black formatter would be used, but users would have the option to specify alternative options if they choose.

Proposed Changes

Add support for alternative linters and formatters in the faag-cli tool, allowing users to choose their preferred options for linting and formatting their code.

Additional Context

This feature would increase the versatility of the faag-cli tool and make it more accessible to users who prefer alternative linters and formatters to ruff and black. Additionally, any linting and formatting rules should be generated based on the user's preferences, to ensure that the generated code adheres to their preferred style and formatting rules.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions