question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Enforce linting and formatting with CI

See original GitHub issue

After #196 is merged it will be easy to add a job to run black --check for example and block merging if it fails. This will make for a future-proof solution to #172 and #174.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

3reactions
leotrscommented, Jul 13, 2020

If that’s the case then let’s close #172 ?

3reactions
eulertourcommented, Jul 12, 2020

Black is pep8 compliant; in other words valid black code is a strict subset of valid pep8 code.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Enforce Formatting in Continuous Integration - Medium
In this section I will show you how to set up format check in CI pipeline using Gitlab CI pipelines. Gitlab CI Configuration....
Read more >
Enforce .NET code style in CI with dotnet format
In this post, I'll show you how to enforce the coding style by… ... in CI with dotnet format (this post); Running GitHub...
Read more >
How Unit Testing, Linting, and Continuous Integration in ...
This service takes your files and checks them for style/formatting issues. It then handles any issues found and returns a formatted file. This ......
Read more >
Automatically format and lint code with pre-commit - Interrupt
How to use pre-commit for automated linting, formatting, and styling firmware code by using Python, clang-format, clang-tidy, and prettier.
Read more >
C# Linting and Formatting Tools in 2021 - DEV Community ‍ ‍
The JavaScript ecosystem has amazing tools for formatting and statically analyzing your code: Prettier and ESLint. Both tools have nearly ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found