Skip to content

Commit

Permalink
Add python linting to repo (#86)
Browse files Browse the repository at this point in the history
* Add action files

* add workflow for pylama action

* fix action location

* fix it again

* d

* fix again

* Fix dockerfile location

* Correct entrypoint location

* Clean up dockerfile

* Adding config file for pylama

* Use existing action

* update pylama args

* Fix config to use pycodestyle

* Set line length

* remove folder
  • Loading branch information
kkoller authored Jun 16, 2020
1 parent c6cd25e commit 409521c
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/pylama.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# This is a basic workflow to help you get started with Actions

name: Pylama

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: actions/checkout@v2
- name: Python Pylama Github Action
uses: Akhil325/pylama-github-action@master
with:
args: --verbose
3 changes: 3 additions & 0 deletions pylama.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[pylama:pycodestyle]
max_line_length = 120

0 comments on commit 409521c

Please sign in to comment.