Skip to content

Modernize the repo

Modernize the repo #60

Workflow file for this run

name: Linting
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.9]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install mypy ruff
- name: mypy
run: |
mypy --namespace-packages --explicit-package-bases pymatgen
- name: black
run: |
ruff .
ruff format .