Skip to content

Commit

Permalink
Enable ruff PL (pylint) checks
Browse files Browse the repository at this point in the history
  • Loading branch information
mitya57 committed Dec 8, 2024
1 parent 85fb72f commit 2285691
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ jobs:
- name: Install ruff
run: python -m pip install ruff
- name: Run ruff check
run: ruff check --select F,E,W,I,UP,COM --target-version py310 .
run: ruff check --select F,E,W,I,UP,COM,PL --target-version py310 .
- name: Run ruff format
run: ruff format --diff .
2 changes: 1 addition & 1 deletion markups/asciidoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import warnings
from io import StringIO

import markups.common as common
from markups import common
from markups.abstract import AbstractMarkup, ConvertedMarkup


Expand Down
2 changes: 1 addition & 1 deletion markups/markdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from collections.abc import Iterable, Iterator
from typing import Any

import markups.common as common
from markups import common
from markups.abstract import AbstractMarkup, ConvertedMarkup

try:
Expand Down
2 changes: 1 addition & 1 deletion markups/restructuredtext.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from typing import Any

import markups.common as common
from markups import common
from markups.abstract import AbstractMarkup, ConvertedMarkup

try:
Expand Down
2 changes: 1 addition & 1 deletion markups/textile.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import importlib

import markups.common as common
from markups import common
from markups.abstract import AbstractMarkup, ConvertedMarkup


Expand Down

0 comments on commit 2285691

Please sign in to comment.