Skip to content
This repository was archived by the owner on Oct 8, 2022. It is now read-only.

Commit 399c609

Browse files
author
Andy McKay
committed
init commit
0 parents  commit 399c609

File tree

3 files changed

+30
-0
lines changed

3 files changed

+30
-0
lines changed

Dockerfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
FROM jfloff/alpine-python
2+
3+
LABEL "com.github.actions.name"="PyCodeStyle"
4+
LABEL "com.github.actions.description"="Run PyCodeStyle on your Python."
5+
LABEL "com.github.actions.icon"="upload-cloud"
6+
LABEL "com.github.actions.color"="6f42c1"
7+
8+
RUN pip install --upgrade pip
9+
RUN pip install pycodestyle
10+
11+
CMD ["pycodestyle", "/github/workspace/"]

LICENSE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
MIT

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
An action that runs PyCodeStyle over python code. If there are errors found in the Python code then the action will fail.
2+
3+
Example workflow:
4+
5+
```
6+
workflow "New workflow" {
7+
on = "push"
8+
resolves = ["action"]
9+
}
10+
11+
action "action" {
12+
uses = "andymckay/pycodestyle-action@master"
13+
}
14+
```
15+
16+
https://pypi.org/project/pycodestyle/
17+
18+
PyCodeStyle is the library formally called pep8.

0 commit comments

Comments
 (0)