From 17c7bb76e8e325833679d38ff5823b6e2fe27c45 Mon Sep 17 00:00:00 2001 From: Kirill Markin Date: Tue, 17 Dec 2024 15:16:03 +0100 Subject: [PATCH] pylint to pyproject and git workflows --- .github/workflows/tests.yml | 3 +++ README.md | 2 +- pyproject.toml | 6 ++++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 536adfa..2accb03 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -28,6 +28,9 @@ jobs: run: | python -m pip install --upgrade pip pip install .[dev] + - name: Run pylint + run: | + pylint repo_to_text - name: Run tests run: | pytest tests/ \ No newline at end of file diff --git a/README.md b/README.md index 0a7f9df..09fcf8f 100644 --- a/README.md +++ b/README.md @@ -180,7 +180,7 @@ To install `repo-to-text` locally for development, follow these steps: 2. Install the package with development dependencies: ```bash - pip install -e .[dev] + pip install -e ".[dev]" ``` ### Requirements diff --git a/pyproject.toml b/pyproject.toml index a95873f..1a0e941 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,4 +41,10 @@ dev = [ "isort", "build", "twine", + "pylint", +] + +[tool.pylint] +disable = [ + "C0303", ]