Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
rst_epilog = "\n".join(map(lambda x: f".. |{x}| replace:: {frozen_locals[x]}", variables_to_export))
del frozen_locals
5 changes: 2 additions & 3 deletions docs/source/developers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -99,6 +99,9 @@ line-length = 120
[tool.isort]
profile = "black"

[tool.ruff]
line-length = 120

[tool.tox]
legacy_tox_ini = '''
[tox]
Expand Down
Loading