Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --format option to control output #961

Closed
datapythonista opened this issue Jul 2, 2019 · 0 comments · Fixed by #1750
Closed

Add --format option to control output #961

datapythonista opened this issue Jul 2, 2019 · 0 comments · Fixed by #1750
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@datapythonista
Copy link

Would be useful to have an isort option to specify the format of the output.

For example, with flake8 the next can be used:

flake8 --format="##vso[task.logissue type=error;sourcepath=%(path)s;linenumber=%(row)s;columnnumber=%(col)s;code=%(code)s;]%(text)s"

And the output will have the specified format. This would be useful for example for CI systems, where log lines in specific formats are known to be errors or warnings (the previous example would make Azure pipelines consider linting issues in flake8 output as errors).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants