8000 Use Ruff instead of flake8 by methane · Pull Request #1112 · PyMySQL/PyMySQL · GitHub
[go: up one dir, main page]

Skip to content

Use Ruff instead of flake8 #1112

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
May 24, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Use Ruff instead of flake8
  • Loading branch information
methane committed May 24, 2023
commit 457e402cb7ed03980e1388c283e10d8ec71a6250
4 changes: 0 additions & 4 deletions .flake8

This file was deleted.

13 changes: 4 additions & 9 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Lint

on:
push:
branches: ["main"]
paths:
- '**.py'
pull_request:
Expand All @@ -13,16 +14,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.x

- uses: psf/black@stable
with:
options: "--check --verbose"
src: "."
- name: Setup flake8 annotations
uses: rbialon/flake8-annotations@v1
- name: flake8
run: |
pip install flake8
flake8 pymysql

- uses: chartboost/ruff-action@v1
0