cclauss / autoblack Goto Github PK
View Code? Open in Web Editor NEWGitHub Action that autoformats pull requests with psf/black
Home Page: https://github.com/cclauss/autoblack/actions
License: Apache License 2.0
GitHub Action that autoformats pull requests with psf/black
Home Page: https://github.com/cclauss/autoblack/actions
License: Apache License 2.0
Could we make a similar GitHub Action and instead of running black . on Python code, we run standard --fix . on JavaScript code?
Use case: User submits a pull request containing JavaScript that is not up to standard. This Action runs and adds a fixup commit to that pull request with all JavaScript code in standard format. Of course, if all the JavaScript code is already standard compliant then this Action gives the PR a โ .
@angsherpa232 @JasonEtco @Trott Your thoughts?
If it doesn't work, why don't you archive the repository + put the not on the very top?
@vinayak @peter-evans Can you please open PRs that change the Python file in this repo so that its code is no longer Blackened? A bit of whitespace at the end of a line is all it takes.
The Actions in this repo work great for me on a repo that I own (like this one). They put a second commit on the pull requests that I make. That second commit contain the same code as the PRโs first commit but reformatted with Black. This doe not seem to work on repos that I do not own.
Your PRs should help me understand the contents of printenv.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.