Skip to content

Instantly share code, notes, and snippets.

@sakakendo
Created September 20, 2019 05:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sakakendo/518116011111f39bcd52e3b7a787130e to your computer and use it in GitHub Desktop.
Save sakakendo/518116011111f39bcd52e3b7a787130e to your computer and use it in GitHub Desktop.
default circleci configuration for python
versiion: 2
jobs:
build:
docker:
- image: circleci/python:latest
working_directorry: ~
steps:
- checkout
- run:
name: install requirements
command: |
npm install -g pyright
pip install pycodestyle pytest
pip install --quiet -r requirements.txt
- run:
name: run style-check, test
command: |
pycodestyle
pyright
python3 -m pytest ./*.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment