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

Initial Update #45

Merged
merged 17 commits into from
Nov 14, 2017
Merged

Initial Update #45

merged 17 commits into from
Nov 14, 2017

Conversation

pyup-bot
Copy link
Contributor

This is my first visit to this fine repo so I have bundled all updates in a single pull request to make things easier for you to merge.

Close this pull request and delete the branch if you want me to start with single pull requests right away

Here's the executive summary:

Updates

Here's a list of all the updates bundled in this pull request. I've added some links to make it easier for you to find all the information you need.

Pygments 2.2.0 » 2.2.0 PyPI | Changelog | Homepage
bashate 0.5.1 » 0.5.1 PyPI | Homepage
flake8 3.5.0 » 3.5.0 PyPI | Changelog | Repo
flake8-commas 0.4.3 » 0.4.3 PyPI | Changelog | Repo
flake8-docstrings 1.1.0 » 1.1.0 PyPI | Changelog | Repo
flake8-import-order 0.15 » 0.15 PyPI | Changelog | Repo
flake8-quotes 0.12.0 » 0.12.0 PyPI | Repo
neovim 0.2.0 » 0.2.0 PyPI | Changelog | Repo
neovim-remote 1.8.8 » 1.8.8 PyPI | Changelog | Repo
prospector 0.12.7 » 0.12.7 PyPI | Homepage
pycodestyle 2.3.1 » 2.3.1 PyPI | Changelog | Docs
pydocstyle 2.1.1 » 2.1.1 PyPI | Changelog | Repo
pyflakes 1.6.0 » 1.6.0 PyPI | Changelog | Repo
pylint 1.7.4 » 1.7.4 PyPI | Changelog | Repo
vim-vint 0.3.16 » 0.3.16 PyPI | Repo
vulture 0.26 » 0.26 PyPI | Changelog | Repo

Changelogs

Pygments -> 2.2.0

2.2.0


(release Jan 22, 2017)

  • Added lexers:
  • AMPL
  • TypoScript (1173)
  • Varnish config (PR554)
  • Clean (PR503)
  • WDiff (PR513)
  • Flatline (PR551)
  • Silver (PR537)
  • HSAIL (PR518)
  • JSGF (PR546)
  • NCAR command language (PR536)
  • Extempore (PR530)
  • Cap'n Proto (PR595)
  • Whiley (PR573)
  • Monte (PR592)
  • Crystal (PR576)
  • Snowball (PR589)
  • CapDL (PR579)
  • NuSMV (PR564)
  • SAS, Stata (PR593)
  • Added the ability to load lexer and formatter classes directly from files
    with the -x command line option and the lexers.load_lexer_from_file()
    and formatters.load_formatter_from_file() functions. (PR559)
  • Added lexers.find_lexer_class_by_name(). (1203)
  • Added new token types and lexing for magic methods and variables in Python
    and PHP.
  • Added a new token type for string affixes and lexing for them in Python, C++
    and Postgresql lexers.
  • Added a new token type for heredoc (and similar) string delimiters and
    lexing for them in C++, Perl, PHP, Postgresql and Ruby lexers.
  • Styles can now define colors with ANSI colors for use in the 256-color
    terminal formatter. (PR531)
  • Improved the CSS lexer. (1083, 1130)
  • Added "Rainbow Dash" style. (PR623)
  • Delay loading pkg_resources, which takes a long while to import. (PR690)

2.1.3


(released Mar 2, 2016)

  • Fixed regression in Bash lexer (PR563)

2.1.2


(released Feb 29, 2016)

  • Fixed Python 3 regression in image formatter (1215)
  • Fixed regression in Bash lexer (PR562)

2.1.1


(relased Feb 14, 2016)

  • Fixed Jython compatibility (1205)
  • Fixed HTML formatter output with leading empty lines (1111)
  • Added a mapping table for LaTeX encodings and added utf8 (1152)
  • Fixed image formatter font searching on Macs (1188)
  • Fixed deepcopy-ing of Token instances (1168)
  • Fixed Julia string interpolation (1170)
  • Fixed statefulness of HttpLexer between get_tokens calls
  • Many smaller fixes to various lexers

2.1


(released Jan 17, 2016)

  • Added lexers:
  • Emacs Lisp (PR431)
  • Arduino (PR442)
  • Modula-2 with multi-dialect support (1090)
  • Fortran fixed format (PR213)
  • Archetype Definition language (PR483)
  • Terraform (PR432)
  • Jcl, Easytrieve (PR208)
  • ParaSail (PR381)
  • Boogie (PR420)
  • Turtle (PR425)
  • Fish Shell (PR422)
  • Roboconf (PR449)
  • Test Anything Protocol (PR428)
  • Shen (PR385)
  • Component Pascal (PR437)
  • SuperCollider (PR472)
  • Shell consoles (Tcsh, PowerShell, MSDOS) (PR479)
  • Elm and J (PR452)
  • Crmsh (PR440)
  • Praat (PR492)
  • CSound (PR494)
  • Ezhil (PR443)
  • Thrift (PR469)
  • QVT Operational (PR204)
  • Hexdump (PR508)
  • CAmkES Configuration (PR462)
  • Added styles:
  • Lovelace (PR456)
  • Algol and Algol-nu (1090)
  • Added formatters:
  • IRC (PR458)
  • True color (24-bit) terminal ANSI sequences (1142)
    (formatter alias: "16m")
  • New "filename" option for HTML formatter (PR527).
  • Improved performance of the HTML formatter for long lines (PR504).
  • Updated autopygmentize script (PR445).
  • Fixed style inheritance for non-standard token types in HTML output.
  • Added support for async/await to Python 3 lexer.
  • Rewrote linenos option for TerminalFormatter (it's better, but slightly
    different output than before) (1147).
  • Javascript lexer now supports most of ES6 (1100).
  • Cocoa builtins updated for iOS 8.1 (PR433).
  • Combined BashSessionLexer and ShellSessionLexer, new version should support
    the prompt styles of either.
  • Added option to pygmentize to show a full traceback on exceptions.
  • Fixed incomplete output on Windows and Python 3 (e.g. when using iPython
    Notebook) (1153).
  • Allowed more traceback styles in Python console lexer (PR253).
  • Added decorators to TypeScript (PR509).
  • Fix highlighting of certain IRC logs formats (1076).

2.0.2


(released Jan 20, 2015)

  • Fix Python tracebacks getting duplicated in the console lexer (1068).
  • Backquote-delimited identifiers are now recognized in F (1062).

2.0.1


(released Nov 10, 2014)

  • Fix an encoding issue when using pygmentize with the -o option.

2.0


(released Nov 9, 2014)

  • Default lexer encoding is now "guess", i.e. UTF-8 / Locale / Latin1 is
    tried in that order.
  • Major update to Swift lexer (PR410).
  • Multiple fixes to lexer guessing in conflicting cases:
  • recognize HTML5 by doctype
  • recognize XML by XML declaration
  • don't recognize C/C++ as SystemVerilog
  • Simplified regexes and builtin lists.

2.0rc1


(released Oct 16, 2014)

  • Dropped Python 2.4 and 2.5 compatibility. This is in favor of single-source
    compatibility between Python 2.6, 2.7 and 3.3+.
  • New website and documentation based on Sphinx (finally!)
  • Lexers added:
  • APL (969)
  • Agda and Literate Agda (PR203)
  • Alloy (PR355)
  • AmbientTalk
  • BlitzBasic (PR197)
  • ChaiScript (PR24)
  • Chapel (PR256)
  • Cirru (PR275)
  • Clay (PR184)
  • ColdFusion CFC (PR283)
  • Cryptol and Literate Cryptol (PR344)
  • Cypher (PR257)
  • Docker config files
  • EBNF (PR193)
  • Eiffel (PR273)
  • GAP (PR311)
  • Golo (PR309)
  • Handlebars (PR186)
  • Hy (PR238)
  • Idris and Literate Idris (PR210)
  • Igor Pro (PR172)
  • Inform 6/7 (PR281)
  • Intel objdump (PR279)
  • Isabelle (PR386)
  • Jasmin (PR349)
  • JSON-LD (PR289)
  • Kal (PR233)
  • Lean (PR399)
  • LSL (PR296)
  • Limbo (PR291)
  • Liquid (977)
  • MQL (PR285)
  • MaskJS (PR280)
  • Mozilla preprocessors
  • Mathematica (PR245)
  • NesC (PR166)
  • Nit (PR375)
  • Nix (PR267)
  • Pan
  • Pawn (PR211)
  • Perl 6 (PR181)
  • Pig (PR304)
  • Pike (PR237)
  • QBasic (PR182)
  • Red (PR341)
  • ResourceBundle (1038)
  • Rexx (PR199)
  • Rql (PR251)
  • Rsl
  • SPARQL (PR78)
  • Slim (PR366)
  • Swift (PR371)
  • Swig (PR168)
  • TADS 3 (PR407)
  • Todo.txt todo lists
  • Twig (PR404)
  • Added a helper to "optimize" regular expressions that match one of many
    literal words; this can save 20% and more lexing time with lexers that
    highlight many keywords or builtins.
  • New styles: "xcode" and "igor", similar to the default highlighting of
    the respective IDEs.
  • The command-line "pygmentize" tool now tries a little harder to find the
    correct encoding for files and the terminal (979).
  • Added "inencoding" option for lexers to override "encoding" analogous
    to "outencoding" (800).
  • Added line-by-line "streaming" mode for pygmentize with the "-s" option.
    (PR165) Only fully works for lexers that have no constructs spanning
    lines!
  • Added an "envname" option to the LaTeX formatter to select a replacement
    verbatim environment (PR235).
  • Updated the Makefile lexer to yield a little more useful highlighting.
  • Lexer aliases passed to get_lexer_by_name() are now case-insensitive.
  • File name matching in lexers and formatters will now use a regex cache
    for speed (PR205).
  • Pygments will now recognize "vim" modelines when guessing the lexer for
    a file based on content (PR118).
  • Major restructure of the pygments.lexers module namespace. There are now
    many more modules with less lexers per module. Old modules are still around
    and re-export the lexers they previously contained.
  • The NameHighlightFilter now works with any Name.* token type (790).
  • Python 3 lexer: add new exceptions from PEP 3151.
  • Opa lexer: add new keywords (PR170).
  • Julia lexer: add keywords and underscore-separated number
    literals (PR176).
  • Lasso lexer: fix method highlighting, update builtins. Fix
    guessing so that plain XML isn't always taken as Lasso (PR163).
  • Objective C/C++ lexers: allow "" prefixing any expression (871).
  • Ruby lexer: fix lexing of Name::Space tokens (860) and of symbols
    in hashes (873).
  • Stan lexer: update for version 2.4.0 of the language (PR162, PR255, PR377).
  • JavaScript lexer: add the "yield" keyword (PR196).
  • HTTP lexer: support for PATCH method (PR190).
  • Koka lexer: update to newest language spec (PR201).
  • Haxe lexer: rewrite and support for Haxe 3 (PR174).
  • Prolog lexer: add different kinds of numeric literals (864).
  • F lexer: rewrite with newest spec for F 3.0 (842), fix a bug with
    dotted chains (948).
  • Kotlin lexer: general update (PR271).
  • Rebol lexer: fix comment detection and analyse_text (PR261).
  • LLVM lexer: update keywords to v3.4 (PR258).
  • PHP lexer: add new keywords and binary literals (PR222).
  • external/markdown-processor.py updated to newest python-markdown (PR221).
  • CSS lexer: some highlighting order fixes (PR231).
  • Ceylon lexer: fix parsing of nested multiline comments (915).
  • C family lexers: fix parsing of indented preprocessor directives (944).
  • Rust lexer: update to 0.9 language version (PR270, PR388).
  • Elixir lexer: update to 0.15 language version (PR392).
  • Fix swallowing incomplete tracebacks in Python console lexer (874).

1.6


(released Feb 3, 2013)

  • Lexers added:
  • Dylan console (PR149)
  • Logos (PR150)
  • Shell sessions (PR158)
  • Fix guessed lexers not receiving lexer options (838).
  • Fix unquoted HTML attribute lexing in Opa (841).
  • Fixes to the Dart lexer (PR160).

1.6rc1


(released Jan 9, 2013)

  • Lexers added:
  • AspectJ (PR90)
  • AutoIt (PR122)
  • BUGS-like languages (PR89)
  • Ceylon (PR86)
  • Croc (new name for MiniD)
  • CUDA (PR75)
  • Dg (PR116)
  • IDL (PR115)
  • Jags (PR89)
  • Julia (PR61)
  • Kconfig (711)
  • Lasso (PR95, PR113)
  • LiveScript (PR84)
  • Monkey (PR117)
  • Mscgen (PR80)
  • NSIS scripts (PR136)
  • OpenCOBOL (PR72)
  • QML (PR123)
  • Puppet (PR133)
  • Racket (PR94)
  • Rdoc (PR99)
  • Robot Framework (PR137)
  • RPM spec files (PR124)
  • Rust (PR67)
  • Smali (Dalvik assembly)
  • SourcePawn (PR39)
  • Stan (PR89)
  • Treetop (PR125)
  • TypeScript (PR114)
  • VGL (PR12)
  • Visual FoxPro (762)
  • Windows Registry (819)
  • Xtend (PR68)
  • The HTML formatter now supports linking to tags using CTags files, when the
    python-ctags package is installed (PR87).
  • The HTML formatter now has a "linespans" option that wraps every line in a
    <span> tag with a specific id (PR82).
  • When deriving a lexer from another lexer with token definitions, definitions
    for states not in the child lexer are now inherited. If you override a state
    in the child lexer, an "inherit" keyword has been added to insert the base
    state at that position (PR141).
  • The C family lexers now inherit token definitions from a common base class,
    removing code duplication (PR141).
  • Use "colorama" on Windows for console color output (PR142).
  • Fix Template Haskell highlighting (PR63).
  • Fix some S/R lexer errors (PR91).
  • Fix a bug in the Prolog lexer with names that start with 'is' (810).
  • Rewrite Dylan lexer, add Dylan LID lexer (PR147).
  • Add a Java quickstart document (PR146).
  • Add a "external/autopygmentize" file that can be used as .lessfilter (802).

1.5


(codename Zeitdilatation, released Mar 10, 2012)

  • Lexers added:
  • Awk (630)
  • Fancy (633)
  • PyPy Log
  • eC
  • Nimrod
  • Nemerle (667)
  • F (353)
  • Groovy (501)
  • PostgreSQL (660)
  • DTD
  • Gosu (634)
  • Octave (PR22)
  • Standard ML (PR14)
  • CFengine3 (601)
  • Opa (PR37)
  • HTTP sessions (PR42)
  • JSON (PR31)
  • SNOBOL (PR30)
  • MoonScript (PR43)
  • ECL (PR29)
  • Urbiscript (PR17)
  • OpenEdge ABL (PR27)
  • SystemVerilog (PR35)
  • Coq (734)
  • PowerShell (654)
  • Dart (715)
  • Fantom (PR36)
  • Bro (PR5)
  • NewLISP (PR26)
  • VHDL (PR45)
  • Scilab (740)
  • Elixir (PR57)
  • Tea (PR56)
  • Kotlin (PR58)
  • Fix Python 3 terminal highlighting with pygmentize (691).
  • In the LaTeX formatter, escape special &, < and > chars (648).
  • In the LaTeX formatter, fix display problems for styles with token
    background colors (670).
  • Enhancements to the Squid conf lexer (664).
  • Several fixes to the reStructuredText lexer (636).
  • Recognize methods in the ObjC lexer (638).
  • Fix Lua "class" highlighting: it does not have classes (665).
  • Fix degenerate regex in Scala lexer (671) and highlighting bugs (713, 708).
  • Fix number pattern order in Ocaml lexer (647).
  • Fix generic type highlighting in ActionScript 3 (666).
  • Fixes to the Clojure lexer (PR9).
  • Fix degenerate regex in Nemerle lexer (706).
  • Fix infinite looping in CoffeeScript lexer (729).
  • Fix crashes and analysis with ObjectiveC lexer (693, 696).
  • Add some Fortran 2003 keywords.
  • Fix Boo string regexes (679).
  • Add "rrt" style (727).
  • Fix infinite looping in Darcs Patch lexer.
  • Lots of misc fixes to character-eating bugs and ordering problems in many
    different lexers.

1.4


(codename Unschärfe, released Jan 03, 2011)

  • Lexers added:
  • Factor (520)
  • PostScript (486)
  • Verilog (491)
  • BlitzMax Basic (478)
  • Ioke (465)
  • Java properties, split out of the INI lexer (445)
  • Scss (509)
  • Duel/JBST
  • XQuery (617)
  • Mason (615)
  • GoodData (609)
  • SSP (473)
  • Autohotkey (417)
  • Google Protocol Buffers
  • Hybris (506)
  • Do not fail in analyse_text methods (618).
  • Performance improvements in the HTML formatter (523).
  • With the noclasses option in the HTML formatter, some styles
    present in the stylesheet were not added as inline styles.
  • Four fixes to the Lua lexer (480, 481, 482, 497).
  • More context-sensitive Gherkin lexer with support for more i18n translations.
  • Support new OO keywords in Matlab lexer (521).
  • Small fix in the CoffeeScript lexer (519).
  • A bugfix for backslashes in ocaml strings (499).
  • Fix unicode/raw docstrings in the Python lexer (489).
  • Allow PIL to work without PIL.pth (502).
  • Allow seconds as a unit in CSS (496).
  • Support application/javascript as a JavaScript mime type (504).
  • Support Offload &lt;http://offload.codeplay.com&gt;_ C++ Extensions as
    keywords in the C++ lexer (484).
  • Escape more characters in LaTeX output (505).
  • Update Haml/Sass lexers to version 3 (509).
  • Small PHP lexer string escaping fix (515).
  • Support comments before preprocessor directives, and unsigned/
    long long literals in C/C++ (613, 616).
  • Support line continuations in the INI lexer (494).
  • Fix lexing of Dylan string and char literals (628).
  • Fix class/procedure name highlighting in VB.NET lexer (624).

1.3.1


(bugfix release, released Mar 05, 2010)

  • The pygmentize script was missing from the distribution.

1.3


(codename Schneeglöckchen, released Mar 01, 2010)

  • Added the ensurenl lexer option, which can be used to suppress the
    automatic addition of a newline to the lexer input.
  • Lexers added:
  • Ada
  • Coldfusion
  • Modula-2
  • Haxe
  • R console
  • Objective-J
  • Haml and Sass
  • CoffeeScript
  • Enhanced reStructuredText highlighting.
  • Added support for PHP 5.3 namespaces in the PHP lexer.
  • Added a bash completion script for pygmentize, to the external/
    directory (466).
  • Fixed a bug in do_insertions() used for multi-lexer languages.
  • Fixed a Ruby regex highlighting bug (476).
  • Fixed regex highlighting bugs in Perl lexer (258).
  • Add small enhancements to the C lexer (467) and Bash lexer (469).
  • Small fixes for the Tcl, Debian control file, Nginx config,
    Smalltalk, Objective-C, Clojure, Lua lexers.
  • Gherkin lexer: Fixed single apostrophe bug and added new i18n keywords.

1.2.2


(bugfix release, released Jan 02, 2010)

  • Removed a backwards incompatibility in the LaTeX formatter that caused
    Sphinx to produce invalid commands when writing LaTeX output (463).
  • Fixed a forever-backtracking regex in the BashLexer (462).

1.2.1


(bugfix release, released Jan 02, 2010)

  • Fixed mishandling of an ellipsis in place of the frames in a Python
    console traceback, resulting in clobbered output.

1.2


(codename Neujahr, released Jan 01, 2010)

  • Dropped Python 2.3 compatibility.
  • Lexers added:
  • Asymptote
  • Go
  • Gherkin (Cucumber)
  • CMake
  • Ooc
  • Coldfusion
  • Haxe
  • R console
  • Added options for rendering LaTeX in source code comments in the
    LaTeX formatter (461).
  • Updated the Logtalk lexer.
  • Added line_number_start option to image formatter (456).
  • Added hl_lines and hl_color options to image formatter (457).
  • Fixed the HtmlFormatter's handling of noclasses=True to not output any
    classes (427).
  • Added the Monokai style (453).
  • Fixed LLVM lexer identifier syntax and added new keywords (442).
  • Fixed the PythonTracebackLexer to handle non-traceback data in header or
    trailer, and support more partial tracebacks that start on line 2 (437).
  • Fixed the CLexer to not highlight ternary statements as labels.
  • Fixed lexing of some Ruby quoting peculiarities (460).
  • A few ASM lexer fixes (450).

1.1.1


(bugfix release, released Sep 15, 2009)

  • Fixed the BBCode lexer (435).
  • Added support for new Jinja2 keywords.
  • Fixed test suite failures.
  • Added Gentoo-specific suffixes to Bash lexer.

1.1


(codename Brillouin, released Sep 11, 2009)

  • Ported Pygments to Python 3. This needed a few changes in the way
    encodings are handled; they may affect corner cases when used with
    Python 2 as well.
  • Lexers added:
  • Antlr/Ragel, thanks to Ana Nelson
  • (Ba)sh shell
  • Erlang shell
  • GLSL
  • Prolog
  • Evoque
  • Modelica
  • Rebol
  • MXML
  • Cython
  • ABAP
  • ASP.net (VB/C)
  • Vala
  • Newspeak
  • Fixed the LaTeX formatter's output so that output generated for one style
    can be used with the style definitions of another (384).
  • Added "anchorlinenos" and "noclobber_cssfile" (396) options to HTML
    formatter.
  • Support multiline strings in Lua lexer.
  • Rewrite of the JavaScript lexer by Pumbaa80 to better support regular
    expression literals (403).
  • When pygmentize is asked to highlight a file for which multiple lexers
    match the filename, use the analyse_text guessing engine to determine the
    winner (355).
  • Fixed minor bugs in the JavaScript lexer (383), the Matlab lexer (378),
    the Scala lexer (392), the INI lexer (391), the Clojure lexer (387)
    and the AS3 lexer (389).
  • Fixed three Perl heredoc lexing bugs (379, 400, 422).
  • Fixed a bug in the image formatter which misdetected lines (380).
  • Fixed bugs lexing extended Ruby strings and regexes.
  • Fixed a bug when lexing git diffs.
  • Fixed a bug lexing the empty commit in the PHP lexer (405).
  • Fixed a bug causing Python numbers to be mishighlighted as floats (397).
  • Fixed a bug when backslashes are used in odd locations in Python (395).
  • Fixed various bugs in Matlab and S-Plus lexers, thanks to Winston Chang (410,
    411, 413, 414) and fmarc (419).
  • Fixed a bug in Haskell single-line comment detection (426).
  • Added new-style reStructuredText directive for docutils 0.5+ (428).

1.0


(codename Dreiundzwanzig, released Nov 23, 2008)

  • Don't use join(splitlines()) when converting newlines to \n,
    because that doesn't keep all newlines at the end when the
    stripnl lexer option is False.
  • Added -N option to command-line interface to get a lexer name
    for a given filename.
  • Added Tango style, written by Andre Roberge for the Crunchy project.
  • Added Python3TracebackLexer and python3 option to
    PythonConsoleLexer.
  • Fixed a few bugs in the Haskell lexer.
  • Fixed PythonTracebackLexer to be able to recognize SyntaxError and
    KeyboardInterrupt (360).
  • Provide one formatter class per image format, so that surprises like::

pygmentize -f gif -o foo.gif foo.py

creating a PNG file are avoided.

  • Actually use the font_size option of the image formatter.
  • Fixed numpy lexer that it doesn't listen for *.py any longer.
  • Fixed HTML formatter so that text options can be Unicode
    strings (371).
  • Unified Diff lexer supports the "udiff" alias now.
  • Fixed a few issues in Scala lexer (367).
  • RubyConsoleLexer now supports simple prompt mode (363).
  • JavascriptLexer is smarter about what constitutes a regex (356).
  • Add Applescript lexer, thanks to Andreas Amann (330).
  • Make the codetags more strict about matching words (368).
  • NginxConfLexer is a little more accurate on mimetypes and
    variables (370).

0.11.1


(released Aug 24, 2008)

  • Fixed a Jython compatibility issue in pygments.unistring (358).

0.11


(codename Strau�enei, released Aug 23, 2008)

Many thanks go to Tim Hatch for writing or integrating most of the bug
fixes and new features.

  • Lexers added:
  • Nasm-style assembly language, thanks to delroth
  • YAML, thanks to Kirill Simonov
  • ActionScript 3, thanks to Pierre Bourdon
  • Cheetah/Spitfire templates, thanks to Matt Good
  • Lighttpd config files
  • Nginx config files
  • Gnuplot plotting scripts
  • Clojure
  • POV-Ray scene files
  • Sqlite3 interactive console sessions
  • Scala source files, thanks to Krzysiek Goj
  • Lexers improved:
  • C lexer highlights standard library functions now and supports C99
    types.
  • Bash lexer now correctly highlights heredocs without preceding
    whitespace.
  • Vim lexer now highlights hex colors properly and knows a couple
    more keywords.
  • Irc logs lexer now handles xchat's default time format (340) and
    correctly highlights lines ending in &gt;.
  • Support more delimiters for perl regular expressions (258).
  • ObjectiveC lexer now supports 2.0 features.
  • Added "Visual Studio" style.
  • Updated markdown processor to Markdown 1.7.
  • Support roman/sans/mono style defs and use them in the LaTeX
    formatter.
  • The RawTokenFormatter is no longer registered to *.raw and it's
    documented that tokenization with this lexer may raise exceptions.
  • New option hl_lines to HTML formatter, to highlight certain
    lines.
  • New option prestyles to HTML formatter.
  • New option -g to pygmentize, to allow lexer guessing based on
    filetext (can be slowish, so file extensions are still checked
    first).
  • guess_lexer() now makes its decision much faster due to a cache
    of whether data is xml-like (a check which is used in several
    versions of analyse_text(). Several lexers also have more
    accurate analyse_text() now.

0.10


(codename Malzeug, released May 06, 2008)

  • Lexers added:
  • Io
  • Smalltalk
  • Darcs patches
  • Tcl
  • Matlab
  • Matlab sessions
  • FORTRAN
  • XSLT
  • tcsh
  • NumPy
  • Python 3
  • S, S-plus, R statistics languages
  • Logtalk
  • In the LatexFormatter, the commandprefix option is now by default
    'PY' instead of 'C', since the latter resulted in several collisions
    with other packages. Also, the special meaning of the arg
    argument to get_style_defs() was removed.
  • Added ImageFormatter, to format code as PNG, JPG, GIF or BMP.
    (Needs the Python Imaging Library.)
  • Support doc comments in the PHP lexer.
  • Handle format specifications in the Perl lexer.
  • Fix comment handling in the Batch lexer.
  • Add more file name extensions for the C++, INI and XML lexers.
  • Fixes in the IRC and MuPad lexers.
  • Fix function and interface name highlighting in the Java lexer.
  • Fix at-rule handling in the CSS lexer.
  • Handle KeyboardInterrupts gracefully in pygmentize.
  • Added BlackWhiteStyle.
  • Bash lexer now correctly highlights math, does not require
    whitespace after semicolons, and correctly highlights boolean
    operators.
  • Makefile lexer is now capable of handling BSD and GNU make syntax.

0.9


(codename Herbstzeitlose, released Oct 14, 2007)

  • Lexers added:
  • Erlang
  • ActionScript
  • Literate Haskell
  • Common Lisp
  • Various assembly languages
  • Gettext catalogs
  • Squid configuration
  • Debian control files
  • MySQL-style SQL
  • MOOCode
  • Lexers improved:
  • Greatly improved the Haskell and OCaml lexers.
  • Improved the Bash lexer's handling of nested constructs.
  • The C and Java lexers exhibited abysmal performance with some
    input code; this should now be fixed.
  • The IRC logs lexer is now able to colorize weechat logs too.
  • The Lua lexer now recognizes multi-line comments.
  • Fixed bugs in the D and MiniD lexer.
  • The encoding handling of the command line mode (pygmentize) was
    enhanced. You shouldn't get UnicodeErrors from it anymore if you
    don't give an encoding option.
  • Added a -P option to the command line mode which can be used to
    give options whose values contain commas or equals signs.
  • Added 256-color terminal formatter.
  • Added an experimental SVG formatter.
  • Added the lineanchors option to the HTML formatter, thanks to
    Ian Charnas for the idea.
  • Gave the line numbers table a CSS class in the HTML formatter.
  • Added a Vim 7-like style.

0.8.1


(released Jun 27, 2007)

  • Fixed POD highlighting in the Ruby lexer.
  • Fixed Unicode class and namespace name highlighting in the C lexer.
  • Fixed Unicode string prefix highlighting in the Python lexer.
  • Fixed a bug in the D and MiniD lexers.
  • Fixed the included MoinMoin parser.

0.8


(codename Maikäfer, released May 30, 2007)

  • Lexers added:
  • Haskell, thanks to Adam Blinkinsop
  • Redcode, thanks to Adam Blinkinsop
  • D, thanks to Kirk McDonald
  • MuPad, thanks to Christopher Creutzig
  • MiniD, thanks to Jarrett Billingsley
  • Vim Script, by Tim Hatch
  • The HTML formatter now has a second line-numbers mode in which it
    will just integrate the numbers in the same &lt;pre&gt; tag as the
    code.
  • The CSharpLexer now is Unicode-aware, which means that it has an
    option that can be set so that it correctly lexes Unicode
    identifiers allowed by the C specs.
  • Added a RaiseOnErrorTokenFilter that raises an exception when the
    lexer generates an error token, and a VisibleWhitespaceFilter that
    converts whitespace (spaces, tabs, newlines) into visible
    characters.
  • Fixed the do_insertions() helper function to yield correct
    indices.
  • The ReST lexer now automatically highlights source code blocks in
    ".. sourcecode:: language" and ".. code:: language" directive
    blocks.
  • Improved the default style (thanks to Tiberius Teng). The old
    default is still available as the "emacs" style (which was an alias
    before).
  • The get_style_defs method of HTML formatters now uses the
    cssclass option as the default selector if it was given.
  • Improved the ReST and Bash lexers a bit.
  • Fixed a few bugs in the Makefile and Bash lexers, thanks to Tim
    Hatch.
  • Fixed a bug in the command line code that disallowed -O options
    when using the -S option.
  • Fixed a bug in the RawTokenFormatter.

0.7.1


(released Feb 15, 2007)

  • Fixed little highlighting bugs in the Python, Java, Scheme and
    Apache Config lexers.
  • Updated the included manpage.
  • Included a built version of the documentation in the source tarball.

0.7


(codename Faschingskrapfn, released Feb 14, 2007)

  • Added a MoinMoin parser that uses Pygments. With it, you get
    Pygments highlighting in Moin Wiki pages.
  • Changed the exception raised if no suitable lexer, formatter etc. is
    found in one of the get_*_by_* functions to a custom exception,
    pygments.util.ClassNotFound. It is, however, a subclass of
    ValueError in order to retain backwards compatibility.
  • Added a -H command line option which can be used to get the
    docstring of a lexer, formatter or filter.
  • Made the handling of lexers and formatters more consistent. The
    aliases and filename patterns of formatters are now attributes on
    them.
  • Added an OCaml lexer, thanks to Adam Blinkinsop.
  • Made the HTML formatter more flexible, and easily subclassable in
    order to make it easy to implement custom wrappers, e.g. alternate
    line number markup. See the documentation.
  • Added an outencoding option to all formatters, making it possible
    to override the encoding (which is used by lexers and formatters)
    when using the command line interface. Also, if using the terminal
    formatter and the output file is a terminal and has an encoding
    attribute, use it if no encoding is given.
  • Made it possible to just drop style modules into the styles
    subpackage of the Pygments installation.
  • Added a "state" keyword argument to the using helper.
  • Added a commandprefix option to the LatexFormatter which allows
    to control how the command names are constructed.
  • Added quite a few new lexers, thanks to Tim Hatch:
  • Java Server Pages
  • Windows batch files
  • Trac Wiki markup
  • Python tracebacks
  • ReStructuredText
  • Dylan
  • and the Befunge esoteric programming language (yay!)
  • Added Mako lexers by Ben Bangert.
  • Added "fruity" style, another dark background originally vim-based
    theme.
  • Added sources.list lexer by Dennis Kaarsemaker.
  • Added token stream filters, and a pygmentize option to use them.
  • Changed behavior of in Operator for tokens.
  • Added mimetypes for all lexers.
  • Fixed some problems lexing Python strings.
  • Fixed tickets: 167, 178, 179, 180, 185, 201.

0.6


(codename Zimtstern, released Dec 20, 2006)

  • Added option for the HTML formatter to write the CSS to an external
    file in "full document" mode.
  • Added RTF formatter.
  • Added Bash and Apache configuration lexers (thanks to Tim Hatch).
  • Improved guessing methods for various lexers.
  • Added media support to CSS lexer (thanks to Tim Hatch).
  • Added a Groff lexer (thanks to Tim Hatch).
  • License change to BSD.
  • Added lexers for the Myghty template language.
  • Added a Scheme lexer (thanks to Marek Kubica).
  • Added some functions to iterate over existing lexers, formatters and
    lexers.
  • The HtmlFormatter's get_style_defs() can now take a list as an
    argument to generate CSS with multiple prefixes.
  • Support for guessing input encoding added.
  • Encoding support added: all processing is now done with Unicode
    strings, input and output are converted from and optionally to byte
    strings (see the encoding option of lexers and formatters).
  • Some improvements in the C(++) lexers handling comments and line
    continuations.

0.5.1


(released Oct 30, 2006)

  • Fixed traceback in pygmentize -L (thanks to Piotr Ozarowski).

0.5


(codename PyKleur, released Oct 30, 2006)

  • Initial public release.

flake8 -> 3.5.0

3.5.0


You can view the 3.5.0 milestone_ on GitLab for more details.

New Dependency Information

  • Allow for PyFlakes 1.6.0 (See also GitLab359_)
  • Start using new PyCodestyle checks for bare excepts and ambiguous identifier
    (See also GitLab361_)

Features

  • Print out information about configuring VCS hooks (See also GitLab335_)
  • Allow users to develop plugins "local" to a repository without using
    setuptools. See our documentation on local plugins for more information.
    (See also GitLab357_)

Bugs Fixed

  • Catch and helpfully report UnicodeDecodeError\ s when parsing
    configuration files. (See also GitLab358_)

.. all links
.. _3.5.0 milestone:
https://gitlab.com/pycqa/flake8/milestones/20

.. issue links
.. _GitLab335:
https://gitlab.com/pycqa/flake8/issues/335
.. _GitLab357:
https://gitlab.com/pycqa/flake8/issues/357
.. _GitLab358:
https://gitlab.com/pycqa/flake8/issues/358
.. _GitLab359:
https://gitlab.com/pycqa/flake8/issues/359
.. _GitLab361:
https://gitlab.com/pycqa/flake8/issues/361

.. merge request links

3.4.1


You can view the 3.4.1 milestone_ on GitLab for more details.

  • Fix minor regression when users specify only a --select list with items
    in the enabled/extended select list. (See also GitLab354_)

.. all links
.. _3.4.1 milestone:
https://gitlab.com/pycqa/flake8/milestones/19

.. issue links
.. _GitLab354:
https://gitlab.com/pycqa/flake8/issues/354

.. merge request links

3.4.0


You can view the 3.4.0 milestone_ on GitLab for more details.

  • Refine logic around --select and --ignore when combined with the
    default values for each. (See also GitLab318_)
  • Handle spaces as an alternate separate for error codes, e.g.,
    --ignore &#39;E123 E234&#39;. (See also GitLab329_)
  • Filter out empty select and ignore codes, e.g., --ignore E123,,E234.
    (See also GitLab330_)
  • Specify dependencies appropriately in setup.py (See also Gitlab341_)
  • Fix bug in parsing --quiet and --verbose from config files.
    (See also GitLab!193_)
  • Remove unused import of os in the git hook template (See also
    GitLab!194_)

.. all links
.. _3.4.0 milestone:
https://gitlab.com/pycqa/flake8/milestones/18

.. issue links
.. _GitLab318:
https://gitlab.com/pycqa/flake8/issues/318
.. _GitLab329:
https://gitlab.com/pycqa/flake8/issues/329
.. _GitLab330:
https://gitlab.com/pycqa/flake8/issues/330
.. _GitLab341:
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

3.3.0


You can view the 3.3.0 milestone_ on GitLab for more details.

  • Add support for Python 3.6 (via dependencies). Note Flake8 does not
    guarantee that all plugins will support Python 3.6.
  • 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_)
  • Display the local file path instead of the temporary file path when
    using the git hook. (See also GitLab244_)
  • Add methods to Report class that will be called when Flake8 starts and
    finishes processing a file. (See also GitLab251_)
  • Fix problem where hooks should only check *.py files. (See also
    GitLab268_)
  • Fix handling of SyntaxErrors that do not include physical line information.
    (See also GitLab279_)
  • Update upper bound on PyFlakes to allow for PyFlakes 1.5.0. (See also
    GitLab290_)
  • Update setuptools integration to less eagerly deduplicate packages.
    (See also GitLab295_)
  • Force flake8 --version to be repeatable between invocations. (See also
    GitLab297_)

.. all links
.. _3.3.0 milestone:
https://gitlab.com/pycqa/flake8/milestones/16

.. issue links
.. _GitLab244:
https://gitlab.com/pycqa/flake8/issues/244
.. _GitLab251:
https://gitlab.com/pycqa/flake8/issues/251
.. _GitLab268:
https://gitlab.com/pycqa/flake8/issues/268
.. _GitLab279:
https://gitlab.com/pycqa/flake8/issues/279
.. _GitLab290:
https://gitlab.com/pycqa/flake8/issues/290
.. _GitLab295:
https://gitlab.com/pycqa/flake8/issues/295
.. _GitLab297:
https://gitlab.com/pycqa/flake8/issues/297

.. merge request links
.. _GitLab!156:
https://gitlab.com/pycqa/flake8/merge_requests/156

3.2.1


You can view the 3.2.1 milestone_ on GitLab for more details.

  • Fix subtle bug when deciding whether to report an on-by-default's violation
    (See also GitLab257_)
  • Fix another bug around SyntaxErrors not being reported at the right column
    and row (See also GitLab259_ and GitLab237_ 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
    GitLab266_)

.. links
.. _3.2.1 milestone:
https://gitlab.com/pycqa/flake8/milestones/15
.. _GitLab237:
https://gitlab.com/pycqa/flake8/issues/237
.. _GitLab257:
https://gitlab.com/pycqa/flake8/issues/257
.. _GitLab259:
https://gitlab.com/pycqa/flake8/issues/259
.. _GitLab266:
https://gitlab.com/pycqa/flake8/issues/266

3.2.0


You can view the 3.2.0 milestone_ on GitLab for more details.

  • Allow for pycodestyle 2.2.0 which fixes a bug in E305 (See also
    GitLab256_)

.. links
.. _3.2.0 milestone:
https://gitlab.com/pycqa/flake8/milestones/14
.. _GitLab256:
https://gitlab.com/pycqa/flake8/issues/256

3.1.1


You can view the 3.1.1 milestone_ on GitLab for more details.

  • Do not attempt to install/distribute a man file with the Python package;
    leave this for others to do. (See also GitLab254_)
  • Fix packaging bug where wheel version constraints specified in setup.cfg did
    not match the constraints in setup.py. (See also GitLab255_)

.. links
.. _3.1.1 milestone:
https://gitlab.com/pycqa/flake8/milestones/13
.. _GitLab254:
https://gitlab.com/pycqa/flake8/issues/254
.. _GitLab255:
https://gitlab.com/pycqa/flake8/issues/255

3.1.0


You can view the 3.1.0 milestone_ on GitLab 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 GitLab210, GitLab218, GitLab223_)
  • Avoid unhandled exceptions when dealing with SyntaxErrors. (See also
    GitLab214, GitLab238)
  • Exit early if the value for --diff is empty. (See also GitLab226_)
  • Handle empty --stdin-display-name values. (See also GitLab235_)
  • 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 GitLab237_)
  • 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 GitLab239_)
  • Fix problems around --select and --ignore behaviour that prevented
    codes that were neither explicitly selected nor explicitly ignored from
    being reported. (See also GitLab242_)
  • 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 GitLab245_)
  • Add new File Processor attribute, previous_unindented_logical_line to
    accommodate pycodestyle 2.1.0. (See also GitLab246_)
  • When something goes wrong, exit non-zero. (See also GitLab248,
    GitLab209
    )
  • Add --tee as an option to allow use of --output-file and printing to
    standard out.
  • Allow the git plugin to actually be lazy when collecting files.
  • Allow for pycodestyle 2.1 series and pyflakes 1.3 series.

.. links
.. _3.1.0 milestone:
https://gitlab.com/pycqa/flake8/milestones/12
.. _GitLab209:
https://gitlab.com/pycqa/flake8/issues/209
.. _GitLab210:
https://gitlab.com/pycqa/flake8/issues/210
.. _GitLab214:
https://gitlab.com/pycqa/flake8/issues/214
.. _GitLab218:
https://gitlab.com/pycqa/flake8/issues/218
.. _GitLab223:
https://gitlab.com/pycqa/flake8/issues/223
.. _GitLab226:
https://gitlab.com/pycqa/flake8/issues/226
.. _GitLab235:
https://gitlab.com/pycqa/flake8/issues/235
.. _GitLab237:
https://gitlab.com/pycqa/flake8/issues/237
.. _GitLab238:
https://gitlab.com/pycqa/flake8/issues/238
.. _GitLab239:
https://gitlab.com/pycqa/flake8/issues/239
.. _GitLab242:
https://gitlab.com/pycqa/flake8/issues/242
.. _GitLab245:
https://gitlab.com/pycqa/flake8/issues/245
.. _GitLab246:
https://gitlab.com/pycqa/flake8/issues/246
.. _GitLab248:
https://gitlab.com/pycqa/flake8/issues/248

3.0.4


  • Side-step a Pickling Error when using Flake8 with multiprocessing on Unix
    systems. (See also GitLab164_)
  • Fix an Attribute Error raised when dealing with Invalid Syntax. (See also
    GitLab203_)
  • Fix an unhandled Syntax Error when tokenizing files. (See also
    GitLab205_)

.. links
.. _GitLab164:
https://gitlab.com/pycqa/flake8/issues/164
.. _GitLab203:
https://gitlab.com/pycqa/flake8/issues/203
.. _GitLab205:
https://gitlab.com/pycqa/flake8/issues/205

3.0.3


  • Disable --jobs for any version of Python on Windows.
    (See also this Python bug report_)
  • Raise exception when entry_point in plugin not callable.
    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 GitLab164_)
  • Fix noqa comments followed by a : and explanation broken by
    3.0.0 (See also GitLab178_)
  • Always open our output file in append mode so we do not overwrite log
    messages. (See also GitLab193_)
  • When normalizing path values read from configuration, keep in context the
    directory where the configuration was found so that relative paths work.
    (See also GitLab194_)
  • Fix issue where users were unable to ignore plugin errors that were on
    by default. (See also GitLab195_)
  • Fix our legacy API StyleGuide's init_report method to actually override
    the previous formatter. (See also GitLab200_)

.. links
.. _GitLab164:
https://gitlab.com/pycqa/flake8/issues/164
.. _GitLab178:
https://gitlab.com/pycqa/flake8/issues/178
.. _GitLab193:
https://gitlab.com/pycqa/flake8/issues/193
.. _GitLab194:
https://gitlab.com/pycqa/flake8/issues/193
.. _GitLab195:
https://gitlab.com/pycqa/flake8/issues/195
.. _GitLab200:
https://gitlab.com/pycqa/flake8/issues/200
.. _this Python bug report:
https://bugs.python.org/issue27649

3.0.2


  • Fix local config file discovery. (See also GitLab181_)
  • 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 GitLab186_)

.. links
.. _GitLab181:
https://gitlab.com/pycqa/flake8/issues/181
.. _GitLab186:
https://gitlab.com/pycqa/flake8/issues/186

3.0.1


  • Fix regression in handling of noqa for multiline strings.
    (See also GitLab177_)
  • Fix regression in handling of --output-file when not also using
    --verbose. (See also GitLab180_)
  • Fix regression in handling of --quiet. (See also GitLab180_)
  • Fix regression in handling of --statistics. (See also GitLab180_)

.. links
.. _GitLab177:
https://gitlab.com/pycqa/flake8/issues/177
.. _GitLab180:
https://gitlab.com/pycqa/flake8/issues/180

3.0.0


  • Drop explicit support for Pythons 2.6, 3.2, and 3.3.
  • Remove dependence on pep8/pycodestyle for file processing, plugin
    dispatching, and more. We now control all of this while keeping backwards
    compatibility.
  • --select and --ignore can now both be specified and try to find the
    most specific rule from each. For example, if you do --select E --ignore E123 then we will report everything that starts with E except for
    E123. Previously, you would have had to do --ignore E123,F,W which
    will also still work, but the former should be far more intuitive.
  • Add support for in-line noqa comments to specify only the error
    codes to be ignored, e.g., noqa: E123,W503
  • Add entry-point for formatters as well as a base class that new formatters
    can inherit from. See the documentation for more details.
  • Add detailed verbose output using the standard library logging module.
  • Enhance our usage of optparse for plugin developers by adding new parameters
    to the add_option that plugins use to register new options.
  • Update --install-hook to require the name of version control system hook
    you wish to install a Flake8.
  • Stop checking sub-directories more than once via the setuptools command
  • When passing a file on standard-in, allow the caller to specify
    --stdin-display-name so the output is properly formatted
  • The Git hook now uses sys.executable to format the shebang line.
    This allows Flake8 to install a hook script from a virtualenv that points to
    that virtualenv's Flake8 as opposed to a global one (without the virtualenv
    being sourced).
  • Print results in a deterministic and consistent ordering when used with
    multiprocessing
  • When using --count, the output is no longer written to stderr.
  • AST plugins can either be functions or classes and all plugins can now
    register options so long as there are callable attributes named as we
    expect.
  • Stop forcibly re-adding .tox, .eggs, and *.eggs to
    --exclude. Flake8 2.x started always appending those three patterns
    to any exclude list (including the default and any user supplied list).
    Flake8 3 has stopped adding these in, so you may see errors when upgrading
    due to these patterns no longer being forcibly excluded by default if you
    have your own exclude patterns specified.

To fix this, add the appropriate patterns to your exclude patterns list.

.. note::

 This item was added in November of 2016, as a result of a bug
 report.

2.6.2


  • Bug Fix packaging error during release process.

2.6.1


  • Bug Update the config files to search for to include setup.cfg and
    tox.ini. This was broken in 2.5.5 when we stopped passing
    config_file to our Style Guide

2.6.0


  • Requirements Change Switch to pycodestyle as all future pep8 releases
    will use that package name
  • Improvement Allow for Windows users on select versions of Python to
    use --jobs and multiprocessing
  • Improvement Update bounds on McCabe
  • Improvement Update bounds on PyFlakes and blacklist known broken
    versions
  • Improvement Handle new PyFlakes warning with a new error code: F405

2.5.5


  • Bug Fix setuptools integration when parsing config files
  • Bug Don't pass the user's config path as the config_file when creating a
    StyleGuide

2.5.4


  • Bug Missed an attribute rename during the v2.5.3 release.

2.5.3


  • Bug Actually parse output_file and enable_extensions from config
    files

2.5.2


  • Bug Parse output_file and enable_extensions from config files
  • Improvement Raise upper bound on mccabe plugin to allow for version
    0.4.0

2.5.1


  • Bug Properly look for .flake8 in current working directory
    (GitLab103_)
  • 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. (GitLab105, GitLab107)

.. _GitLab103: https://gitlab.com/pycqa/flake8/issues/103
.. _GitLab105: https://gitlab.com/pycqa/flake8/issues/105
.. _GitLab107: https://gitlab.com/pycqa/flake8/issues/107

2.5.0


  • Improvement Raise cap on PyFlakes for Python 3.5 support
  • Improvement Avoid deprecation warnings when loading extensions
    (GitLab59, GitLab90)
  • Improvement Separate logic to enable "off-by-default" extensions
    (GitLab67_)
  • Bug Properly parse options to setuptools Flake8 command (GitLab!41_)
  • Bug Fix exceptions when output on stdout is truncated before Flake8
    finishes writing the output (GitLab69_)
  • Bug Fix error on OS X where Flake8 can no longer acquire or create new
    semaphores (GitLab74_)

.. _GitLab!41: https://gitlab.com/pycqa/flake8/merge_requests/41
.. _GitLab59: https://gitlab.com/pycqa/flake8/issues/59
.. _GitLab67: https://gitlab.com/pycqa/flake8/issues/67
.. _GitLab69: https://gitlab.com/pycqa/flake8/issues/69
.. _GitLab74: https://gitlab.com/pycqa/flake8/issues/74
.. _GitLab90: https://gitlab.com/pycqa/flake8/issues/90

2.4.1


  • Bug Do not raise a SystemError unless there were errors in the
    setuptools command. (GitLab39, GitLab!23)
  • Bug Do not verify dependencies of extensions loaded via entry-points.
  • Improvement Blacklist versions of pep8 we know are broken

.. _GitLab39: https://gitlab.com/pycqa/flake8/issues/39
.. _GitLab!23: https://gitlab.com/pycqa/flake8/merge_requests/23

2.4.0


  • Bug Print filenames when using multiprocessing and -q option.
    (GitLab31_)
  • Bug Put upper cap on dependencies. The caps for 2.4.0 are:
  • pep8 &lt; 1.6 (Related to GitLab35_)
  • mccabe &lt; 0.4
  • pyflakes &lt; 0.9

See also GitLab32_

  • Bug Files excluded in a config file were not being excluded when flake8
    was run from a git hook. (GitHub2_)
  • Improvement Print warnings for users who are providing mutually
    exclusive options to flake8. (GitLab8, GitLab!18)
  • Feature Allow git hook configuration to live in .git/config.
    See the updated VCS hooks docs_ for more details. (GitLab!20_)

.. _GitHub2: PyCQA/flake8#2
.. _GitLab8: https://gitlab.com/pycqa/flake8/issues/8
.. _GitLab31: https://gitlab.com/pycqa/flake8/issues/31
.. _GitLab32: https://gitlab.com/pycqa/flake8/issues/32
.. _GitLab35: 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.org/en/latest/vcs.html

2.3.0


  • Feature: Add --output-file option to specify a file to write to
    instead of stdout.
  • Bug Fix interleaving of output while using multiprocessing
    (GitLab17_)

.. _GitLab17: https://gitlab.com/pycqa/flake8/issues/17

2.2.5


  • Flush standard out when using multiprocessing
  • Make the check for " flake8: noqa" more strict

2.2.4


  • Fix bugs triggered by turning multiprocessing on by default (again)

Multiprocessing is forcibly disabled in the following cases:

  • Passing something in via stdin
  • Analyzing a diff
  • Using windows
  • Fix --install-hook when there are no config files present for pep8 or
    flake8.
  • Fix how the setuptools command parses excludes in config files
  • Fix how the git hook determines which files to analyze (Thanks Chris
    Buccella!)

2.2.3


  • Actually turn multiprocessing on by default

2.2.2


  • Re-enable multiprocessing by default while fixing the issue Windows users
    were seeing.

2.2.1


  • Turn off multiple jobs by default. To enable automatic use of all CPUs, use
    --jobs=auto. Fixes 155 and 154.

2.2.0


  • New option doctests to run Pyflakes checks on doctests too
  • New option jobs to launch multiple jobs in parallel
  • Turn on using multiple jobs by default using the CPU count
  • Add support for python -m flake8 on Python 2.7 and Python 3
  • Fix Git and Mercurial hooks: issues 88, 133, 148 and 149
  • Fix crashes with Python 3.4 by upgrading dependencies
  • Fix traceback when running tests with Python 2.6
  • Fix the setuptools command python setup.py flake8 to read
    the project configuration

2.1.0


  • Add FLAKE8_LAZY and FLAKE8_IGNORE environment variable support to git and
    mercurial hooks
  • Force git and mercurial hooks to repsect configuration in setup.cfg
  • Only check staged files if that is specified
  • Fix hook file permissions
  • Fix the git hook on python 3
  • Ignore non-python files when running the git hook
  • Ignore .tox directories by default
  • Flake8 now reports the column number for PyFlakes messages

2.0.0


  • Pyflakes errors are prefixed by an F instead of an E
  • McCabe complexity warnings are prefixed by a C instead of a W
  • Flake8 supports extensions through entry points
  • Due to the above support, we require setuptools
  • We publish the documentation &lt;https://flake8.readthedocs.org/&gt;_
  • Fixes 13: pep8, pyflakes and mccabe become external dependencies
  • Split run.py into main.py, engine.py and hooks.py for better logic
  • Expose our parser for our users
  • New feature: Install git and hg hooks automagically
  • By relying on pyflakes (0.6.1), we also fixed 45 and 35

1.7.0


  • Fixes part of 35: Exception for no WITHITEM being an attribute of Checker
    for Python 3.3
  • Support stdin
  • Incorporate phd's builtins pull request
  • Fix the git hook
  • Update pep8.py to the latest version

1.6.2


  • fixed the NameError: global name 'message' is not defined (46)

1.6.1


  • fixed the mercurial hook, a change from a previous patch was not properly
    applied
  • fixed an assumption about warnings/error messages that caused an exception
    to be thrown when McCabe is used

1.6


  • changed the signatures of the check_file function in flake8/run.py,
    skip_warning in flake8/util.py and the check, checkPath
    functions in flake8/pyflakes.py.
  • fix --exclude and --ignore command flags (14, 19)
  • fix the git hook that wasn't catching files not already added to the index
    (29)
  • pre-emptively includes the addition to pep8 to ignore certain lines.
    Add nopep8 to the end of a line to ignore it. (37)
  • check_file can now be used without any special prior setup (21)
  • unpacking exceptions will no longer cause an exception (20)
  • fixed crash on non-existent file (38)

1.5


  • fixed the stdin
  • make sure mccabe catches the syntax errors as warnings
  • pep8 upgrade
  • added max_line_length default value
  • added Flake8Command and entry points if setuptools is around
  • using the setuptools console wrapper when available

1.4


  • git_hook: Only check staged changes for compliance
  • use pep8 1.2

1.3.1


  • fixed support for Python 2.5

1.3


  • fixed false W402 warning on exception blocks.

1.2


  • added a git hook
  • now Python 3 compatible
  • mccabe and pyflakes have warning codes like pep8 now

1.1


  • fixed the value returned by --version
  • allow the flake8: header to be more generic
  • fixed the "hg hook raises 'physical lines'" bug
  • allow three argument form of raise
  • now uses setuptools if available, for 'develop' command

1.0


  • Deactivates by default the complexity checker
  • Introduces the complexity option in the HG hook and the command line.

0.9


  • update pep8 version to 0.6.1
  • mccabe check: gracefully handle compile failure

0.8


  • fixed hg hook
  • discard unexisting files on hook check

0.7


  • Fix pep8 initialization when run through Hg
  • Make pep8 short options work when run through the command line
  • Skip duplicates when controlling files via Hg

0.6


  • Fix the McCabe metric on some loops

flake8-commas -> 0.4.3

0.4.3


  • Enforce trailing commas in subscript tuples and slices again.
    Regression from 0.4.2
    (Issue 42 &lt;https://github.com/flake8-commas/flake8-commas/pull/42&gt;_)

0.4.2


  • Prevent lambda params in a parenth form enforcing a trailing comma.
    (Issue 41 &lt;https://github.com/flake8-commas/flake8-commas/pull/41&gt;_)
  • Fix issue preventing execution on Python 2 with Flake8 3.
    (Issue 35 &lt;https://github.com/flake8-commas/flake8-commas/issues/35&gt;_)
  • Allow bare wrapped subscript notation access.
    (Issue 39 &lt;https://github.com/flake8-commas/flake8-commas/pull/39&gt;_)
  • Don't require comma in assert statement with parenth form.
    (Issue 37 &lt;https://github.com/flake8-commas/flake8-commas/pull/37&gt;_)

0.4.1


  • Add the framework flake8 trove classifier.

0.4.0


  • Support flake8 3.x.x.
    (Issue 20 &lt;https://github.com/flake8-commas/flake8-commas/issue/20&gt;_)
  • No trailing comma after any function def with unpack.
  • support Python 3.6 issue9232 &lt;https://bugs.python.org/issue9232&gt;_
    trailing commas.
    (Issue 33 &lt;https://github.com/flake8-commas/flake8-commas/pull/33&gt;_)

0.3.1


  • Also parse unpacks with literals.
    (Issue 30 &lt;https://github.com/flake8-commas/flake8-commas/issue/30&gt;_)

0.3.0


  • If there is a comment after the last item, do not report an error.
    (Issue 18 &lt;https://github.com/flake8-commas/flake8-commas/issue/18&gt;_)
  • If there is an empty, tuple, list, dict, or function, do not report an error.
    (Issue 17 &lt;https://github.com/flake8-commas/flake8-commas/issue/17&gt;_)
  • Support PEP 3132 Python 3.5+ extended unpacking.
    (Issue 26 &lt;https://github.com/flake8-commas/flake8-commas/issue/26&gt;_)
  • *args should not require a trailing comma.
    (Issue 27 &lt;https://github.com/flake8-commas/flake8-commas/issue/27&gt;_)

0.2.0


  • First version of flake8-commas with changelog
  • Fix HTML readme render on PyPI.
  • Support various parenth_form edge cases.
  • Merge from flake8-trailing-commas

0.1.3


  • Nothing changed yet.

0.1.2


  • Fix HTML readme render on PyPI.

@davidosomething davidosomething merged commit 8cc9854 into master Nov 14, 2017
@davidosomething davidosomething deleted the pyup-initial-update branch November 16, 2017 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants