Skip to content

Commit c448800

Browse files
committed
Update CI
1 parent addfc10 commit c448800

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/lint.yaml

+5-4
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020
uses: actions/checkout@v2
2121

2222
- name: Install Python Dependencies
23-
uses: HassanAbouelela/actions/setup-python@setup-python_v1.3.2
23+
uses: HassanAbouelela/actions/setup-python@setup-python_v1.6.0
2424
with:
25-
dev: true
25+
install_args: --no-root
2626
python_version: '3.9'
2727

2828
# We will not run `flake8` here, as we will use a separate flake8
@@ -39,5 +39,6 @@ jobs:
3939
# Format used:
4040
# ::error file={filename},line={line},col={col}::{message}
4141
- name: Run flake8
42-
run: "flake8 \
43-
--format='::error file=%(path)s,line=%(row)d,col=%(col)d::[flake8] %(code)s: %(text)s'"
42+
run: |
43+
flake8 \
44+
--format='::error file=%(path)s,line=%(row)d,col=%(col)d::[flake8] %(code)s: %(text)s'

pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ version = "1.0.0"
44
description = "A collection of modmail plugins for the Python Discord community."
55
authors = ["Python Discord <[email protected]>"]
66
license = "MIT"
7+
package-mode = false
78

89
[tool.poetry.dependencies]
910
python = "3.9.*"

0 commit comments

Comments
 (0)