Skip to content

Add CODEOWNERS and migrate to pyproject.toml #299

Add CODEOWNERS and migrate to pyproject.toml

Add CODEOWNERS and migrate to pyproject.toml #299

Workflow file for this run

name: Code Style
on:
push:
branches: [ "**" ]
tags-ignore: [ "**" ]
pull_request:
workflow_dispatch:
jobs:
black:
name: black
runs-on: ubuntu-latest
steps:
- name: "🔀 Checkout repository"
uses: actions/checkout@v2
- name: '🐍 Initialize Python'
uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: "📝 Black Code Formatter"
uses: psf/black@stable
with:
options: --check --diff --color
isort:
name: isort
runs-on: ubuntu-latest
steps:
- name: "🔀 Checkout repository"
uses: actions/checkout@v2
- name: '🐍 Initialize Python'
uses: actions/setup-python@v2
with:
python-version: "3.10"
# Workaround for https://github.com/isort/isort-action/issues/70
- run: echo "colorama" >> /tmp/isort.requirements.txt
- name: "📝 isort"
uses: isort/isort-action@master
with:
configuration: --check --diff --color
requirements-files: /tmp/isort.requirements.txt