Renamed STATISTICS_TYPE 'rsa' to 'rsi (#44) #90
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run black in --check mode on pull requests and pushes to master. | |
# This workflow should fail on any black violations. | |
name: isort/black Check | |
on: [push, pull_request] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: 3.11 | |
- name: Install dependencies | |
run: | | |
set -xe | |
python -VV | |
python -m site | |
python -m pip install --upgrade pip | |
pip install -U black isort | |
- name: Run black | |
run: | | |
isort . && black . |