pydantic str to ObjectId rather than ObjectId directly #550
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
name: Format code using Black | |
on: [push, pull_request] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
# - uses: psf/black@stable | |
# with: | |
# src: "./alab_management" | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.10" # Specify the Python version you need | |
- name: Install Black | |
run: pip install black | |
- name: Run Black | |
run: black ./alab_management |