From bf0224faa41684b8cfff0379b8646db8266147e5 Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Sun, 11 Jun 2023 16:44:09 -0700 Subject: [PATCH] Remove final bits of isort --- docs/contributing.rst | 2 +- pyproject.toml | 21 --------------------- 2 files changed, 1 insertion(+), 22 deletions(-) diff --git a/docs/contributing.rst b/docs/contributing.rst index 92c5abb9..464e931d 100644 --- a/docs/contributing.rst +++ b/docs/contributing.rst @@ -18,7 +18,7 @@ work you're contemplating is already half-done in a development branch. Code style ========== -We use PEP8, ``black`` for code formatting and ``isort`` for import sorting. The +We use PEP8, ``black`` for code formatting and ``ruff`` for everything else. The settings for these programs are in ``pyproject.toml`` and ``setup.cfg``. Pull requests should follow the style guide. One difference we use from "black" style is that strings shown to the user are always in double quotes (``"``) and strings diff --git a/pyproject.toml b/pyproject.toml index 572183c9..5184ad86 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -137,27 +137,6 @@ exclude_lines = [ "if TYPE_CHECKING:" ] -[tool.isort] -profile = "black" -known_first_party = "ocrmypdf" -known_third_party = [ - "PIL", - "flask", - "img2pdf", - "ocrmypdf", - "pdfminer", - "pikepdf", - "pkg_resources", - "pluggy", - "pytest", - "reportlab", - "setuptools", - "sphinx_rtd_theme", - "tqdm", - "watchdog", - "werkzeug" -] - [tool.pytest.ini_options] minversion = "6.0" norecursedirs = ["lib", ".pc", ".git", "venv", "output", "cache", "resources"]