diff --git a/README.rst b/README.rst
index 3681cd9..8ba1d6d 100644
--- a/README.rst
+++ b/README.rst
@@ -63,10 +63,10 @@ Links
* `Flake8 Documentation `_
-* `GitLab Project `_
+* `GitHub Project `_
* `All (Open and Closed) Issues
- `_
+ `_
* `Code-Quality Archives
`_
diff --git a/docs/source/conf.py b/docs/source/conf.py
index 97860c9..d11dc15 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -29,6 +29,7 @@ needs_sphinx = '1.3'
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.doctest',
+ 'sphinx.ext.extlinks',
'sphinx.ext.intersphinx',
'sphinx.ext.todo',
'sphinx.ext.coverage',
@@ -297,3 +298,8 @@ texinfo_documents = [
# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {'python': ('https://docs.python.org/3/', None)}
+
+extlinks = {
+ "issue": ("https://github.com/pycqa/flake8/issues/%s", "#"),
+ "pull": ("https://github.com/pycqa/flake8/pull/%s", "#"),
+}
diff --git a/docs/source/faq.rst b/docs/source/faq.rst
index 3f2bc04..e81768f 100644
--- a/docs/source/faq.rst
+++ b/docs/source/faq.rst
@@ -23,7 +23,7 @@ What is the next version of Flake8?
===================================
In general we try to use milestones to indicate this. If the last release
-on PyPI is 3.1.5 and you see a milestone for 3.2.0 in GitLab, there's a
+on PyPI is 3.1.5 and you see a milestone for 3.2.0 in GitHub, there's a
good chance that 3.2.0 is the next release.
diff --git a/docs/source/internal/contributing.rst b/docs/source/internal/contributing.rst
index d5c8d8d..26cc029 100644
--- a/docs/source/internal/contributing.rst
+++ b/docs/source/internal/contributing.rst
@@ -51,7 +51,7 @@ Filing a Bug
============
When filing a bug against |Flake8|, please fill out the issue template as it
-is provided to you by `GitLab`_. If your bug is in reference to one of the
+is provided to you by `GitHub`_. If your bug is in reference to one of the
checks that |Flake8| reports by default, please do not report them to |Flake8|
unless |Flake8| is doing something to prevent the check from running or you
have some reason to believe |Flake8| is inhibiting the effectiveness of the
@@ -131,7 +131,7 @@ documentation generation and refresh the documentation you're working on.
Contributing Code
=================
-|Flake8| development happens on `GitLab`_. Code contributions should be
+|Flake8| development happens on `GitHub`_. Code contributions should be
submitted there.
Merge requests should:
@@ -202,8 +202,8 @@ delivered.
.. _tox:
https://tox.readthedocs.io/
-.. _GitLab:
- https://gitlab.com/pycqa/flake8
+.. _GitHub:
+ https://github.com/pycqa/flake8
.. _pycodestyle:
https://github.com/pycqa/pycodestyle
diff --git a/docs/source/manpage.rst b/docs/source/manpage.rst
index 826ec8b..9636b1f 100644
--- a/docs/source/manpage.rst
+++ b/docs/source/manpage.rst
@@ -144,4 +144,4 @@ McCabe: https://github.com/pycqa/mccabe
BUGS
====
-Please report all bugs to https://gitlab.com/pycqa/flake8
+Please report all bugs to https://github.com/pycqa/flake8
diff --git a/docs/source/plugin-development/registering-plugins.rst b/docs/source/plugin-development/registering-plugins.rst
index d1718bf..b9e87fb 100644
--- a/docs/source/plugin-development/registering-plugins.rst
+++ b/docs/source/plugin-development/registering-plugins.rst
@@ -40,7 +40,7 @@ like:
description="our extension to flake8",
author="Me",
author_email="example@example.com",
- url="https://gitlab.com/me/flake8_example",
+ url="https://github.com/me/flake8_example",
packages=[
"flake8_example",
],
diff --git a/docs/source/release-notes/2.3.0.rst b/docs/source/release-notes/2.3.0.rst
index 120efa9..341d06e 100644
--- a/docs/source/release-notes/2.3.0.rst
+++ b/docs/source/release-notes/2.3.0.rst
@@ -5,6 +5,4 @@
instead of ``stdout``.
- **Bug** Fix interleaving of output while using multiprocessing
- (`GitLab#17`_)
-
-.. _GitLab#17: https://gitlab.com/pycqa/flake8/issues/17
+ (:issue:`60`)
diff --git a/docs/source/release-notes/2.4.0.rst b/docs/source/release-notes/2.4.0.rst
index 94cba9a..f8860dc 100644
--- a/docs/source/release-notes/2.4.0.rst
+++ b/docs/source/release-notes/2.4.0.rst
@@ -2,32 +2,25 @@
------------------
- **Bug** Print filenames when using multiprocessing and ``-q`` option.
- (`GitLab#31`_)
+ (:issue:`74`)
- **Bug** Put upper cap on dependencies. The caps for 2.4.0 are:
- - ``pep8 < 1.6`` (Related to `GitLab#35`_)
+ - ``pep8 < 1.6`` (Related to :issue:`78`)
- ``mccabe < 0.4``
- ``pyflakes < 0.9``
- See also `GitLab#32`_
+ See also :issue:`75`
- **Bug** Files excluded in a config file were not being excluded when flake8
- was run from a git hook. (`GitHub#2`_)
+ was run from a git hook. (:issue:`2`)
- **Improvement** Print warnings for users who are providing mutually
- exclusive options to flake8. (`GitLab#8`_, `GitLab!18`_)
+ exclusive options to flake8. (:issue:`51`, :issue:`386`)
- **Feature** Allow git hook configuration to live in ``.git/config``.
- See the updated `VCS hooks docs`_ for more details. (`GitLab!20`_)
+ See the updated `VCS hooks docs`_ for more details. (:issue:`387`)
-.. _GitHub#2: https://github.com/pycqa/flake8/pull/2
-.. _GitLab#8: https://gitlab.com/pycqa/flake8/issues/8
-.. _GitLab#31: https://gitlab.com/pycqa/flake8/issues/31
-.. _GitLab#32: https://gitlab.com/pycqa/flake8/issues/32
-.. _GitLab#35: https://gitlab.com/pycqa/flake8/issues/35
-.. _GitLab!18: https://gitlab.com/pycqa/flake8/merge_requests/18
-.. _GitLab!20: https://gitlab.com/pycqa/flake8/merge_requests/20
.. _VCS hooks docs: https://flake8.readthedocs.io/en/latest/user/using-hooks.html
diff --git a/docs/source/release-notes/2.4.1.rst b/docs/source/release-notes/2.4.1.rst
index 3448bc4..0e74929 100644
--- a/docs/source/release-notes/2.4.1.rst
+++ b/docs/source/release-notes/2.4.1.rst
@@ -2,11 +2,8 @@
------------------
- **Bug** Do not raise a ``SystemError`` unless there were errors in the
- setuptools command. (`GitLab#39`_, `GitLab!23`_)
+ setuptools command. (:issue:`82`, :issue:`390`)
- **Bug** Do not verify dependencies of extensions loaded via entry-points.
- **Improvement** Blacklist versions of pep8 we know are broken
-
-.. _GitLab#39: https://gitlab.com/pycqa/flake8/issues/39
-.. _GitLab!23: https://gitlab.com/pycqa/flake8/merge_requests/23
diff --git a/docs/source/release-notes/2.5.0.rst b/docs/source/release-notes/2.5.0.rst
index 1558fcf..dafd416 100644
--- a/docs/source/release-notes/2.5.0.rst
+++ b/docs/source/release-notes/2.5.0.rst
@@ -4,22 +4,15 @@
- **Improvement** Raise cap on PyFlakes for Python 3.5 support
- **Improvement** Avoid deprecation warnings when loading extensions
- (`GitLab#59`_, `GitLab#90`_)
+ (:issue:`102`, :issue:`445`)
- **Improvement** Separate logic to enable "off-by-default" extensions
- (`GitLab#67`_)
+ (:issue:`110`)
-- **Bug** Properly parse options to setuptools Flake8 command (`GitLab!41`_)
+- **Bug** Properly parse options to setuptools Flake8 command (:issue:`408`)
- **Bug** Fix exceptions when output on stdout is truncated before Flake8
- finishes writing the output (`GitLab#69`_)
+ finishes writing the output (:issue:`112`)
- **Bug** Fix error on OS X where Flake8 can no longer acquire or create new
- semaphores (`GitLab#74`_)
-
-.. _GitLab!41: https://gitlab.com/pycqa/flake8/merge_requests/41
-.. _GitLab#59: https://gitlab.com/pycqa/flake8/issues/59
-.. _GitLab#67: https://gitlab.com/pycqa/flake8/issues/67
-.. _GitLab#69: https://gitlab.com/pycqa/flake8/issues/69
-.. _GitLab#74: https://gitlab.com/pycqa/flake8/issues/74
-.. _GitLab#90: https://gitlab.com/pycqa/flake8/issues/90
+ semaphores (:issue:`117`)
diff --git a/docs/source/release-notes/2.5.1.rst b/docs/source/release-notes/2.5.1.rst
index 8a114c8..cd73315 100644
--- a/docs/source/release-notes/2.5.1.rst
+++ b/docs/source/release-notes/2.5.1.rst
@@ -2,12 +2,8 @@
------------------
- **Bug** Properly look for ``.flake8`` in current working directory
- (`GitLab#103`_)
+ (:issue:`458`)
- **Bug** Monkey-patch ``pep8.stdin_get_value`` to cache the actual value in
stdin. This helps plugins relying on the function when run with
- multiprocessing. (`GitLab#105`_, `GitLab#107`_)
-
-.. _GitLab#103: https://gitlab.com/pycqa/flake8/issues/103
-.. _GitLab#105: https://gitlab.com/pycqa/flake8/issues/105
-.. _GitLab#107: https://gitlab.com/pycqa/flake8/issues/107
+ multiprocessing. (:issue:`460`, :issue:`462`)
diff --git a/docs/source/release-notes/3.0.1.rst b/docs/source/release-notes/3.0.1.rst
index 0092dc8..39b27be 100644
--- a/docs/source/release-notes/3.0.1.rst
+++ b/docs/source/release-notes/3.0.1.rst
@@ -2,18 +2,11 @@
-------------------
- Fix regression in handling of ``# noqa`` for multiline strings.
- (See also `GitLab#177`_)
+ (See also :issue:`1024`)
- Fix regression in handling of ``--output-file`` when not also using
- ``--verbose``. (See also `GitLab#180`_)
+ ``--verbose``. (See also :issue:`1026`)
-- Fix regression in handling of ``--quiet``. (See also `GitLab#180`_)
+- Fix regression in handling of ``--quiet``. (See also :issue:`1026`)
-- Fix regression in handling of ``--statistics``. (See also `GitLab#180`_)
-
-
-.. links
-.. _GitLab#177:
- https://gitlab.com/pycqa/flake8/issues/177
-.. _GitLab#180:
- https://gitlab.com/pycqa/flake8/issues/180
+- Fix regression in handling of ``--statistics``. (See also :issue:`1026`)
diff --git a/docs/source/release-notes/3.0.2.rst b/docs/source/release-notes/3.0.2.rst
index d39cf55..3cf588a 100644
--- a/docs/source/release-notes/3.0.2.rst
+++ b/docs/source/release-notes/3.0.2.rst
@@ -1,17 +1,10 @@
3.0.2 -- 2016-07-26
-------------------
-- Fix local config file discovery. (See also `GitLab#181`_)
+- Fix local config file discovery. (See also :issue:`528`)
- Fix indexing of column numbers. We accidentally were starting column indices
at 0 instead of 1.
- Fix regression in handling of errors like E402 that rely on a combination of
- attributes. (See also `GitLab#186`_)
-
-
-.. links
-.. _GitLab#181:
- https://gitlab.com/pycqa/flake8/issues/181
-.. _GitLab#186:
- https://gitlab.com/pycqa/flake8/issues/186
+ attributes. (See also :issue:`530`)
diff --git a/docs/source/release-notes/3.0.3.rst b/docs/source/release-notes/3.0.3.rst
index 5eed69d..74ee4c0 100644
--- a/docs/source/release-notes/3.0.3.rst
+++ b/docs/source/release-notes/3.0.3.rst
@@ -8,37 +8,25 @@
This raises an informative error when a plugin fails to load because its
entry_point is not callable, which can happen with a plugin which is buggy or
not updated for the current version of flake8. This is nicer than raising a
- `PicklingError` about failing to pickle a module (See also `GitLab#164`_)
+ `PicklingError` about failing to pickle a module (See also :issue:`1014`)
- Fix ``# noqa`` comments followed by a ``:`` and explanation broken by
- 3.0.0 (See also `GitLab#178`_)
+ 3.0.0 (See also :issue:`1025`)
- Always open our output file in append mode so we do not overwrite log
- messages. (See also `GitLab#193`_)
+ messages. (See also :issue:`535`)
- When normalizing path values read from configuration, keep in context the
directory where the configuration was found so that relative paths work.
- (See also `GitLab#194`_)
+ (See also :issue:`1036`)
- Fix issue where users were unable to ignore plugin errors that were on
- by default. (See also `GitLab#195`_)
+ by default. (See also :issue:`1037`)
- Fix our legacy API StyleGuide's ``init_report`` method to actually override
- the previous formatter. (See also `GitLab#200`_)
+ the previous formatter. (See also :issue:`136`)
.. links
-.. _GitLab#164:
- https://gitlab.com/pycqa/flake8/issues/164
-.. _GitLab#178:
- https://gitlab.com/pycqa/flake8/issues/178
-.. _GitLab#193:
- https://gitlab.com/pycqa/flake8/issues/193
-.. _GitLab#194:
- https://gitlab.com/pycqa/flake8/issues/193
-.. _GitLab#195:
- https://gitlab.com/pycqa/flake8/issues/195
-.. _GitLab#200:
- https://gitlab.com/pycqa/flake8/issues/200
.. _this Python bug report:
https://bugs.python.org/issue27649
diff --git a/docs/source/release-notes/3.0.4.rst b/docs/source/release-notes/3.0.4.rst
index bdea279..3ad92b1 100644
--- a/docs/source/release-notes/3.0.4.rst
+++ b/docs/source/release-notes/3.0.4.rst
@@ -2,19 +2,10 @@
-------------------
- Side-step a Pickling Error when using Flake8 with multiprocessing on Unix
- systems. (See also `GitLab#164`_)
+ systems. (See also :issue:`1014`)
- Fix an Attribute Error raised when dealing with Invalid Syntax. (See also
- `GitLab#203`_)
+ :issue:`539`)
- Fix an unhandled Syntax Error when tokenizing files. (See also
- `GitLab#205`_)
-
-
-.. links
-.. _GitLab#164:
- https://gitlab.com/pycqa/flake8/issues/164
-.. _GitLab#203:
- https://gitlab.com/pycqa/flake8/issues/203
-.. _GitLab#205:
- https://gitlab.com/pycqa/flake8/issues/205
+ :issue:`540`)
diff --git a/docs/source/release-notes/3.1.0.rst b/docs/source/release-notes/3.1.0.rst
index a51b309..c3ca92d 100644
--- a/docs/source/release-notes/3.1.0.rst
+++ b/docs/source/release-notes/3.1.0.rst
@@ -1,44 +1,44 @@
3.1.0 -- 2016-11-14
-------------------
-You can view the `3.1.0 milestone`_ on GitLab for more details.
+You can view the `3.1.0 milestone`_ on GitHub for more details.
- Add ``--bug-report`` flag to make issue reporters' lives easier.
- Collect configuration files from the current directory when using our Git
- hook. (See also `GitLab#210`_, `GitLab#218`_, `GitLab#223`_)
+ hook. (See also :issue:`142`, :issue:`150`, :issue:`155`)
- Avoid unhandled exceptions when dealing with SyntaxErrors. (See also
- `GitLab#214`_, `GitLab#238`_)
+ :issue:`146`, :issue:`170`)
-- Exit early if the value for ``--diff`` is empty. (See also `GitLab#226`_)
+- Exit early if the value for ``--diff`` is empty. (See also :issue:`158`)
-- Handle empty ``--stdin-display-name`` values. (See also `GitLab#235`_)
+- Handle empty ``--stdin-display-name`` values. (See also :issue:`167`)
- Properly report the column number of Syntax Errors. We were assuming that
all reports of column numbers were 0-indexed, however, SyntaxErrors report
the column number as 1-indexed. This caused us to report a column number
that was 1 past the actual position. Further, when combined with
SyntaxErrors that occur at a newline, this caused the position to be
- visually off by two. (See also `GitLab#237`_)
+ visually off by two. (See also :issue:`169`)
- Fix the behaviour of ``--enable-extensions``. Previously, items specified
here were still ignored due to the fact that the off-by-default extension
- codes were being left in the ``ignore`` list. (See also `GitLab#239`_)
+ codes were being left in the ``ignore`` list. (See also :issue:`171`)
- Fix problems around ``--select`` and ``--ignore`` behaviour that prevented
codes that were neither explicitly selected nor explicitly ignored from
- being reported. (See also `GitLab#242`_)
+ being reported. (See also :issue:`174`)
- Truly be quiet when the user specifies ``-q`` one or more times. Previously,
we were showing the if the user specified ``-q`` and ``--show-source``. We
- have fixed this bug. (See also `GitLab#245`_)
+ have fixed this bug. (See also :issue:`177`)
- Add new File Processor attribute, ``previous_unindented_logical_line`` to
- accommodate pycodestyle 2.1.0. (See also `GitLab#246`_)
+ accommodate pycodestyle 2.1.0. (See also :issue:`178`)
-- When something goes wrong, exit non-zero. (See also `GitLab#248`_,
- `GitLab#209`_)
+- When something goes wrong, exit non-zero. (See also :issue:`180`,
+ :issue:`141`)
- Add ``--tee`` as an option to allow use of ``--output-file`` and printing to
standard out.
@@ -49,32 +49,4 @@ You can view the `3.1.0 milestone`_ on GitLab for more details.
.. links
.. _3.1.0 milestone:
- https://gitlab.com/pycqa/flake8/milestones/12
-.. _GitLab#209:
- https://gitlab.com/pycqa/flake8/issues/209
-.. _GitLab#210:
- https://gitlab.com/pycqa/flake8/issues/210
-.. _GitLab#214:
- https://gitlab.com/pycqa/flake8/issues/214
-.. _GitLab#218:
- https://gitlab.com/pycqa/flake8/issues/218
-.. _GitLab#223:
- https://gitlab.com/pycqa/flake8/issues/223
-.. _GitLab#226:
- https://gitlab.com/pycqa/flake8/issues/226
-.. _GitLab#235:
- https://gitlab.com/pycqa/flake8/issues/235
-.. _GitLab#237:
- https://gitlab.com/pycqa/flake8/issues/237
-.. _GitLab#238:
- https://gitlab.com/pycqa/flake8/issues/238
-.. _GitLab#239:
- https://gitlab.com/pycqa/flake8/issues/239
-.. _GitLab#242:
- https://gitlab.com/pycqa/flake8/issues/242
-.. _GitLab#245:
- https://gitlab.com/pycqa/flake8/issues/245
-.. _GitLab#246:
- https://gitlab.com/pycqa/flake8/issues/246
-.. _GitLab#248:
- https://gitlab.com/pycqa/flake8/issues/248
+ https://github.com/pycqa/flake8/milestone/12
diff --git a/docs/source/release-notes/3.1.1.rst b/docs/source/release-notes/3.1.1.rst
index c22adde..a7f4081 100644
--- a/docs/source/release-notes/3.1.1.rst
+++ b/docs/source/release-notes/3.1.1.rst
@@ -1,18 +1,14 @@
3.1.1 -- 2016-11-14
-------------------
-You can view the `3.1.1 milestone`_ on GitLab for more details.
+You can view the `3.1.1 milestone`_ on GitHub for more details.
- Do not attempt to install/distribute a ``man`` file with the Python package;
- leave this for others to do. (See also `GitLab#254`_)
+ leave this for others to do. (See also :issue:`186`)
- Fix packaging bug where wheel version constraints specified in setup.cfg did
- not match the constraints in setup.py. (See also `GitLab#255`_)
+ not match the constraints in setup.py. (See also :issue:`187`)
.. links
.. _3.1.1 milestone:
- https://gitlab.com/pycqa/flake8/milestones/13
-.. _GitLab#254:
- https://gitlab.com/pycqa/flake8/issues/254
-.. _GitLab#255:
- https://gitlab.com/pycqa/flake8/issues/255
+ https://github.com/pycqa/flake8/milestone/13
diff --git a/docs/source/release-notes/3.2.0.rst b/docs/source/release-notes/3.2.0.rst
index 123bc33..a7599ef 100644
--- a/docs/source/release-notes/3.2.0.rst
+++ b/docs/source/release-notes/3.2.0.rst
@@ -1,13 +1,11 @@
3.2.0 -- 2016-11-14
-------------------
-You can view the `3.2.0 milestone`_ on GitLab for more details.
+You can view the `3.2.0 milestone`_ on GitHub for more details.
- Allow for pycodestyle 2.2.0 which fixes a bug in E305 (See also
- `GitLab#256`_)
+ :issue:`188`)
.. links
.. _3.2.0 milestone:
- https://gitlab.com/pycqa/flake8/milestones/14
-.. _GitLab#256:
- https://gitlab.com/pycqa/flake8/issues/256
+ https://github.com/pycqa/flake8/milestone/14
diff --git a/docs/source/release-notes/3.2.1.rst b/docs/source/release-notes/3.2.1.rst
index 16d4f28..0a4c3c7 100644
--- a/docs/source/release-notes/3.2.1.rst
+++ b/docs/source/release-notes/3.2.1.rst
@@ -1,27 +1,19 @@
3.2.1 -- 2016-11-21
-------------------
-You can view the `3.2.1 milestone`_ on GitLab for more details.
+You can view the `3.2.1 milestone`_ on GitHub for more details.
- Fix subtle bug when deciding whether to report an on-by-default's violation
- (See also `GitLab#257`_)
+ (See also :issue:`189`)
- Fix another bug around SyntaxErrors not being reported at the right column
- and row (See also `GitLab#259`_ and `GitLab#237`_ for a related, previously
+ and row (See also :issue:`191` and :issue:`169` for a related, previously
fixed bug)
- Fix regression from 2.x where we run checks against explicitly provided
files, even if they don't match the filename patterns. (See also
- `GitLab#266`_)
+ :issue:`198`)
.. links
.. _3.2.1 milestone:
- https://gitlab.com/pycqa/flake8/milestones/15
-.. _GitLab#237:
- https://gitlab.com/pycqa/flake8/issues/237
-.. _GitLab#257:
- https://gitlab.com/pycqa/flake8/issues/257
-.. _GitLab#259:
- https://gitlab.com/pycqa/flake8/issues/259
-.. _GitLab#266:
- https://gitlab.com/pycqa/flake8/issues/266
+ https://github.com/pycqa/flake8/milestone/15
diff --git a/docs/source/release-notes/3.3.0.rst b/docs/source/release-notes/3.3.0.rst
index 982210e..431ab15 100644
--- a/docs/source/release-notes/3.3.0.rst
+++ b/docs/source/release-notes/3.3.0.rst
@@ -1,7 +1,7 @@
3.3.0 -- 2017-02-06
-------------------
-You can view the `3.3.0 milestone`_ on GitLab for more details.
+You can view the `3.3.0 milestone`_ on GitHub for more details.
- Add support for Python 3.6 (via dependencies). **Note** Flake8 does not
guarantee that all plugins will support Python 3.6.
@@ -9,49 +9,29 @@ You can view the `3.3.0 milestone`_ on GitLab for more details.
- Added unique error codes for all missing PyFlakes messages. (14 new
codes, see "Error / Violation Codes")
-- Dramatically improve the performance of Flake8. (See also `GitLab!156`_)
+- Dramatically improve the performance of Flake8. (See also :issue:`829`)
- Display the local file path instead of the temporary file path when
- using the git hook. (See also `GitLab#244`_)
+ using the git hook. (See also :issue:`176`)
- Add methods to Report class that will be called when Flake8 starts and
- finishes processing a file. (See also `GitLab#251`_)
+ finishes processing a file. (See also :issue:`183`)
- Fix problem where hooks should only check \*.py files. (See also
- `GitLab#268`_)
+ :issue:`200`)
- Fix handling of SyntaxErrors that do not include physical line information.
- (See also `GitLab#279`_)
+ (See also :issue:`542`)
- Update upper bound on PyFlakes to allow for PyFlakes 1.5.0. (See also
- `GitLab#290`_)
+ :issue:`549`)
- Update setuptools integration to less eagerly deduplicate packages.
- (See also `GitLab#295`_)
+ (See also :issue:`552`)
- Force ``flake8 --version`` to be repeatable between invocations. (See also
- `GitLab#297`_)
+ :issue:`554`)
.. all links
.. _3.3.0 milestone:
- https://gitlab.com/pycqa/flake8/milestones/16
-
-.. issue links
-.. _GitLab#244:
- https://gitlab.com/pycqa/flake8/issues/244
-.. _GitLab#251:
- https://gitlab.com/pycqa/flake8/issues/251
-.. _GitLab#268:
- https://gitlab.com/pycqa/flake8/issues/268
-.. _GitLab#279:
- https://gitlab.com/pycqa/flake8/issues/279
-.. _GitLab#290:
- https://gitlab.com/pycqa/flake8/issues/290
-.. _GitLab#295:
- https://gitlab.com/pycqa/flake8/issues/295
-.. _GitLab#297:
- https://gitlab.com/pycqa/flake8/issues/297
-
-.. merge request links
-.. _GitLab!156:
- https://gitlab.com/pycqa/flake8/merge_requests/156
+ https://github.com/pycqa/flake8/milestone/16
diff --git a/docs/source/release-notes/3.4.0.rst b/docs/source/release-notes/3.4.0.rst
index 08ee558..c4a53d0 100644
--- a/docs/source/release-notes/3.4.0.rst
+++ b/docs/source/release-notes/3.4.0.rst
@@ -1,41 +1,25 @@
3.4.0 -- 2017-07-27
-------------------
-You can view the `3.4.0 milestone`_ on GitLab for more details.
+You can view the `3.4.0 milestone`_ on GitHub for more details.
- Refine logic around ``--select`` and ``--ignore`` when combined with the
- default values for each. (See also `GitLab#318`_)
+ default values for each. (See also :issue:`572`)
- Handle spaces as an alternate separate for error codes, e.g.,
- ``--ignore 'E123 E234'``. (See also `GitLab#329`_)
+ ``--ignore 'E123 E234'``. (See also :issue:`580`)
- Filter out empty select and ignore codes, e.g., ``--ignore E123,,E234``.
- (See also `GitLab#330`_)
+ (See also :issue:`581`)
-- Specify dependencies appropriately in ``setup.py`` (See also `Gitlab#341_`)
+- Specify dependencies appropriately in ``setup.py`` (See also :issue:`592`)
- Fix bug in parsing ``--quiet`` and ``--verbose`` from config files.
- (See also `GitLab!193`_)
+ (See also :issue:`1169`)
- Remove unused import of ``os`` in the git hook template (See also
- `GitLab!194`_)
+ :issue:`1170`)
.. all links
.. _3.4.0 milestone:
- https://gitlab.com/pycqa/flake8/milestones/18
-
-.. issue links
-.. _GitLab#318:
- https://gitlab.com/pycqa/flake8/issues/318
-.. _GitLab#329:
- https://gitlab.com/pycqa/flake8/issues/329
-.. _GitLab#330:
- https://gitlab.com/pycqa/flake8/issues/330
-.. _GitLab#341:
- https://gitlab.com/pycqa/flake8/issues/341
-
-.. merge request links
-.. _GitLab!193:
- https://gitlab.com/pycqa/flake8/merge_requests/193
-.. _GitLab!194:
- https://gitlab.com/pycqa/flake8/merge_requests/194
+ https://github.com/pycqa/flake8/milestone/17
diff --git a/docs/source/release-notes/3.4.1.rst b/docs/source/release-notes/3.4.1.rst
index 81d0eef..dbbb437 100644
--- a/docs/source/release-notes/3.4.1.rst
+++ b/docs/source/release-notes/3.4.1.rst
@@ -1,17 +1,11 @@
3.4.1 -- 2017-07-28
-------------------
-You can view the `3.4.1 milestone`_ on GitLab for more details.
+You can view the `3.4.1 milestone`_ on GitHub for more details.
- Fix minor regression when users specify only a ``--select`` list with items
- in the enabled/extended select list. (See also `GitLab#354`_)
+ in the enabled/extended select list. (See also :issue:`605`)
.. all links
.. _3.4.1 milestone:
- https://gitlab.com/pycqa/flake8/milestones/19
-
-.. issue links
-.. _GitLab#354:
- https://gitlab.com/pycqa/flake8/issues/354
-
-.. merge request links
+ https://github.com/pycqa/flake8/milestone/18
diff --git a/docs/source/release-notes/3.5.0.rst b/docs/source/release-notes/3.5.0.rst
index ff3a140..75a5b70 100644
--- a/docs/source/release-notes/3.5.0.rst
+++ b/docs/source/release-notes/3.5.0.rst
@@ -1,46 +1,32 @@
3.5.0 -- 2017-10-23
-------------------
-You can view the `3.5.0 milestone`_ on GitLab for more details.
+You can view the `3.5.0 milestone`_ on GitHub for more details.
New Dependency Information
~~~~~~~~~~~~~~~~~~~~~~~~~~
-- Allow for PyFlakes 1.6.0 (See also `GitLab#359`_)
+- Allow for PyFlakes 1.6.0 (See also :issue:`1058`)
- Start using new PyCodestyle checks for bare excepts and ambiguous identifier
- (See also `GitLab#361`_)
+ (See also :issue:`611`)
Features
~~~~~~~~
-- Print out information about configuring VCS hooks (See also `GitLab#335`_)
+- Print out information about configuring VCS hooks (See also :issue:`586`)
- Allow users to develop plugins "local" to a repository without using
setuptools. See our documentation on local plugins for more information.
- (See also `GitLab#357`_)
+ (See also :issue:`608`)
Bugs Fixed
~~~~~~~~~~
- Catch and helpfully report ``UnicodeDecodeError``\ s when parsing
- configuration files. (See also `GitLab#358`_)
+ configuration files. (See also :issue:`609`)
.. all links
.. _3.5.0 milestone:
- https://gitlab.com/pycqa/flake8/milestones/20
-
-.. issue links
-.. _GitLab#335:
- https://gitlab.com/pycqa/flake8/issues/335
-.. _GitLab#357:
- https://gitlab.com/pycqa/flake8/issues/357
-.. _GitLab#358:
- https://gitlab.com/pycqa/flake8/issues/358
-.. _GitLab#359:
- https://gitlab.com/pycqa/flake8/issues/359
-.. _GitLab#361:
- https://gitlab.com/pycqa/flake8/issues/361
-
-.. merge request links
+ https://github.com/pycqa/flake8/milestone/19
diff --git a/docs/source/release-notes/3.6.0.rst b/docs/source/release-notes/3.6.0.rst
index 052e8c3..140a3bf 100644
--- a/docs/source/release-notes/3.6.0.rst
+++ b/docs/source/release-notes/3.6.0.rst
@@ -1,117 +1,61 @@
3.6.0 -- 2018-10-23
-------------------
-You can view the `3.6.0 milestone`_ on GitLab for more details.
+You can view the `3.6.0 milestone`_ on GitHub for more details.
New Dependency Information
~~~~~~~~~~~~~~~~~~~~~~~~~~
-- pycodestyle has been updated to >= 2.4.0, < 2.5.0 (See also `GitLab#381`_,
- `GitLab#415`_, `GitLab!212`_, `GitLab!230`_, `GitLab!231`_)
+- pycodestyle has been updated to >= 2.4.0, < 2.5.0 (See also :issue:`1068`,
+ :issue:`652`, :issue:`869`, :issue:`881`, :issue:`1239`)
-- Pyflakes has been updated to >= 2.0.0, < 2.1.0 (See also `GitLab#422`_,
- `GitLab!239`_)
+- Pyflakes has been updated to >= 2.0.0, < 2.1.0 (See also :issue:`655`,
+ :issue:`883`)
- flake8 requires python 2.x >= 2.7 or python 3.x >= 3.4 (See also
- `GitLab!225`_)
+ :issue:`876`)
Features
~~~~~~~~
- Add ``paths`` to allow local plugins to exist outside of ``sys.path`` (See
- also `GitLab#379`_, `GitLab!211`_)
+ also :issue:`1067`, :issue:`1237`)
- Copy ``setup.cfg`` files to the temporary git hook execution directory (See
- also `GitLab!215`_)
+ also :issue:`1299`)
- Only skip a file if ``# flake8: noqa`` is on a line by itself (See also
- `GitLab#453`_, `GitLab!219`_)
+ :issue:`259`, :issue:`873`)
-- Provide a better user experience for broken plugins (See also `GitLab!221`_)
+- Provide a better user experience for broken plugins (See also :issue:`1178`)
- Report ``E902`` when a file passed on the command line does not exist (See
- also `GitLab#405`_, `GitLab!227`_)
+ also :issue:`645`, :issue:`878`)
- Add ``--extend-ignore`` for extending the default ``ignore`` instead of
- overriding it (See also `GitLab#365`_, `GitLab!233`_)
+ overriding it (See also :issue:`1061`, :issue:`1180`)
Bugs Fixed
~~~~~~~~~~
-- Respect a formatter's newline setting when printing (See also `GitLab!222`_)
+- Respect a formatter's newline setting when printing (See also :issue:`1238`)
-- Fix leaking of processes in the legacy api (See also `GitLab#410`_,
- `GitLab!228`_)
+- Fix leaking of processes in the legacy api (See also :issue:`650`,
+ :issue:`879`)
- Fix a ``SyntaxWarning`` for an invalid escape sequence (See also
- `GitLab!244`_)
+ :issue:`1186`)
- Fix ``DeprecationWarning`` due to import of ``abc`` classes from the
- ``collections`` module (See also `GitLab!249`_)
+ ``collections`` module (See also :issue:`887`)
- Defer ``setuptools`` import to improve flake8 startup time (See also
- `GitLab!250`_)
+ :issue:`1190`)
- Fix inconsistent line endings in ``FileProcessor.lines`` when running under
- python 3.x (See also `GitLab#457`_, `GitLab!255`_)
+ python 3.x (See also :issue:`263`, :issue:`889`)
.. all links
.. _3.6.0 milestone:
- https://gitlab.com/pycqa/flake8/milestones/21
-
-.. issue links
-.. _GitLab#365:
- https://gitlab.com/pycqa/flake8/issues/365
-.. _GitLab#379:
- https://gitlab.com/pycqa/flake8/issues/379
-.. _GitLab#381:
- https://gitlab.com/pycqa/flake8/issues/381
-.. _GitLab#405:
- https://gitlab.com/pycqa/flake8/issues/405
-.. _GitLab#410:
- https://gitlab.com/pycqa/flake8/issues/410
-.. _GitLab#415:
- https://gitlab.com/pycqa/flake8/issues/415
-.. _GitLab#422:
- https://gitlab.com/pycqa/flake8/issues/422
-.. _GitLab#453:
- https://gitlab.com/pycqa/flake8/issues/453
-.. _GitLab#457:
- https://gitlab.com/pycqa/flake8/issues/457
-
-.. merge request links
-.. _GitLab!211:
- https://gitlab.com/pycqa/flake8/merge_requests/211
-.. _GitLab!212:
- https://gitlab.com/pycqa/flake8/merge_requests/212
-.. _GitLab!215:
- https://gitlab.com/pycqa/flake8/merge_requests/215
-.. _GitLab!219:
- https://gitlab.com/pycqa/flake8/merge_requests/219
-.. _GitLab!221:
- https://gitlab.com/pycqa/flake8/merge_requests/221
-.. _GitLab!222:
- https://gitlab.com/pycqa/flake8/merge_requests/222
-.. _GitLab!225:
- https://gitlab.com/pycqa/flake8/merge_requests/225
-.. _GitLab!227:
- https://gitlab.com/pycqa/flake8/merge_requests/227
-.. _GitLab!228:
- https://gitlab.com/pycqa/flake8/merge_requests/228
-.. _GitLab!230:
- https://gitlab.com/pycqa/flake8/merge_requests/230
-.. _GitLab!231:
- https://gitlab.com/pycqa/flake8/merge_requests/231
-.. _GitLab!233:
- https://gitlab.com/pycqa/flake8/merge_requests/233
-.. _GitLab!239:
- https://gitlab.com/pycqa/flake8/merge_requests/239
-.. _GitLab!244:
- https://gitlab.com/pycqa/flake8/merge_requests/244
-.. _GitLab!249:
- https://gitlab.com/pycqa/flake8/merge_requests/249
-.. _GitLab!250:
- https://gitlab.com/pycqa/flake8/merge_requests/250
-.. _GitLab!255:
- https://gitlab.com/pycqa/flake8/merge_requests/255
+ https://github.com/pycqa/flake8/milestone/20
diff --git a/docs/source/release-notes/3.7.0.rst b/docs/source/release-notes/3.7.0.rst
index 75fcca5..024b90c 100644
--- a/docs/source/release-notes/3.7.0.rst
+++ b/docs/source/release-notes/3.7.0.rst
@@ -1,85 +1,45 @@
3.7.0 -- 2019-01-29
-------------------
-You can view the `3.7.0 milestone`_ on GitLab for more details.
+You can view the `3.7.0 milestone`_ on GitHub for more details.
New Dependency Information
~~~~~~~~~~~~~~~~~~~~~~~~~~
-- Add dependency on ``entrypoints`` >= 0.3, < 0.4 (See also `GitLab!264`_,
- `GitLab!288`_)
+- Add dependency on ``entrypoints`` >= 0.3, < 0.4 (See also :issue:`897`,
+ :issue:`1197`)
-- Pyflakes has been updated to >= 2.1.0, < 2.2.0 (See also `GitLab!283`_,
- `GitLab!285`_)
+- Pyflakes has been updated to >= 2.1.0, < 2.2.0 (See also :issue:`912`,
+ :issue:`913`)
-- pycodestyle has been updated to >= 2.5.0, < 2.6.0 (See also `GitLab!287`_)
+- pycodestyle has been updated to >= 2.5.0, < 2.6.0 (See also :issue:`915`)
Features
~~~~~~~~
-- Add support for ``per-file-ignores`` (See also `GitLab!259`_, `GitLab#156`_,
- `GitLab!281`_, `GitLab#471`_)
+- Add support for ``per-file-ignores`` (See also :issue:`892`, :issue:`511`,
+ :issue:`911`, :issue:`277`)
-- Enable use of ``float`` and ``complex`` option types (See also `GitLab!261`_,
- `GitLab#452`_)
+- Enable use of ``float`` and ``complex`` option types (See also :issue:`894`,
+ :issue:`258`)
- Improve startup performance by switching from ``pkg_resources`` to
- ``entrypoints`` (See also `GitLab!264`_)
+ ``entrypoints`` (See also :issue:`897`)
- Add metadata for use through the `pre-commit`_ git hooks framework (See also
- `GitLab!268`_, `GitLab!284`_)
+ :issue:`901`, :issue:`1196`)
- Allow physical line checks to return more than one result (See also
- `GitLab!269`_)
+ :issue:`902`)
- Allow ``# noqa:X123`` comments without space between the colon and codes
- list (See also `GitLab!273`_, `GitLab#470`_)
+ list (See also :issue:`906`, :issue:`276`)
- Remove broken and unused ``flake8.listen`` plugin type (See also
- `GitLab!274`_, `GitLab#480`_)
+ :issue:`907`, :issue:`663`)
.. all links
.. _3.7.0 milestone:
- https://gitlab.com/pycqa/flake8/milestones/23
+ https://github.com/pycqa/flake8/milestone/22
.. _pre-commit:
https://pre-commit.com/
-
-.. issue links
-.. _GitLab#156:
- https://gitlab.com/pycqa/flake8/issues/156
-.. _GitLab#452:
- https://gitlab.com/pycqa/flake8/issues/452
-.. _GitLab#470:
- https://gitlab.com/pycqa/flake8/issues/470
-.. _GitLab#471:
- https://gitlab.com/pycqa/flake8/issues/471
-.. _GitLab#480:
- https://gitlab.com/pycqa/flake8/issues/480
-
-.. merge request links
-.. _GitLab!259:
- https://gitlab.com/pycqa/flake8/merge_requests/259
-.. _GitLab!261:
- https://gitlab.com/pycqa/flake8/merge_requests/261
-.. _GitLab!264:
- https://gitlab.com/pycqa/flake8/merge_requests/264
-.. _GitLab!268:
- https://gitlab.com/pycqa/flake8/merge_requests/268
-.. _GitLab!269:
- https://gitlab.com/pycqa/flake8/merge_requests/269
-.. _GitLab!273:
- https://gitlab.com/pycqa/flake8/merge_requests/273
-.. _GitLab!274:
- https://gitlab.com/pycqa/flake8/merge_requests/274
-.. _GitLab!281:
- https://gitlab.com/pycqa/flake8/merge_requests/281
-.. _GitLab!283:
- https://gitlab.com/pycqa/flake8/merge_requests/283
-.. _GitLab!284:
- https://gitlab.com/pycqa/flake8/merge_requests/284
-.. _GitLab!285:
- https://gitlab.com/pycqa/flake8/merge_requests/285
-.. _GitLab!287:
- https://gitlab.com/pycqa/flake8/merge_requests/287
-.. _GitLab!288:
- https://gitlab.com/pycqa/flake8/merge_requests/288
diff --git a/docs/source/release-notes/3.7.1.rst b/docs/source/release-notes/3.7.1.rst
index 913c4a9..218ac07 100644
--- a/docs/source/release-notes/3.7.1.rst
+++ b/docs/source/release-notes/3.7.1.rst
@@ -1,22 +1,14 @@
3.7.1 -- 2019-01-30
-------------------
-You can view the `3.7.1 milestone`_ on GitLab for more details.
+You can view the `3.7.1 milestone`_ on GitHub for more details.
Bugs Fixed
~~~~~~~~~~
- Fix capitalized filenames in ``per-file-ignores`` setting (See also
- `GitLab!290`_, `GitLab#488`_)
+ :issue:`917`, :issue:`287`)
.. all links
.. _3.7.1 milestone:
- https://gitlab.com/pycqa/flake8/milestones/24
-
-.. issue links
-.. _GitLab#488:
- https://gitlab.com/pycqa/flake8/issues/488
-
-.. merge request links
-.. _GitLab!290:
- https://gitlab.com/pycqa/flake8/merge_requests/290
+ https://github.com/pycqa/flake8/milestone/23
diff --git a/docs/source/release-notes/3.7.2.rst b/docs/source/release-notes/3.7.2.rst
index 87bc8c3..98d64fb 100644
--- a/docs/source/release-notes/3.7.2.rst
+++ b/docs/source/release-notes/3.7.2.rst
@@ -1,36 +1,20 @@
3.7.2 -- 2019-01-30
-------------------
-You can view the `3.7.2 milestone`_ on GitLab for more details.
+You can view the `3.7.2 milestone`_ on GitHub for more details.
Bugs Fixed
~~~~~~~~~~
-- Fix broken ``flake8 --diff`` (regressed in 3.7.0) (See also `GitLab!292`_,
- `GitLab#490`_)
+- Fix broken ``flake8 --diff`` (regressed in 3.7.0) (See also :issue:`919`,
+ :issue:`667`)
-- Fix typo in plugin exception reporting (See also `GitLab!275`_,
- `GitLab#491`_)
+- Fix typo in plugin exception reporting (See also :issue:`908`,
+ :issue:`668`)
- Fix ``AttributeError`` while attempting to use the legacy api (regressed in
- 3.7.0) (See also `GitLab!293`_, `GitLab#497`_)
+ 3.7.0) (See also :issue:`1198`, :issue:`673`)
.. all links
.. _3.7.2 milestone:
- https://gitlab.com/pycqa/flake8/milestones/25
-
-.. issue links
-.. _GitLab#490:
- https://gitlab.com/pycqa/flake8/issues/490
-.. _GitLab#491:
- https://gitlab.com/pycqa/flake8/issues/491
-.. _GitLab#497:
- https://gitlab.com/pycqa/flake8/issues/497
-
-.. merge request links
-.. _GitLab!292:
- https://gitlab.com/pycqa/flake8/merge_requests/292
-.. _GitLab!275:
- https://gitlab.com/pycqa/flake8/merge_requests/275
-.. _GitLab!293:
- https://gitlab.com/pycqa/flake8/merge_requests/293
+ https://github.com/pycqa/flake8/milestone/24
diff --git a/docs/source/release-notes/3.7.3.rst b/docs/source/release-notes/3.7.3.rst
index 1db1d8f..69f4eec 100644
--- a/docs/source/release-notes/3.7.3.rst
+++ b/docs/source/release-notes/3.7.3.rst
@@ -1,43 +1,23 @@
3.7.3 -- 2019-01-30
-------------------
-You can view the `3.7.3 milestone`_ on GitLab for more details.
+You can view the `3.7.3 milestone`_ on GitHub for more details.
Bugs Fixed
~~~~~~~~~~
-- Fix imports of ``typing`` in python 3.5.0 / 3.5.1 (See also `GitLab!294`_,
- `GitLab#498`_)
+- Fix imports of ``typing`` in python 3.5.0 / 3.5.1 (See also :issue:`1199`,
+ :issue:`674`)
-- Fix ``flake8 --statistics`` (See also `GitLab!295`_, `GitLab#499`_)
+- Fix ``flake8 --statistics`` (See also :issue:`920`, :issue:`675`)
- Gracefully ignore ``flake8-per-file-ignores`` plugin if installed (See also
- `GitLab!297`_, `GitLab#495`_)
+ :issue:`1201`, :issue:`671`)
- Improve error message for malformed ``per-file-ignores`` (See also
- `GitLab!298`_, `GitLab#489`_)
+ :issue:`921`, :issue:`288`)
.. all links
.. _3.7.3 milestone:
- https://gitlab.com/pycqa/flake8/milestones/26
-
-.. issue links
-.. _GitLab#489:
- https://gitlab.com/pycqa/flake8/issues/489
-.. _GitLab#495:
- https://gitlab.com/pycqa/flake8/issues/495
-.. _GitLab#498:
- https://gitlab.com/pycqa/flake8/issues/498
-.. _GitLab#499:
- https://gitlab.com/pycqa/flake8/issues/499
-
-.. merge request links
-.. _GitLab!294:
- https://gitlab.com/pycqa/flake8/merge_requests/294
-.. _GitLab!295:
- https://gitlab.com/pycqa/flake8/merge_requests/295
-.. _GitLab!297:
- https://gitlab.com/pycqa/flake8/merge_requests/297
-.. _GitLab!298:
- https://gitlab.com/pycqa/flake8/merge_requests/298
+ https://github.com/pycqa/flake8/milestone/25
diff --git a/docs/source/release-notes/3.7.4.rst b/docs/source/release-notes/3.7.4.rst
index bfde209..80a9024 100644
--- a/docs/source/release-notes/3.7.4.rst
+++ b/docs/source/release-notes/3.7.4.rst
@@ -1,23 +1,15 @@
3.7.4 -- 2019-01-31
-------------------
-You can view the `3.7.4 milestone`_ on GitLab for more details.
+You can view the `3.7.4 milestone`_ on GitHub for more details.
Bugs Fixed
~~~~~~~~~~
- Fix performance regression with lots of ``per-file-ignores`` and errors
- (See also `GitLab!299`_, `GitLab#501`_)
+ (See also :issue:`922`, :issue:`677`)
.. all links
.. _3.7.4 milestone:
- https://gitlab.com/pycqa/flake8/milestones/27
-
-.. issue links
-.. _GitLab#501:
- https://gitlab.com/pycqa/flake8/issues/501
-
-.. merge request links
-.. _GitLab!299:
- https://gitlab.com/pycqa/flake8/merge_requests/299
+ https://github.com/pycqa/flake8/milestone/26
diff --git a/docs/source/release-notes/3.7.5.rst b/docs/source/release-notes/3.7.5.rst
index e6bf37a..769893c 100644
--- a/docs/source/release-notes/3.7.5.rst
+++ b/docs/source/release-notes/3.7.5.rst
@@ -1,23 +1,15 @@
3.7.5 -- 2019-02-04
-------------------
-You can view the `3.7.5 milestone`_ on GitLab for more details.
+You can view the `3.7.5 milestone`_ on GitHub for more details.
Bugs Fixed
~~~~~~~~~~
- Fix reporting of pyflakes "referenced before assignment" error (See also
- `GitLab!301`_, `GitLab#503`_)
+ :issue:`923`, :issue:`679`)
.. all links
.. _3.7.5 milestone:
- https://gitlab.com/pycqa/flake8/milestones/28
-
-.. issue links
-.. _GitLab#503:
- https://gitlab.com/pycqa/flake8/issues/503
-
-.. merge request links
-.. _GitLab!301:
- https://gitlab.com/pycqa/flake8/merge_requests/301
+ https://github.com/pycqa/flake8/milestone/27
diff --git a/docs/source/release-notes/3.7.6.rst b/docs/source/release-notes/3.7.6.rst
index 775edd5..a18eaef 100644
--- a/docs/source/release-notes/3.7.6.rst
+++ b/docs/source/release-notes/3.7.6.rst
@@ -1,27 +1,17 @@
3.7.6 -- 2019-02-18
-------------------
-You can view the `3.7.6 milestone`_ on GitLab for more details.
+You can view the `3.7.6 milestone`_ on GitHub for more details.
Bugs Fixed
~~~~~~~~~~
- Fix ``--per-file-ignores`` for multi-letter error codes (See also
- `GitLab!303`_, `GitLab#507`_)
+ :issue:`1203`, :issue:`683`)
-- Improve flake8 speed when only 1 filename is passed (See also `GitLab!305`_)
+- Improve flake8 speed when only 1 filename is passed (See also :issue:`1204`)
.. all links
.. _3.7.6 milestone:
- https://gitlab.com/pycqa/flake8/milestones/29
-
-.. issue links
-.. _GitLab#507:
- https://gitlab.com/pycqa/flake8/issues/507
-
-.. merge request links
-.. _GitLab!303:
- https://gitlab.com/pycqa/flake8/merge_requests/303
-.. _GitLab!305:
- https://gitlab.com/pycqa/flake8/merge_requests/305
+ https://github.com/pycqa/flake8/milestone/28
diff --git a/docs/source/release-notes/3.7.7.rst b/docs/source/release-notes/3.7.7.rst
index 7948f00..b7a221a 100644
--- a/docs/source/release-notes/3.7.7.rst
+++ b/docs/source/release-notes/3.7.7.rst
@@ -1,23 +1,15 @@
3.7.7 -- 2019-02-25
-------------------
-You can view the `3.7.7 milestone`_ on GitLab for more details.
+You can view the `3.7.7 milestone`_ on GitHub for more details.
Bugs Fixed
~~~~~~~~~~
- Fix crashes in plugins causing ``flake8`` to hang while unpickling errors
- (See also `GitLab!308`_, `GitLab#505`_)
+ (See also :issue:`1206`, :issue:`681`)
.. all links
.. _3.7.7 milestone:
- https://gitlab.com/pycqa/flake8/milestones/30
-
-.. issue links
-.. _GitLab#505:
- https://gitlab.com/pycqa/flake8/issues/505
-
-.. merge request links
-.. _GitLab!308:
- https://gitlab.com/pycqa/flake8/merge_requests/308
+ https://github.com/pycqa/flake8/milestone/29
diff --git a/docs/source/release-notes/3.7.8.rst b/docs/source/release-notes/3.7.8.rst
index 40478a2..e0af4a3 100644
--- a/docs/source/release-notes/3.7.8.rst
+++ b/docs/source/release-notes/3.7.8.rst
@@ -1,41 +1,23 @@
3.7.8 -- 2019-07-08
-------------------
-You can view the `3.7.8 milestone`_ on GitLab for more details.
+You can view the `3.7.8 milestone`_ on GitHub for more details.
Bugs Fixed
~~~~~~~~~~
- Fix handling of ``Application.parse_preliminary_options_and_args`` when
- argv is an empty list (See also `GitLab!310`_, `GitLab#518`_)
+ argv is an empty list (See also :issue:`1303`, :issue:`694`)
-- Fix crash when a file parses but fails to tokenize (See also `GitLab!314`_,
- `GitLab#532`_)
+- Fix crash when a file parses but fails to tokenize (See also :issue:`1210`,
+ :issue:`1088`)
-- Log the full traceback on plugin exceptions (See also `GitLab!317`_)
+- Log the full traceback on plugin exceptions (See also :issue:`926`)
-- Fix ``# noqa: ...`` comments with multi-letter codes (See also `GitLab!326`_,
- `GitLab#549`_)
+- Fix ``# noqa: ...`` comments with multi-letter codes (See also :issue:`931`,
+ :issue:`1101`)
.. all links
.. _3.7.8 milestone:
- https://gitlab.com/pycqa/flake8/milestones/31
-
-.. issue links
-.. _GitLab#518:
- https://gitlab.com/pycqa/flake8/issues/518
-.. _GitLab#532:
- https://gitlab.com/pycqa/flake8/issues/532
-.. _GitLab#549:
- https://gitlab.com/pycqa/flake8/issues/549
-
-.. merge request links
-.. _GitLab!310:
- https://gitlab.com/pycqa/flake8/merge_requests/310
-.. _GitLab!314:
- https://gitlab.com/pycqa/flake8/merge_requests/314
-.. _GitLab!317:
- https://gitlab.com/pycqa/flake8/merge_requests/317
-.. _GitLab!326:
- https://gitlab.com/pycqa/flake8/merge_requests/326
+ https://github.com/pycqa/flake8/milestone/30
diff --git a/docs/source/release-notes/3.7.9.rst b/docs/source/release-notes/3.7.9.rst
index b1a2ce2..29467a0 100644
--- a/docs/source/release-notes/3.7.9.rst
+++ b/docs/source/release-notes/3.7.9.rst
@@ -1,23 +1,15 @@
3.7.9 -- 2019-10-28
-------------------
-You can view the `3.7.9 milestone`_ on GitLab for more details.
+You can view the `3.7.9 milestone`_ on GitHub for more details.
Bugs Fixed
~~~~~~~~~~
- Disable multiprocessing when the multiprocessing method is ``spawn`` (such
- as on macos in python3.8) (See also `GitLab!367`_, `GitLab#587`_)
+ as on macos in python3.8) (See also :issue:`956`, :issue:`315`)
.. all links
.. _3.7.9 milestone:
- https://gitlab.com/pycqa/flake8/milestones/33
-
-.. issue links
-.. _GitLab#587:
- https://gitlab.com/pycqa/flake8/issues/587
-
-.. merge request links
-.. _GitLab!367:
- https://gitlab.com/pycqa/flake8/merge_requests/367
+ https://github.com/pycqa/flake8/milestone/32
diff --git a/docs/source/release-notes/3.8.0.rst b/docs/source/release-notes/3.8.0.rst
index cf31f0a..08eb6a1 100644
--- a/docs/source/release-notes/3.8.0.rst
+++ b/docs/source/release-notes/3.8.0.rst
@@ -1,225 +1,139 @@
3.8.0 -- 2020-05-11
-------------------
-You can view the `3.8.0 milestone`_ on GitLab for more details.
+You can view the `3.8.0 milestone`_ on GitHub for more details.
Bugs Fixed
~~~~~~~~~~
- Fix logical checks which report positions out of bounds (See also
- `GitLab!422`_, `GitLab#635`_)
+ :issue:`987`, :issue:`723`)
- Fix ``--exclude=.*`` accidentally matching ``.`` and ``..`` (See also
- `GitLab!424`_, `GitLab#632`_)
+ :issue:`441`, :issue:`360`)
Deprecations
~~~~~~~~~~~~
-- Add deprecation message for vcs hooks (See also `GitLab!420`_,
- `GitLab#568`_)
+- Add deprecation message for vcs hooks (See also :issue:`985`,
+ :issue:`296`)
3.8.0a2 -- 2020-04-24
---------------------
-You can view the `3.8.0 milestone`_ on GitLab for more details.
+You can view the `3.8.0 milestone`_ on GitHub for more details.
Bugs Fixed
~~~~~~~~~~
-- Fix ``type="str"`` optparse options (See also `GitLab!419`_)
+- Fix ``type="str"`` optparse options (See also :issue:`984`)
3.8.0a1 -- 2020-04-24
---------------------
-You can view the `3.8.0 milestone`_ on GitLab for more details.
+You can view the `3.8.0 milestone`_ on GitHub for more details.
New Dependency Information
~~~~~~~~~~~~~~~~~~~~~~~~~~
- Remove dependency on ``entrypoints`` and add dependency on
- ``importlib-metadata`` (only for ``python<3.8``) (See also `GitLab!388`_,
- `GitLab#569`_)
+ ``importlib-metadata`` (only for ``python<3.8``) (See also :issue:`1297`,
+ :issue:`297`)
-- Pyflakes has been updated to >= 2.2.0, < 2.3.0 (See also `GitLab!417`_)
+- Pyflakes has been updated to >= 2.2.0, < 2.3.0 (See also :issue:`982`)
-- pycodestyle has been updated to >= 2.6.0a1, < 2.7.0 (See also `GitLab!418`_)
+- pycodestyle has been updated to >= 2.6.0a1, < 2.7.0 (See also :issue:`983`)
Features
~~~~~~~~
- Add ``--extend-exclude`` option to add to ``--exclude`` without overwriting
- (See also `GitLab!315`_, `GitLab#535`_)
+ (See also :issue:`1211`, :issue:`1091`)
- Move argument parsing from ``optparse`` to ``argparse`` (See also
- `GitLab!341`_
+ :issue:`939`
-- Group plugin options in ``--help`` (See also `GitLab!342`_, `GitLab#565`_)
+- Group plugin options in ``--help`` (See also :issue:`1219`, :issue:`294`)
- Remove parsing of ``verbose`` from configuration files as it was not
- consistently applied (See also `GitLab!360`_, `GitLab#439`_)
+ consistently applied (See also :issue:`1245`, :issue:`245`)
- Remove parsing of ``output_file`` from configuration files as it was not
- consistently applied (See also `GitLab!361`_)
+ consistently applied (See also :issue:`1246`)
- Resolve configuration files relative to ``cwd`` instead of common prefix of
passed filenames. You may need to change ``flake8 subproject`` to
- ``cd subproject && flake8 .`` (See also `GitLab!363`_)
+ ``cd subproject && flake8 .`` (See also :issue:`952`)
-- Officially support python3.8 (See also `GitLab!377`_)
+- Officially support python3.8 (See also :issue:`963`)
- ``--disable-noqa`` now also disables ``# flake8: noqa`` (See also
- `GitLab!380`_, `GitLab#590`_)
+ :issue:`1296`, :issue:`318`)
-- Ensure that a missing file produces a ``E902`` error (See also `GitLab!404`_,
- `GitLab#600`_)
+- Ensure that a missing file produces a ``E902`` error (See also :issue:`1262`,
+ :issue:`328`)
- ``# noqa`` comments now apply to all of the lines in an explicit ``\``
continuation or in a line continued by a multi-line string (See also
- `GitLab!413`_, `GitLab#375`_)
+ :issue:`1266`, :issue:`621`)
Bugs Fixed
~~~~~~~~~~
- Fix ``--exclude=./t.py`` to only match ``t.py`` at the top level (See also
- `GitLab!311`_, `GitLab#382`_)
+ :issue:`1208`, :issue:`628`)
- Fix ``--show-source`` when a file is indented with tabs (See also
- `GitLab!339`_, `GitLab#563`_)
+ :issue:`1218`, :issue:`719`)
- Fix crash when ``--max-line-length`` is given a non-integer (See also
- `GitLab!341`_, `GitLab#541`_)
+ :issue:`939`, :issue:`704`)
- Prevent flip-flopping of ``indent_char`` causing extra ``E101`` errors (See
- also `GitLab!357`_, `pycodestyle#886`_)
+ also :issue:`949`, `pycodestyle#886`_)
- Only enable multiprocessing when the method is ``fork`` fixing issues
- on macos with python3.8+ (See also `GitLab!366`_, `GitLab#587`_) (note: this
+ on macos with python3.8+ (See also :issue:`955`, :issue:`315`) (note: this
fix also landed in 3.7.9)
- ``noqa`` is now only handled by flake8 fixing specific-noqa. Plugins
requesting this parameter will always receive ``False`` (See also
- `GitLab!331`_, `GitLab#552`_)
+ :issue:`1214`, :issue:`1104`)
- Fix duplicate loading of plugins when invoked via ``python -m flake8`` (See
- also `GitLab!388`_)
+ also :issue:`1297`)
- Fix early exit when ``--exit-zero`` and ``--diff`` are provided and the diff
- is empty (See also `GitLab!391`_)
+ is empty (See also :issue:`970`)
- Consistently split lines when ``\f`` is present when reading from stdin (See
- also `GitLab!406`_, `GitLab#270`_)
+ also :issue:`976`, :issue:`202`)
Deprecations
~~~~~~~~~~~~
- ``python setup.py flake8`` (setuptools integration) is now deprecated and
- will be removed in a future version (See also `GitLab!330`_, `GitLab#544`_)
+ will be removed in a future version (See also :issue:`935`, :issue:`1098`)
- ``type='string'`` (optparse) types are deprecated, use
``type=callable`` (argparse) instead. Support for ``type='string'`` will
- be removed in a future version (See also `GitLab!341`_)
+ be removed in a future version (See also :issue:`939`)
- ``%default`` in plugin option help text is deprecated, use ``%(default)s``
instead. Support for ``%default`` will be removed in a future version (See
- also `GitLab!341`_)
+ also :issue:`939`)
- optparse-style ``action='callback'`` setting for options is deprecated, use
argparse action classes instead. This will be removed in a future version
- (See also `GitLab!341`_)
+ (See also :issue:`939`)
.. all links
.. _3.8.0 milestone:
- https://gitlab.com/pycqa/flake8/-/milestones/32
-
-.. merge request links
-.. _GitLab#270:
- https://gitlab.com/pycqa/flake8/-/issues/270
-.. _GitLab#375:
- https://gitlab.com/pycqa/flake8/-/issues/375
-.. _GitLab#382:
- https://gitlab.com/pycqa/flake8/-/issues/382
-.. _GitLab#439:
- https://gitlab.com/pycqa/flake8/-/issues/439
-.. _GitLab#535:
- https://gitlab.com/pycqa/flake8/-/issues/535
-.. _GitLab#541:
- https://gitlab.com/pycqa/flake8/-/issues/541
-.. _GitLab#544:
- https://gitlab.com/pycqa/flake8/-/issues/544
-.. _GitLab#552:
- https://gitlab.com/pycqa/flake8/-/issues/552
-.. _GitLab#563:
- https://gitlab.com/pycqa/flake8/-/issues/563
-.. _GitLab#565:
- https://gitlab.com/pycqa/flake8/-/issues/565
-.. _GitLab#568:
- https://gitlab.com/pycqa/flake8/-/issues/568
-.. _GitLab#569:
- https://gitlab.com/pycqa/flake8/-/issues/569
-.. _GitLab#587:
- https://gitlab.com/pycqa/flake8/-/issues/587
-.. _GitLab#590:
- https://gitlab.com/pycqa/flake8/-/issues/590
-.. _GitLab#600:
- https://gitlab.com/pycqa/flake8/-/issues/600
-.. _GitLab#632:
- https://gitlab.com/pycqa/flake8/-/issues/632
-.. _GitLab#635:
- https://gitlab.com/pycqa/flake8/-/issues/635
-.. _pycodestyle#886:
- https://github.com/PyCQA/pycodestyle/issues/886
+ https://github.com/pycqa/flake8/milestone/31
.. issue links
-.. _GitLab!311:
- https://gitlab.com/pycqa/flake8/-/merge_requests/311
-.. _GitLab!315:
- https://gitlab.com/pycqa/flake8/-/merge_requests/315
-.. _GitLab!330:
- https://gitlab.com/pycqa/flake8/-/merge_requests/330
-.. _GitLab!331:
- https://gitlab.com/pycqa/flake8/-/merge_requests/331
-.. _GitLab!339:
- https://gitlab.com/pycqa/flake8/-/merge_requests/339
-.. _GitLab!341:
- https://gitlab.com/pycqa/flake8/-/merge_requests/341
-.. _GitLab!342:
- https://gitlab.com/pycqa/flake8/-/merge_requests/342
-.. _GitLab!357:
- https://gitlab.com/pycqa/flake8/-/merge_requests/357
-.. _GitLab!360:
- https://gitlab.com/pycqa/flake8/-/merge_requests/360
-.. _GitLab!361:
- https://gitlab.com/pycqa/flake8/-/merge_requests/361
-.. _GitLab!363:
- https://gitlab.com/pycqa/flake8/-/merge_requests/363
-.. _GitLab!366:
- https://gitlab.com/pycqa/flake8/-/merge_requests/366
-.. _GitLab!377:
- https://gitlab.com/pycqa/flake8/-/merge_requests/377
-.. _GitLab!380:
- https://gitlab.com/pycqa/flake8/-/merge_requests/380
-.. _GitLab!388:
- https://gitlab.com/pycqa/flake8/-/merge_requests/388
-.. _GitLab!391:
- https://gitlab.com/pycqa/flake8/-/merge_requests/391
-.. _GitLab!404:
- https://gitlab.com/pycqa/flake8/-/merge_requests/404
-.. _GitLab!406:
- https://gitlab.com/pycqa/flake8/-/merge_requests/406
-.. _GitLab!413:
- https://gitlab.com/pycqa/flake8/-/merge_requests/413
-.. _GitLab!417:
- https://gitlab.com/pycqa/flake8/-/merge_requests/417
-.. _GitLab!418:
- https://gitlab.com/pycqa/flake8/-/merge_requests/418
-.. _GitLab!419:
- https://gitlab.com/pycqa/flake8/-/merge_requests/419
-.. _GitLab!420:
- https://gitlab.com/pycqa/flake8/-/merge_requests/420
-.. _GitLab!422:
- https://gitlab.com/pycqa/flake8/-/merge_requests/422
-.. _GitLab!424:
- https://gitlab.com/pycqa/flake8/-/merge_requests/424
+.. _pycodestyle#886:
+ https://github.com/PyCQA/pycodestyle/issues/886
diff --git a/docs/source/release-notes/3.8.1.rst b/docs/source/release-notes/3.8.1.rst
index 92bf041..21e433f 100644
--- a/docs/source/release-notes/3.8.1.rst
+++ b/docs/source/release-notes/3.8.1.rst
@@ -1,23 +1,15 @@
3.8.1 -- 2020-05-11
-------------------
-You can view the `3.8.1 milestone`_ on GitLab for more details.
+You can view the `3.8.1 milestone`_ on GitHub for more details.
Bugs Fixed
~~~~~~~~~~
-- Fix ``--output-file`` (regression in 3.8.0) (See also `GitLab!427`_,
- `GitLab#637`_)
+- Fix ``--output-file`` (regression in 3.8.0) (See also :issue:`990`,
+ :issue:`725`)
.. all links
.. _3.8.1 milestone:
- https://gitlab.com/pycqa/flake8/-/milestones/34
-
-.. issue links
-.. _GitLab#637:
- https://gitlab.com/pycqa/flake8/issues/637
-
-.. merge request links
-.. _GitLab!427:
- https://gitlab.com/pycqa/flake8/merge_requests/427
+ https://github.com/pycqa/flake8/milestone/33
diff --git a/docs/source/release-notes/3.8.2.rst b/docs/source/release-notes/3.8.2.rst
index 813858e..2f78eaf 100644
--- a/docs/source/release-notes/3.8.2.rst
+++ b/docs/source/release-notes/3.8.2.rst
@@ -1,40 +1,22 @@
3.8.2 -- 2020-05-22
-------------------
-You can view the `3.8.2 milestone`_ on GitLab for more details.
+You can view the `3.8.2 milestone`_ on GitHub for more details.
Bugs Fixed
~~~~~~~~~~
-- Improve performance by eliminating unnecessary sort (See also `GitLab!429`_)
+- Improve performance by eliminating unnecessary sort (See also :issue:`991`)
- Improve messaging of ``--jobs`` argument by utilizing ``argparse`` (See also
- `GitLab!428`_, `GitLab#567`_)
+ :issue:`1269`, :issue:`1110`)
- Fix file configuration options to be relative to the config passed on the
- command line (See also `GitLab!431`_, `GitLab#651`_)
+ command line (See also :issue:`442`, :issue:`736`)
- Fix incorrect handling of ``--extend-exclude`` by treating its values as
- files (See also `GitLab!432`_, `GitLab#653`_)
+ files (See also :issue:`1271`, :issue:`738`)
.. all links
.. _3.8.2 milestone:
- https://gitlab.com/pycqa/flake8/-/milestones/35
-
-.. issue links
-.. _GitLab#567:
- https://gitlab.com/pycqa/flake8/issues/567
-.. _GitLab#651:
- https://gitlab.com/pycqa/flake8/issues/651
-.. _GitLab#653:
- https://gitlab.com/pycqa/flake8/issues/653
-
-.. merge request links
-.. _GitLab!428:
- https://gitlab.com/pycqa/flake8/merge_requests/428
-.. _GitLab!429:
- https://gitlab.com/pycqa/flake8/merge_requests/429
-.. _GitLab!431:
- https://gitlab.com/pycqa/flake8/merge_requests/431
-.. _GitLab!432:
- https://gitlab.com/pycqa/flake8/merge_requests/432
+ https://github.com/pycqa/flake8/milestone/34
diff --git a/docs/source/release-notes/3.8.3.rst b/docs/source/release-notes/3.8.3.rst
index d2d071b..64fa62a 100644
--- a/docs/source/release-notes/3.8.3.rst
+++ b/docs/source/release-notes/3.8.3.rst
@@ -1,29 +1,17 @@
3.8.3 -- 2020-06-08
-------------------
-You can view the `3.8.3 milestone`_ on GitLab for more details.
+You can view the `3.8.3 milestone`_ on GitHub for more details.
Bugs Fixed
~~~~~~~~~~
-- Also catch ``SyntaxError`` when tokenizing (See also `GitLab!433`_,
- `GitLab#662`_)
+- Also catch ``SyntaxError`` when tokenizing (See also :issue:`992`,
+ :issue:`747`)
-- Fix ``--jobs`` default display in ``flake8 --help`` (See also `GitLab!434`_,
- `GitLab#665`_)
+- Fix ``--jobs`` default display in ``flake8 --help`` (See also :issue:`1272`,
+ :issue:`750`)
.. all links
.. _3.8.3 milestone:
- https://gitlab.com/pycqa/flake8/-/milestones/36
-
-.. issue links
-.. _GitLab#662:
- https://gitlab.com/pycqa/flake8/issues/662
-.. _GitLab#665:
- https://gitlab.com/pycqa/flake8/issues/665
-
-.. merge request links
-.. _GitLab!433:
- https://gitlab.com/pycqa/flake8/merge_requests/433
-.. _GitLab!434:
- https://gitlab.com/pycqa/flake8/merge_requests/434
+ https://github.com/pycqa/flake8/milestone/35
diff --git a/docs/source/release-notes/3.8.4.rst b/docs/source/release-notes/3.8.4.rst
index a5cb934..01260ed 100644
--- a/docs/source/release-notes/3.8.4.rst
+++ b/docs/source/release-notes/3.8.4.rst
@@ -1,23 +1,17 @@
3.8.4 -- 2020-10-02
-------------------
-You can view the `3.8.4 milestone`_ on GitLab for more details.
+You can view the `3.8.4 milestone`_ on GitHub for more details.
Bugs Fixed
~~~~~~~~~~
- Fix multiprocessing errors on platforms without ``sem_open`` syscall. (See
- also `GitLab!448`_)
+ also :issue:`1282`)
- Fix skipping of physical checks on the last line of a file which does not
- end in a newline (See also `GitLab!451`_)
+ end in a newline (See also :issue:`997`)
.. all links
.. _3.8.4 milestone:
- https://gitlab.com/pycqa/flake8/-/milestones/37
-
-.. merge request links
-.. _GitLab!448:
- https://gitlab.com/pycqa/flake8/merge_requests/448
-.. _GitLab!451:
- https://gitlab.com/pycqa/flake8/merge_requests/451
+ https://github.com/pycqa/flake8/milestone/36
diff --git a/docs/source/release-notes/3.9.0.rst b/docs/source/release-notes/3.9.0.rst
index 5d53904..e1024fe 100644
--- a/docs/source/release-notes/3.9.0.rst
+++ b/docs/source/release-notes/3.9.0.rst
@@ -1,45 +1,33 @@
3.9.0 -- 2021-03-14
-------------------
-You can view the `3.9.0 milestone`_ on GitLab for more details.
+You can view the `3.9.0 milestone`_ on GitHub for more details.
New Dependency Information
~~~~~~~~~~~~~~~~~~~~~~~~~~
-- Pyflakes has been updated to >= 2.3.0, < 2.4.0 (See also `GitLab!466`_)
+- Pyflakes has been updated to >= 2.3.0, < 2.4.0 (See also :issue:`1006`)
-- pycodestyle has been updated to >= 2.7.0, < 2.8.0 (See also `GitLab!467`_)
+- pycodestyle has been updated to >= 2.7.0, < 2.8.0 (See also :issue:`1007`)
Deprecations
~~~~~~~~~~~~
-- Drop support for python 3.4 (See also `GitLab!457`_)
+- Drop support for python 3.4 (See also :issue:`1283`)
Features
~~~~~~~~
- Add ``--no-show-source`` option to disable ``--show-source`` (See also
- `GitLab!441`_)
+ :issue:`995`)
Bugs Fixed
~~~~~~~~~~
- Fix handling of ``crlf`` line endings when linting stdin (See also
- `GitLab!461`_)
+ :issue:`1002`)
.. all links
.. _3.9.0 milestone:
- https://gitlab.com/pycqa/flake8/-/milestones/38
-
-.. merge request links
-.. _GitLab!441:
- https://gitlab.com/pycqa/flake8/-/merge_requests/441
-.. _GitLab!457:
- https://gitlab.com/pycqa/flake8/-/merge_requests/457
-.. _GitLab!461:
- https://gitlab.com/pycqa/flake8/-/merge_requests/461
-.. _GitLab!466:
- https://gitlab.com/pycqa/flake8/-/merge_requests/466
-.. _GitLab!467:
- https://gitlab.com/pycqa/flake8/-/merge_requests/467
+ https://github.com/pycqa/flake8/milestone/37
diff --git a/docs/source/user/using-hooks.rst b/docs/source/user/using-hooks.rst
index d8af5f8..5a2e2b0 100644
--- a/docs/source/user/using-hooks.rst
+++ b/docs/source/user/using-hooks.rst
@@ -10,7 +10,7 @@ started is to add this configuration to your ``.pre-commit-config.yaml``:
.. code-block:: yaml
- - repo: https://gitlab.com/pycqa/flake8
+ - repo: https://github.com/pycqa/flake8
rev: '' # pick a git hash / tag to point to
hooks:
- id: flake8
diff --git a/example-plugin/setup.py b/example-plugin/setup.py
index 0facd57..ee125db 100644
--- a/example-plugin/setup.py
+++ b/example-plugin/setup.py
@@ -7,7 +7,7 @@ setuptools.setup(
description='Example plugin to Flake8',
author='Ian Cordasco',
author_email='graffatcolmingov@gmail.com',
- url='https://gitlab.com/pycqa/flake8',
+ url='https://github.com/pycqa/flake8',
package_dir={'': 'src/'},
packages=['flake8_example_plugin'],
entry_points={
diff --git a/setup.cfg b/setup.cfg
index 5ad0bb6..1c54260 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -12,7 +12,7 @@ author = Tarek Ziade
author_email = tarek@ziade.org
maintainer = Ian Stapleton Cordasco
maintainer_email = graffatcolmingov@gmail.com
-url = https://gitlab.com/pycqa/flake8
+url = https://github.com/pycqa/flake8
classifiers =
Development Status :: 5 - Production/Stable
Environment :: Console
diff --git a/src/flake8/checker.py b/src/flake8/checker.py
index 421d461..2e4f0b8 100644
--- a/src/flake8/checker.py
+++ b/src/flake8/checker.py
@@ -29,7 +29,7 @@ SERIAL_RETRY_ERRNOS = {
# > In those cases, we should replace the customized Queue Report
# > class with pep8's StandardReport class to ensure users don't run
# > into this problem.
- # > (See also: https://gitlab.com/pycqa/flake8/issues/74)
+ # > (See also: https://github.com/pycqa/flake8/issues/117)
errno.ENOSPC,
# NOTE(sigmavirus24): When adding to this list, include the reasoning
# on the lines before the error code and always append your error
@@ -305,7 +305,7 @@ class Manager:
or whether to run them in serial.
If running the checks in parallel causes a problem (e.g.,
- https://gitlab.com/pycqa/flake8/issues/74) this also implements
+ https://github.com/pycqa/flake8/issues/117) this also implements
fallback to serial processing.
"""
try:
@@ -444,7 +444,7 @@ class FileChecker:
# least.
column_offset = 1
row_offset = 0
- # See also: https://gitlab.com/pycqa/flake8/issues/237
+ # See also: https://github.com/pycqa/flake8/issues/169
physical_line = token[-1]
# NOTE(sigmavirus24): Not all "tokens" have a string as the last
@@ -454,7 +454,7 @@ class FileChecker:
# NOTE(sigmavirus24): SyntaxErrors also don't exactly have a
# "physical" line so much as what was accumulated by the point
# tokenizing failed.
- # See also: https://gitlab.com/pycqa/flake8/issues/237
+ # See also: https://github.com/pycqa/flake8/issues/169
lines = physical_line.rstrip("\n").split("\n")
row_offset = len(lines) - 1
logical_line = lines[0]
@@ -661,8 +661,8 @@ def calculate_pool_chunksize(num_checkers, num_jobs):
- For chunksize, see: https://docs.python.org/3/library/multiprocessing.html#multiprocessing.pool.Pool.imap # noqa
- This formula, while not perfect, aims to give each worker two batches of
work.
- - See: https://gitlab.com/pycqa/flake8/merge_requests/156#note_18878876
- - See: https://gitlab.com/pycqa/flake8/issues/265
+ - See: https://github.com/pycqa/flake8/issues/829#note_18878876
+ - See: https://github.com/pycqa/flake8/issues/197
"""
return max(num_checkers // (num_jobs * 2), 1)
diff --git a/tests/integration/test_main.py b/tests/integration/test_main.py
index 10ccc54..765e752 100644
--- a/tests/integration/test_main.py
+++ b/tests/integration/test_main.py
@@ -207,7 +207,7 @@ def test_bug_report_successful(capsys):
def test_specific_noqa_does_not_clobber_pycodestyle_noqa(tmpdir, capsys):
- """See https://gitlab.com/pycqa/flake8/issues/552."""
+ """See https://github.com/pycqa/flake8/issues/1104."""
with tmpdir.as_cwd():
tmpdir.join('t.py').write("test = ('ABC' == None) # noqa: E501\n")
_call_main(['t.py'], retv=1)
@@ -219,7 +219,7 @@ t.py:1:15: E711 comparison to None should be 'if cond is None:'
def test_specific_noqa_on_line_with_continuation(tmpdir, capsys):
- """See https://gitlab.com/pycqa/flake8/issues/375."""
+ """See https://github.com/pycqa/flake8/issues/621."""
t_py_src = '''\
from os \\
import path # noqa: F401
diff --git a/tests/unit/test_file_checker.py b/tests/unit/test_file_checker.py
index 2b80919..57a47ab 100644
--- a/tests/unit/test_file_checker.py
+++ b/tests/unit/test_file_checker.py
@@ -11,7 +11,7 @@ from flake8 import checker
def test_run_ast_checks_handles_SyntaxErrors(FileProcessor): # noqa: N802,N803
"""Stress our SyntaxError handling.
- Related to: https://gitlab.com/pycqa/flake8/issues/237
+ Related to: https://github.com/pycqa/flake8/issues/169
"""
processor = mock.Mock(lines=[])
FileProcessor.return_value = processor