diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ede6f0e..2d71c33 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,9 +14,9 @@ jobs: matrix: python-version: ["3.7", "3.9", "3.11", "3.13", "3.14"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies diff --git a/docs/source/conf.py b/docs/source/conf.py index 2c1c9f4..6e8c221 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -67,5 +67,5 @@ "specversion", ] frozen_locals = dict(locals()) -rst_epilog = '\n'.join(map(lambda x: f".. |{x}| replace:: {frozen_locals[x]}", variables_to_export)) -del frozen_locals \ No newline at end of file +rst_epilog = "\n".join(map(lambda x: f".. |{x}| replace:: {frozen_locals[x]}", variables_to_export)) +del frozen_locals diff --git a/docs/source/developers.rst b/docs/source/developers.rst index 18d91e8..e154684 100644 --- a/docs/source/developers.rst +++ b/docs/source/developers.rst @@ -42,14 +42,13 @@ To lint the entire project and get suggested changes: .. code-block:: console - $ pylint sigmf tests + $ ruff check To autoformat the entire project according to our coding standard: .. code-block:: console - $ black sigmf tests # autoformat entire project - $ isort sigmf tests # format imports for entire project + $ ruff format ---- Docs diff --git a/pyproject.toml b/pyproject.toml index 73daf53..bc281f6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,7 +39,7 @@ dependencies = [ sigmf_convert = "sigmf.convert.__main__:main" [project.optional-dependencies] test = [ - "pylint", + "ruff", "pytest", "pytest-cov", "hypothesis", # next-gen testing framework @@ -99,6 +99,9 @@ line-length = 120 [tool.isort] profile = "black" +[tool.ruff] +line-length = 120 + [tool.tox] legacy_tox_ini = ''' [tox]