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

Rename async to async_mode for python 3.7 compatibility #120

Closed
wants to merge 5 commits into from

Commits on Jan 11, 2018

  1. Fix Travis setup

    You can't rely on tox alone to test the various versions of python
    because they might not be installed. Instead specify a build matrix by
    hand. This also allows for a cleaner after_script for coveralls.
    maxnordlund committed Jan 11, 2018
    Configuration menu
    Copy the full SHA
    bf95c28 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2018

  1. Fix parsing of multi-options for pycodestyle

    This correctly parses options of the form "E302,W405", which before this
    was split into individual characters. This resulted in all errors and/or
    being considered when ignoring/selecting.
    
    Since specifying just "E" disables all errors, having a list of
    characters meant that it always encountered an individual "E" and thus
    disabled all errors.
    maxnordlund committed Mar 1, 2018
    Configuration menu
    Copy the full SHA
    4c19d4c View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2018

  1. Run tests against all supported python versions and python 3.7

    Python 3.7 will be released in about 2 months.[1] It also introduces
    `async` as a reserved keyword which is currently used by pylama as a
    module, variable, and option name.
    
    This also removes python 3.3 from `.travis.yml`.  Python 3.3 reached
    its end of life at 2017-09-29.[2] Without `py33` specified in
    `tox.ini` the tests fail anyway.
    
    [1] https://www.python.org/dev/peps/pep-0537/#schedule
    [2] https://www.python.org/dev/peps/pep-0398/#x-end-of-life
    michael-k committed Apr 11, 2018
    Configuration menu
    Copy the full SHA
    e382f35 View commit details
    Browse the repository at this point in the history
  2. Rename async to async_mode

    Fixes W606 'async' and 'await' are reserved keywords starting with Python 3.7
    
    This continues to accept `--async` as an argument and `async = 1` in
    config files.  Therefore this commit should not be breaking.
    michael-k committed Apr 11, 2018
    Configuration menu
    Copy the full SHA
    fb8cab0 View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2018

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