Commit Graph

28 Commits

Author SHA256 Message Date
John Vandenberg
bde93f71b3 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=47 2019-03-02 08:30:38 +00:00
John Vandenberg
f300f64b25 Accepting request 680679 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/680679
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=46
2019-03-02 08:30:04 +00:00
Tomáš Chvátal
5039b2115b Accepting request 668823 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/668823
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=44
2019-01-26 21:40:28 +00:00
Tomáš Chvátal
9a84ee3138 Accepting request 626871 from home:Simmphonie:python
- update to version 2.0.0:
  * Drop support for EOL Python <2.7 and 3.2-3.3
  * Check for unused exception binding in `except:` block
  * Handle string literal type annotations
  * Ignore redefinitions of `_`, unless originally defined by import
  * Support `__class__` without `self` in Python 3
  * Issue an error for `raise NotImplemented(...)`

OBS-URL: https://build.opensuse.org/request/show/626871
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=42
2018-08-01 10:09:05 +00:00
Tomáš Chvátal
d90aa52d0a Accepting request 566516 from home:TheBlackCat:branches:devel:languages:python
- Implement tests
- Fix source and URL

OBS-URL: https://build.opensuse.org/request/show/566516
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=40
2018-01-17 15:34:35 +00:00
e9d9f1ca44 Accepting request 528575 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/528575
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=38
2017-09-25 09:00:19 +00:00
Jan Matejek
6db7a8e756 - uninstall alternatives in %postun
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=36
2017-03-29 14:19:23 +00:00
Jan Matejek
f71e99cde1 Accepting request 482211 from devel:languages:python:singlespec
singlespec

OBS-URL: https://build.opensuse.org/request/show/482211
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=35
2017-03-23 13:16:41 +00:00
Thomas Bechtold
4d33659fbc Accepting request 457354 from home:kwk:branches:devel:languages:python
- update to version 1.5.0:
  * Enable support for PEP 526 annotated assignments
    
- update to version 1.4.0:
  * Change formatting of ImportStarMessage to be consistent with
    other errors
  * Support PEP 498 "f-strings"
- update to version 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
- update to version 1.2.3:
  * Fix TypeError when processing relative imports
  
- update to version 1.2.2:
  * Avoid traceback when exception is del-ed in except
- update to version 1.2.1:
  * Fix false RedefinedWhileUnesed for submodule imports
- update to version 1.2.0:
  * Warn against reusing exception names after the except: block on
    Python 3
  * Improve the error messages for imports
- update to version 1.1.0:
  * main() can now accept arguments
  * the matrix-multiplication operator (@) is now supported
  * imports from __future__ are checked for validity
  * fixes to doctest scope testing
  * asserts against a tuple (which are always true) now emits a warning
  * "import *" not at the module level on python3 emits a warning

OBS-URL: https://build.opensuse.org/request/show/457354
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=34
2017-02-16 14:12:11 +00:00
Todd R
2eaee26d95 Accepting request 419442 from home:TheBlackCat:branches:devel:languages:python
Fix update-alternatives implementation.

OBS-URL: https://build.opensuse.org/request/show/419442
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=32
2016-08-15 15:35:39 +00:00
Todd R
04df7f74a0 Accepting request 353365 from home:TheBlackCat:branches:devel:languages:python
update to version 1.0.0

OBS-URL: https://build.opensuse.org/request/show/353365
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=30
2016-01-13 10:07:11 +00:00
Thomas Bechtold
e52951b823 Accepting request 343727 from home:cboltz:branches:devel:languages:python
- add dependency on python-setuptools (the pkg_resources module is needed
  at runtime)


Without python-setuptools, I got

# pyflakes
Traceback (most recent call last):
  File "/usr/bin/pyflakes", line 5, in <module>
    from pkg_resources import load_entry_point
ImportError: No module named pkg_resources

OBS-URL: https://build.opensuse.org/request/show/343727
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=28
2015-11-11 09:30:52 +00:00
60e80652ee Accepting request 313119 from home:tbechtold:branches:devel:languages:python
- update to 0.9.2:
  - Fix a traceback when a global is defined in one scope, and used in another.
  - Update NEWS.txt to include 0.9.0, which had been forgotten.
  - 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.

OBS-URL: https://build.opensuse.org/request/show/313119
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=26
2015-06-23 06:17:57 +00:00
Todd R
06d6f7139f Accepting request 229773 from home:TheBlackCat:branches:devel:languages:python
Update to 0.8.1

OBS-URL: https://build.opensuse.org/request/show/229773
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=24
2014-04-11 19:50:21 +00:00
Denisart Benjamin
1d887d99d2 Accepting request 207608 from home:dirkmueller:branches:devel:languages:python
- install LICENSE (and other usual boilerplate)

OBS-URL: https://build.opensuse.org/request/show/207608
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=22
2013-11-19 15:48:55 +00:00
Alexandre Rogoski
44dbdcbd8e Accepting request 181904 from home:dirkmueller:branches:devel:languages:python
- update to 0.7.3:
  - Do not report undefined name for generator expression and dict or
    set comprehension at class level.
  - Deprecate `Checker.pushFunctionScope` and `Checker.pushClassScope`:
    use `Checker.pushScope` instead.
  - Remove dependency on Unittest2 for the tests.

OBS-URL: https://build.opensuse.org/request/show/181904
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=20
2013-07-03 15:58:41 +00:00
Sascha Peilicke
7277a2dac0 Python3 moved to devel:languages:python3
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=18
2013-06-17 12:53:02 +00:00
Sascha Peilicke
f3649addb9 Accepting request 175232 from home:dirkmueller:branches:devel:languages:python
- update to 0.7.2:
  - Fix computation of `DoctestSyntaxError.lineno` and `col`.
  - Add boolean attribute `Checker.withDoctest` to ignore doctests.
  - If environment variable `PYFLAKES_NODOCTEST` is set, skip doctests.
  - Environment variable `PYFLAKES_BUILTINS` accepts a comma-separated
    list of additional built-in names.
  - File `bin/pyflakes` was missing in tarball generated with distribute.
  - Fix reporting errors in non-ASCII filenames (Python 2.x)

OBS-URL: https://build.opensuse.org/request/show/175232
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=16
2013-05-13 09:26:49 +00:00
Todd R
ed75dd2eee Accepting request 172881 from devel:languages:python3
Re-add buildrequires: python3.  This is needed for openSUSE <= 12.2

OBS-URL: https://build.opensuse.org/request/show/172881
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=14
2013-04-22 16:27:20 +00:00
Sascha Peilicke
bcbee56186 Accepting request 172722 from home:dirkmueller:branches:devel:languages:python
- update to 0.7:
  - Add --version and --help options.
  - Support `python -m pyflakes` (Python 2.7 and Python 3.x).
  - Add attribute `Message.col` to report column offset.
  - Do not report redefinition of variable for a variable used in a list
    comprehension in a conditional.
  - Do not report redefinition of variable for generator expressions and
    set or dict comprehensions.
  - Do not report undefined name when the code is protected with a
    `NameError` exception handler.
  - Do not report redefinition of variable when unassigning a module imported
    for its side-effect.
  - Support special locals like `__tracebackhide__` for py.test.
  - Support checking doctests.
  - Fix issue with Turkish locale where `'i'.upper() == 'i'` in Python 2.
  - Fix detection of variables in augmented assignments.
  - Support Python 3 up to 3.3, based on the pyflakes3k project.
  - Preserve compatibility with Python 2.5 and all recent versions of Python.
  - Support custom reporters in addition to the default Reporter.
  - Allow function redefinition for modern property construction via
    property.setter/deleter.
  - Fix spurious redefinition warnings in conditionals.
  - Do not report undefined name in __all__ if import * is used.
  - Add WindowsError as a known built-in name on all platforms.
  - Support specifying additional built-ins in the `Checker` constructor.
  - Don't issue Unused Variable warning when using locals() in current scope.
  - Handle problems with the encoding of source files.
  - Remove dependency on Twisted for the tests.
  - Support `python setup.py test` and `python setup.py develop`.
  - Create script using setuptools `entry_points` to support all platforms,

OBS-URL: https://build.opensuse.org/request/show/172722
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=12
2013-04-22 09:27:24 +00:00
Todd R
d9d390d0e6 Accepting request 142770 from devel:languages:python3
Removed openSUSE 11.4 spec file workarounds (forwarded request 142753 from TheBlackCat)

OBS-URL: https://build.opensuse.org/request/show/142770
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=9
2012-11-25 11:10:49 +00:00
Todd R
1a4790b611 Accepting request 116028 from devel:languages:python3
Fix building python 3 package on openSUSE 11.4 x86_64 (forwarded request 116027 from TheBlackCat)

OBS-URL: https://build.opensuse.org/request/show/116028
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=6
2012-04-30 11:51:18 +00:00
Todd R
0d450c0193 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=5 2012-04-26 14:56:21 +00:00
Stephan Kulow
961b7811c2 Accepting request 115732 from devel:languages:python
Pyflakes is program to analyze Python programs and detect various errors. It works by
parsing the source file, not importing it, so it is safe to use on modules with side
effects. It's also much faster.

It is a dependency of the spyder python graphical environment, besides by a useful tool on its own

OBS-URL: https://build.opensuse.org/request/show/115732
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyflakes?expand=0&rev=1
2012-05-07 20:50:31 +00:00
Todd R
236f9b26a3 Accepting request 115687 from home:TheBlackCat:branches:devel:languages:python
Add python 3 package (forwarded request 115686 from TheBlackCat)

OBS-URL: https://build.opensuse.org/request/show/115687
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=4
2012-04-26 10:57:16 +00:00
Alexandre Rogoski
04226a391a - Renegerate spec file with py2pack;
- Add missing changes for 0.5.0.
- New version 0.5.0:
  - Convert pyflakes to use newer _ast infrastructure rather than compiler.
  - Support for new syntax in 2.7 (including set literals, set comprehensions,
    and dictionary comprehensions).
  - Make sure class names don't get bound until after class definition.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=3
2012-02-13 02:27:39 +00:00
Alexandre Rogoski
b0545d01ef Accepting request 103830 from home:werner2101:branches:devel:languages:python
new version 0.5.0

OBS-URL: https://build.opensuse.org/request/show/103830
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=2
2012-02-13 02:19:18 +00:00
Alexandre Rogoski
f0a2b2060a - Initial package (0.4.0) for openSUSE.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=1
2009-12-28 20:09:39 +00:00