Skip to content

[skip changelog] Add linting and formatting for Python scripts #832

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

Merged
merged 3 commits into from
Jul 16, 2020
Merged

[skip changelog] Add linting and formatting for Python scripts #832

merged 3 commits into from
Jul 16, 2020

Conversation

silvanocerza
Copy link
Contributor

  • The PR has no duplicates (please search among the Pull Requests before creating one)
  • The PR follows our contributing guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Added lint checks and formatting for integration tests.
Linting is done using flake8 and formatting with black.
A linting workflow will run any time a Python file is modified, a format workflow instead can be triggered by commenting in a PR /black or /python-format.
Taskfile has been updated with lint and format tasks, python:check and python:format respectively.

Python linting is done using flake8 and formatting with black.
A linting workflow will run any time a Python file is modified, a format
workflow instead can be triggered by commenting in a PR.
Taskfile has been updated with lint and format tasks.
@silvanocerza silvanocerza changed the title Added linting and formatting for Python scripts Add linting and formatting for Python scripts Jul 16, 2020
@silvanocerza silvanocerza changed the title Add linting and formatting for Python scripts [skip changelog] Add linting and formatting for Python scripts Jul 16, 2020
Copy link
Contributor

@rsora rsora left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@rsora rsora merged commit 3f2a944 into arduino:master Jul 16, 2020
@silvanocerza silvanocerza deleted the python-lint-format branch July 16, 2020 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants