Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

py(deps): ruff 0.2.2 -> 0.3.0, et al. #32

Merged
merged 4 commits into from
Mar 2, 2024
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
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