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: PyCQA/flake8
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 7.0.0
Choose a base ref
...
head repository: PyCQA/flake8
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 7.1.1
Choose a head ref
  • 19 commits
  • 13 files changed
  • 7 contributors

Commits on Jan 5, 2024

  1. update plugins for sphinx-prompt-1.8.0

    The sphinx-prompt plugin has renamed its package in 1.8.0 from erraneous
    `sphinx-prompt` name to `sphinx_prompt`.  Adjust the conf accordingly.
    mgorny committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    26d3184 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1907 from mgorny/sphinx-prompt-1.8.0

    update plugins for sphinx-prompt-1.8.0
    sigmavirus24 committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    fb9a02a View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2024

  1. [pre-commit.ci] pre-commit autoupdate

    updates:
    - [github.com/PyCQA/flake8: 6.1.0 → 7.0.0](6.1.0...7.0.0)
    pre-commit-ci[bot] committed Jan 8, 2024
    Configuration menu
    Copy the full SHA
    a2b68c8 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1910 from PyCQA/pre-commit-ci-update-config

    [pre-commit.ci] pre-commit autoupdate
    asottile committed Jan 8, 2024
    Configuration menu
    Copy the full SHA
    5c52d75 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2024

  1. Update documentation regarding entry points

    Refer to the PyPA packaging guide
    Replace references to the deprecated `pkg_resources` docs
    Viicos committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    49f52a8 View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2024

  1. Configuration menu
    Copy the full SHA
    350f254 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2024

  1. Use explicit external references

    Viicos authored and sigmavirus24 committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    ba0f566 View commit details
    Browse the repository at this point in the history
  2. Fix toctree ordering in index

    Also fix line-length issue in PR
    sigmavirus24 committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    6659b21 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2024

  1. Merge pull request #1923 from Viicos/entry-points-docs

    Update documentation regarding entry points
    sigmavirus24 committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    33e5083 View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2024

  1. Configuration menu
    Copy the full SHA
    866ad72 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1930 from mzagol/patch-1

    Add --extend-exclude to the TOC
    sigmavirus24 committed Apr 15, 2024
    Configuration menu
    Copy the full SHA
    408d4d6 View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2024

  1. latest pycodestyle

    asottile committed Jun 15, 2024
    Configuration menu
    Copy the full SHA
    defd315 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1939 from PyCQA/new-pycodestyle

    latest pycodestyle
    asottile committed Jun 15, 2024
    Configuration menu
    Copy the full SHA
    34c97e0 View commit details
    Browse the repository at this point in the history
  3. Release 7.1.0

    asottile committed Jun 15, 2024
    Configuration menu
    Copy the full SHA
    65a38c4 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2024

  1. Configuration menu
    Copy the full SHA
    10314ad View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1946 from Viicos/patch-1

    Fix wording of plugins documentation
    sigmavirus24 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    2a811cc View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2024

  1. Handle escaped braces in f-strings

    To use a curly brace in an f-string, you must escape it. For example:
    
      >>> k = 1
      >>> f'{{{k}'
      '{1'
    
    Saving this as a script and running the 'tokenize' module highlights
    something odd around the counting of tokens:
    
      ❯ python -m tokenize wow.py
      0,0-0,0:            ENCODING       'utf-8'
      1,0-1,1:            NAME           'k'
      1,2-1,3:            OP             '='
      1,4-1,5:            NUMBER         '1'
      1,5-1,6:            NEWLINE        '\n'
      2,0-2,2:            FSTRING_START  "f'"
      2,2-2,3:            FSTRING_MIDDLE '{'     # <-- here...
      2,4-2,5:            OP             '{'     # <-- and here
      2,5-2,6:            NAME           'k'
      2,6-2,7:            OP             '}'
      2,7-2,8:            FSTRING_END    "'"
      2,8-2,9:            NEWLINE        '\n'
      3,0-3,0:            ENDMARKER      ''
    
    The FSTRING_MIDDLE character we have is the escaped/post-parse single
    curly brace rather than the raw double curly brace, however, while our
    end index of this token accounts for the parsed form, the start index of
    the next token does not (put another way, it jumps from 3 -> 4). This
    triggers some existing, unrelated code that we need to bypass. Do just
    that.
    
    Signed-off-by: Stephen Finucane <stephen@that.guru>
    Closes: #1948
    stephenfin authored and asottile committed Aug 4, 2024
    Configuration menu
    Copy the full SHA
    bdcd5c2 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1949 from stephenfin/issue-1948

    Handle escaped braces in f-strings
    asottile committed Aug 4, 2024
    Configuration menu
    Copy the full SHA
    939ea3d View commit details
    Browse the repository at this point in the history
  3. Release 7.1.1

    asottile committed Aug 4, 2024
    Configuration menu
    Copy the full SHA
    cf1542c View commit details
    Browse the repository at this point in the history
Loading