Skip to content

Commit

Permalink
py(deps): ruff 0.2.2 -> 0.3.0, et al. (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
tony committed Mar 2, 2024
2 parents 259f887 + 1de85ea commit d090387
Show file tree
Hide file tree
Showing 11 changed files with 41 additions and 27 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ jobs:
python -V
poetry run python -V
- name: Lint with ruff
run: poetry run ruff .
- name: Lint with ruff check
run: poetry run ruff check .

- name: Format with ruff
- name: Format with ruff format
run: poetry run ruff format . --check

- name: Lint with mypy
Expand Down
6 changes: 6 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ $ pip install --user --upgrade --pre gp-libs

### Development

- ruff 0.2.2 -> 0.3.0 (#32)

Related formattings. Update CI to use `ruff check .` instead of `ruff .`.

See also: https://github.com/astral-sh/ruff/blob/v0.3.0/CHANGELOG.md

- Strengthen linting (#31)

- Add flake8-commas (COM)
Expand Down
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# flake8: noqa: E501
"""Sphinx configuration for gp_libs."""

import contextlib
import inspect
import pathlib
Expand Down
48 changes: 24 additions & 24 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/doctest_docutils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Doctest module for docutils."""

import doctest
import functools
import linecache
Expand Down
1 change: 1 addition & 0 deletions src/gp_libs.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Metadata package for gp-libs."""

__title__ = "gp-libs"
__package_name__ = "gp_libs"
__description__ = "Internal utilities for git-pull projects"
Expand Down
1 change: 1 addition & 0 deletions src/linkify_issues.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Autolinking extension for Sphinx."""

import re
import typing as t

Expand Down
1 change: 1 addition & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
See "pytest_plugins in non-top-level conftest files" in
https://docs.pytest.org/en/stable/deprecations.html
"""

import pathlib
import typing as t

Expand Down
1 change: 1 addition & 0 deletions tests/test_doctest_docutils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for doctest_docutils."""

import doctest
import pathlib
import textwrap
Expand Down
1 change: 1 addition & 0 deletions tests/test_linkify_issues.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for linkify_issues extension for sphinx."""

import pathlib
import typing as t

Expand Down
1 change: 1 addition & 0 deletions tests/test_pytest_doctest_docutils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test pytest plugin for doctest_docutils."""

import textwrap
import typing as t

Expand Down

0 comments on commit d090387

Please sign in to comment.