Skip to content

refatorando o código com black #21

refatorando o código com black

refatorando o código com black #21

Workflow file for this run

name: Linter
on:
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install Python dependencies
run: |
pip install black
- name: Run Python linter (Black)
run: |
black --check **/*.py
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Install Node.js dependencies
run: |
npm install -g markdownlint-cli
- name: Run Markdown linter
run: |
markdownlint '**/*.md'