uppsaladatavetare / foobar-api

The backend of the FooBar kiosk and inventory system.
MIT License
12 stars 6 forks source link

Update pyflakes to 1.6.0 #71

Closed pyup-bot closed 6 years ago

pyup-bot commented 6 years ago

There's a new version of pyflakes available. You are currently using 0.8.1. I have updated it to 1.6.0

These links might come in handy: PyPI | Changelog | Repo

Changelog

1.6.0

  • Process function scope variable annotations for used names
  • Find Python files without extensions by their shebang

1.5.0

  • Enable support for PEP 526 annotated assignments

1.4.0

  • Change formatting of ImportStarMessage to be consistent with other errors
  • Support PEP 498 "f-strings"

1.3.0

  • Fix PyPy2 Windows IntegrationTests
  • Check for duplicate dictionary keys
  • Fix TestMain tests on Windows
  • Fix "continue" and "break" checks ignoring py3.5's "async for" loop

1.2.3

  • Fix TypeError when processing relative imports

1.2.2

  • Avoid traceback when exception is del-ed in except

1.2.1

  • Fix false RedefinedWhileUnused for submodule imports

1.2.0

  • Warn against reusing exception names after the except: block on Python 3
  • Improve the error messages for imports

1.1.0

  • Allow main() to accept arguments.
  • Support matrix-multiplication operator
  • Validate future imports
  • Fix doctest scope testing
  • Warn for tuple assertions which are always true
  • Warn for "import *" not at module level on Python 3
  • Catch many more kinds of SyntaxErrors
  • Check PEP 498 f-strings
  • (and a few more sundry bugfixes)

1.0.0

  • Python 3.5 support. async/await statements in particular.
  • Fix test_api.py on Windows.
  • Eliminate a false UnusedImport warning when the name has been declared "global"

0.9.2

  • Fix a traceback when a global is defined in one scope, and used in another.

0.9.1

  • Update NEWS.txt to include 0.9.0, which had been forgotten.

0.9.0

  • Exit gracefully, not with a traceback, on SIGINT and SIGPIPE.
  • Fix incorrect report of undefined name when using lambda expressions in generator expressions.
  • Don't crash on DOS line endings on Windows and Python 2.6.
  • Don't report an undefined name if the 'del' which caused a name to become undefined is only conditionally executed.
  • Properly handle differences in list comprehension scope in Python 3.
  • Improve handling of edge cases around 'global' defined variables.
  • Report an error for 'return' outside a function.

Got merge conflicts? Close this PR and delete the branch. I'll create a new PR for you.

Happy merging! 🤖

codecov[bot] commented 6 years ago

Codecov Report

Merging #71 into develop will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop      #71   +/-   ##
========================================
  Coverage    91.59%   91.59%           
========================================
  Files           82       82           
  Lines         3475     3475           
  Branches       184      184           
========================================
  Hits          3183     3183           
  Misses         262      262           
  Partials        30       30

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 5d57529...d36a0a9. Read the comment docs.