Comments (5)
Can easily bump today to 3.9 since its a supported lambda runtime. 3.10 would require a custom docker image and I most likely wouldnt get to it for a bit.
from black-playground.
That works, 3.10 would be also important for the new users of pattern matching but it is not urgent at all. Thanks!
from black-playground.
done in 97bf2f5
from black-playground.
black
running on 3.9 cannot format code with Python 3.10's pattern matching syntax as discussed in psf/black#2242 (comment).
Is there any change 3.10 is a supported lambda runtime by now?
from black-playground.
I found that checking "Skip temporary sanity checks." makes the playground format Python code with match statements. I'm not sure if that formatting is what it's supposed to be, but it worked well enough for me.
from black-playground.
Related Issues (20)
- Can I set old version?
- Deploy to Heroku
- black.now.sh failing with CORS error HOT 2
- Could --fast be either no longer used or configurable? HOT 4
- Python 3.8 syntax not supported HOT 3
- CORS error at https://black.now.sh/ HOT 4
- Is this maintained? HOT 5
- Shorten share URLs by default
- 500: INTERNAL_SERVER_ERROR HOT 1
- website no longer works HOT 2
- Double spaces add a full stop
- Empty lines get removed when they shouldn't be
- Provide option for --preview style HOT 3
- Stable fails until preview is toggled off and on HOT 3
- Incorrect link to Black's Line Lenght documentation
- Missing search box
- Ruler is set to 80 but should be 88 (or should adapt to line length option)
- Support `--unstable` style
- Error on match..case
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from black-playground.