File tree Expand file tree Collapse file tree 2 files changed +32
-1
lines changed Expand file tree Collapse file tree 2 files changed +32
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Black
2+
3+ on :
4+ - push
5+ - pull_request
6+
7+ jobs :
8+ black :
9+ runs-on : ubuntu-latest
10+ permissions :
11+ contents : read
12+ pull-requests : read
13+ steps :
14+ - uses : actions/checkout@v4
15+ - uses : actions/setup-python@v5
16+ with :
17+ python-version : ' 3.11'
18+ - name : Python version
19+ run : python --version
20+ - name : PDM installation
21+ run : pip install --user pdm
22+ - name : Install devel dependencies
23+ run : pdm install --dev
24+ - name : Black version
25+ run : pdm run black --version
26+ - name : Black check
27+ run : pdm run black . --check
Original file line number Diff line number Diff line change @@ -12,6 +12,10 @@ license = {file = "LICENSE"}
1212Homepage = " https://github.com/lightspeed-core/lightspeed-stack"
1313Issues = " https://github.com/lightspeed-core/lightspeed-stack/issues"
1414
15-
1615[tool .pdm ]
1716distribution = true
17+
18+ [dependency-groups ]
19+ dev = [
20+ " black>=25.1.0"
21+ ]
You can’t perform that action at this time.
0 commit comments