Skip to content
This repository has been archived by the owner on Mar 9, 2024. It is now read-only.

Add linter to Github actions #45

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@ on:
- cron: "20 23 * * 4"

jobs:
lint:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- name: Python Code Quality and Lint
uses: ricardochaves/[email protected]
with:
python-root-list: "timelapse"

build:
runs-on: macos-latest
steps:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ venv
dist
.eggs
build
Timelapse.egg-info
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,16 @@ install: ## Install app dependencies

.PHONY: run
run: clean ## Run application in shell
poetry run timelapse
poetry run

.PHONY: test
test: clean ## Run pytest
poetry run pytest

.PHONY: lint
lint: ## Lint project code
poetry run pylint timelapse

.PHONY: open
open: ## Open project folder in Finder
open .
Expand Down
Loading