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.

Support for arguments with "make format" and "make lint"

See original GitHub issue

Is your proposal related to a problem?

When running make lint or make format, one may want to target only python-files/html-templates and skip the node stuff and also vice-versa

Describe the solution you’d like

Add support for arguments like --server-only and --static-only to make format and make lint. This way the command will only target files according to the arguments.

Describe alternatives you’ve considered

(Write your answer here.)

Additional context

@lb-

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:13 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
lb-commented, Mar 20, 2022

Go for it. However can we use --client-only as static could be a bit confusing

0reactions
lb-commented, Mar 30, 2022

Thanks Thibaud. server/client abstractions are always blurry and I agree we could probably split this again into templates being a third thing or rename to python node may even make more sense but that naming has other issues.

Read more comments on GitHub >

github_iconTop Results From Across the Web

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 >
GNU make
GNU make. This file documents the GNU make utility, which determines automatically which pieces of a large program need to be recompiled, ...
Read more >
Python PEP8 formatting for long arguments with annotations
I think you can usually format it like this to make pep8 and pylint happy (not that it's better though)
Read more >
Java formatting and linting - Visual Studio Code
Language Support for Java™ by Red Hat also provides formatting settings. ... The extension looks for a checkstyle.xml file in your workspace to...
Read more >
dotnet format command - .NET CLI - Microsoft Learn
The dotnet format command formats code to match EditorConfig ... Default is to do implicit restore. ... Shows help and usage information ...
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