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
2 changes: 1 addition & 1 deletion .github/workflows/black.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- uses: psf/black@26.5.1
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v7

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
Expand All @@ -27,7 +27,7 @@ jobs:
run: |
python -m pytest --cov -v
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
uses: codecov/codecov-action@v7
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: python-rope/rope
4 changes: 2 additions & 2 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: '3.9'
- name: Install dependencies
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
- #870 Add default implementation for is_dir() (@lieryan)
- #872 Fix unicode handling in patchedast (@lieryan)
- #845 Support PEP 695 type parameters on class definitions and type aliases in patchedast (@marlon-costa-dc)
- #849 docs: resolve warnings and update Github Actions versions (@mcepl)

# Release 1.14.0

Expand Down
3 changes: 3 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,6 @@

# Make sure the target is unique
autosectionlabel_prefix_document = True

# suppress third-party generated warnings
suppress_warnings = ["docutils"]
2 changes: 1 addition & 1 deletion docs/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ autoimport.* Options
.. autopytoolconfigtable:: rope.base.prefs.AutoimportPrefs

imports.* Options
----------------
-----------------

.. autopytoolconfigtable:: rope.base.prefs.ImportPrefs

Expand Down
6 changes: 3 additions & 3 deletions docs/overview.rst
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ Extract Method
In these examples ``${region_start}`` and ``${region_end}`` show the
selected region for extraction:

.. code-block:: python
.. code-block:: none

def a_func():
a = 1
Expand All @@ -421,7 +421,7 @@ After performing extract method we'll have:

For multi-line extractions if we have:

.. code-block:: python
.. code-block:: none

def a_func():
a = 1
Expand Down Expand Up @@ -1265,7 +1265,7 @@ After running ``mod1`` either SOA or DOA on this module you can test:

``mod2.py``:

.. code-block:: python
.. code-block:: none

import mod1

Expand Down
1 change: 0 additions & 1 deletion ropetest/projecttest.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import pathlib
import tempfile
import unittest
from unittest.mock import patch
from textwrap import dedent
from unittest.mock import patch

Expand Down
Loading