File tree Expand file tree Collapse file tree 3 files changed +37
-32
lines changed Expand file tree Collapse file tree 3 files changed +37
-32
lines changed Original file line number Diff line number Diff line change
1
+ # Ensure Python code is linted and formatted, matching the style guide
2
+ name : Python Linting
3
+
4
+ on :
5
+ push :
6
+ paths :
7
+ - " **/*.py"
8
+
9
+ jobs :
10
+ black-lint :
11
+ runs-on : ubuntu-latest
12
+ name : Python black Lint
13
+ steps :
14
+ - uses : actions/checkout@v4
15
+ - uses : psf/black@stable
16
+ # flake8-lint:
17
+ # runs-on: ubuntu-latest
18
+ # name: Python flake8 Lint
19
+ # steps:
20
+ # - name: Check out source repository
21
+ # uses: actions/checkout@v3
22
+
23
+ # - name: Set up Python environment
24
+ # uses: actions/setup-python@v4
25
+ # with:
26
+ # python-version: "3.11"
27
+
28
+ # - name: flake8 Lint
29
+ # uses: py-actions/flake8@v2
30
+ # with:
31
+ # ignore: "E701,W503,E203"
32
+ # exclude: "docs,.idea"
33
+ # max-line-length: "88"
34
+ # path: "."
35
+ # plugins: "flake8-docstrings flake8-black"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ """Models for the academy_rest_api Django app."""
2
+
1
3
from django .db import models
2
4
3
5
# Create your models here.
You can’t perform that action at this time.
0 commit comments