Commit Graph

34 Commits

Author SHA256 Message Date
663b6eb20b - update to 3.2.0:
* Add support for *T (TypeVarTuple) and **P (ParamSpec) in PEP
    695 annotations.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=71
2024-01-05 15:27:45 +00:00
Steve Kowalik
06f945d7ec - Update to 3.1.0:
* Drop support for EOL python 3.6 / 3.7
  * Remove ``ContinueInFinally`` check (only relevant in python < 3.8)
  * Fix forward annotations inside a nested scope
  * Produce an error when a definition shadows an unused variable
  * Fix accessed global annotation being redefined in a local scope
  * Allow redefinition of functions across ``match`` arms
  * Fix potential ``None`` for ``lineno`` during tokenization errors
  * Add support for PEP 695 and python 3.12
- Switch to pyproject macros.
- Drop patch py3114.patch, included now.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=69
2023-08-08 06:21:28 +00:00
447798f6ad Accepting request 1098186 from home:mcalabkova:branches:devel:languages:python
- add upstream py3114.patch

OBS-URL: https://build.opensuse.org/request/show/1098186
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=67
2023-07-12 08:24:22 +00:00
John Vandenberg
3a01415712 Accepting request 1085603 from home:ojkastl_buildservice:Branch_devel_languages_python
add sle15_python_module_pythons

OBS-URL: https://build.opensuse.org/request/show/1085603
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=65
2023-05-09 05:30:16 +00:00
be8b1f92e1 - update to 3.0.1:
* Detect undefined name in variable defined by an annotated assignment
  * Add a new error for names which are annotated but unused
  * Remove handling of python 2.x ``# type:`` comments.  Use annotations
    instead

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=62
2022-12-15 20:53:12 +00:00
OBS User buildservice-autocommit
d451b21fe4 Updating link to change in openSUSE:Factory/python-pyflakes revision 33
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=7a6099ddb51467c127fcbf41e3379d79
2022-12-15 19:16:29 +00:00
John Vandenberg
a90bc59c7d Accepting request 1042742 from home:yarunachalam:branches:devel:languages:python
- Update to 3.0.1
  * Fix crash on augmented assign to ``print`` builtin
  
- Update to 3.0.0 
  -  Detect undefined name in variable defined by an annotated assignment
  - Add a new error for names which are annotated but unused
  - Remove handling of python 2.x ``# type:`` comments.  Use annotations instead

OBS-URL: https://build.opensuse.org/request/show/1042742
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=60
2022-12-14 22:35:10 +00:00
OBS User buildservice-autocommit
e446720e5a Updating link to change in openSUSE:Factory/python-pyflakes revision 31
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=e3096e09649e74ba2ae7e2840491fcdb
2022-12-08 13:14:42 +00:00
98b559df12 Accepting request 1040663 from home:yarunachalam:branches:devel:languages:python
- Update to version 3.0.1 (2022-11-24)
  * Fix crash on augmented assign to print builtin
- Update to version 3.0.0 (2022-11-23)
  * Detect undefined name in variable defined by an annotated assignment
  * Add a new error for names which are annotated but unused
  * Remove handling of python 2.x # type: comments. Use annotations instead

OBS-URL: https://build.opensuse.org/request/show/1040663
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=58
2022-12-06 17:58:54 +00:00
39ae7c955c - update to 2.5.0:
* mDrop support for EOL python 2.7 / 3.4 / 3.5
  * mIgnore ``__all__`` when not directly assigned
  * mHandle ``TypeAlias`` annotations as aliases (PEP 613)
  * mAssignment expressions (``:=``) target outer scope in comprehensions
  * mAdd support for new python 3.11 syntax
  * mUnify output so it is always ``filename:lineno:col:  message``
  * mProperly report ``SyntaxError`` from stdin in python < 3.9
  * mFix offsets of ``SyntaxError``s in pypy

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=56
2022-08-18 08:27:26 +00:00
John Vandenberg
c89c1fc744 Accepting request 928976 from home:pgajdos:python
- version update to 2.4.0
 - Remove unused tracing code (``traceTree``)
 - Add support for ``match`` statement
 - Detect ``typing`` module attributes when imported with ``import ... as ...``
- %check: use %pyunittest rpm macro

OBS-URL: https://build.opensuse.org/request/show/928976
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=55
2021-11-03 12:35:45 +00:00
da4ff236f4 - update to 2.3.1:
- Fix regression in 2.3.0: type annotations no longer redefine imports

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=53
2021-05-09 14:46:00 +00:00
b8a80d80ad Accepting request 879526 from home:jayvdb:flake8
- Update to v2.3.0

OBS-URL: https://build.opensuse.org/request/show/879526
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=51
2021-03-18 08:07:23 +00:00
Tomáš Chvátal
467d977ac1 Accepting request 797223 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/797223
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=49
2020-04-24 17:31:32 +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
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
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
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