Support for arguments with "make format" and "make lint"
See original GitHub issueIs 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
Issue Analytics
- State:
- Created 2 years ago
- Comments:13 (11 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Go for it. However can we use --client-only as static could be a bit confusing
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.