From 2285691845540f3740605cff1119ee28f1d1bd3d Mon Sep 17 00:00:00 2001 From: Dmitry Shachnev Date: Sun, 8 Dec 2024 22:21:51 +0300 Subject: [PATCH] Enable ruff PL (pylint) checks --- .github/workflows/main.yml | 2 +- markups/asciidoc.py | 2 +- markups/markdown.py | 2 +- markups/restructuredtext.py | 2 +- markups/textile.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c0c79f1..c97ae8d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 . diff --git a/markups/asciidoc.py b/markups/asciidoc.py index ed87ce1..737b3f3 100644 --- a/markups/asciidoc.py +++ b/markups/asciidoc.py @@ -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 diff --git a/markups/markdown.py b/markups/markdown.py index 2808dbc..d53e6a1 100644 --- a/markups/markdown.py +++ b/markups/markdown.py @@ -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: diff --git a/markups/restructuredtext.py b/markups/restructuredtext.py index b8a6145..3bc5a50 100644 --- a/markups/restructuredtext.py +++ b/markups/restructuredtext.py @@ -6,7 +6,7 @@ from typing import Any -import markups.common as common +from markups import common from markups.abstract import AbstractMarkup, ConvertedMarkup try: diff --git a/markups/textile.py b/markups/textile.py index 64a3910..d84c2cf 100644 --- a/markups/textile.py +++ b/markups/textile.py @@ -4,7 +4,7 @@ import importlib -import markups.common as common +from markups import common from markups.abstract import AbstractMarkup, ConvertedMarkup