Skip to content

Commit d41c493

Browse files
committed
Needed to increase permitted line length to match project.
Previously this workflow just referenced another workflow, but now that workflow is copied and modified with the increased allowed line length. More modifications might follow. Also changed the version of python to 3.11.
1 parent 4c3e1b4 commit d41c493

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

.github/workflows/lint.yaml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,22 @@ on:
1111
jobs:
1212

1313
lint:
14-
uses: nvdaes/nvdaAddonWorkflows/.github/workflows/lint.yaml@main
15-
14+
runs-on: windows-latest
15+
16+
steps:
17+
- name: Checkout reusable workflows
18+
uses: actions/checkout@v3
19+
with:
20+
repository: nvdaes/nvdaAddonWorkflows
21+
- name: Checkout code
22+
uses: actions/checkout@v3
23+
with:
24+
path: code
25+
- name: Set up Python 3.11
26+
uses: actions/setup-python@v4
27+
with:
28+
python-version: 3.11
29+
- name: Install dependencies
30+
run: pip install -r requirements.txt
31+
- name: Lint
32+
run: flake8 code/addon --max-line-length=130

0 commit comments

Comments
 (0)