Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: hhatto/autopep8
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.0.1
Choose a base ref
...
head repository: hhatto/autopep8
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.0.2
Choose a head ref
  • 6 commits
  • 4 files changed
  • 2 contributors

Commits on Dec 16, 2022

  1. Ignore DeprecationWarnings to fix tests on py3.11

    Pass `-Wignore::DeprecationWarning` when spawning autopep8 in tests
    to fix the two test failures when running on Python 3.11:
    
    ```
    ======================================================================
    FAIL: test_in_place_no_modifications_no_writes (__main__.CommandLineTests.test_in_place_no_modifications_no_writes)
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/tmp/autopep8/test/test_autopep8.py", line 5518, in test_in_place_no_modifications_no_writes
        self.assertEqual(err, b'')
    AssertionError: b'/tmp/autopep8/autopep8.py:182: Deprecatio[137 chars]ze\n' != b''
    
    ======================================================================
    FAIL: test_in_place_no_modifications_no_writes_with_empty_file (__main__.CommandLineTests.test_in_place_no_modifications_no_writes_with_empty_file)
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/tmp/autopep8/test/test_autopep8.py", line 5530, in test_in_place_no_modifications_no_writes_with_empty_file
        self.assertEqual(err, b'')
    AssertionError: b'/tmp/autopep8/autopep8.py:182: Deprecatio[137 chars]ze\n' != b''
    ```
    
    This is a temporary fix until issue #581 is resolved.
    mgorny committed Dec 16, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    75b444d View commit details
  2. Copy the full SHA
    d54afbb View commit details

Commits on Mar 3, 2023

  1. Copy the full SHA
    b5dc17d View commit details
  2. Merge pull request #665 from mgorny/2to3-test

    Ignore DeprecationWarnings to fix tests on py3.11
    hhatto authored Mar 3, 2023
    Copy the full SHA
    0415bed View commit details
  3. Merge pull request #677 from hhatto/fix/issue-676

    fix: infinite loop in autopep8.fix_code without w50 ignore option
    hhatto authored Mar 3, 2023
    Copy the full SHA
    42c680f View commit details
  4. version 2.0.2

    hhatto committed Mar 3, 2023
    Copy the full SHA
    6e6d4ba View commit details
Loading