Accepting request 595497 from home:apersaud:branches:devel:languages:python
update to latest version OBS-URL: https://build.opensuse.org/request/show/595497 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycodestyle?expand=0&rev=5
This commit is contained in:
parent
67f19c64e4
commit
3952b8659f
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:682256a5b318149ca0d2a9185d365d8864a768a28db66a84a2ea946bcc426766
|
|
||||||
size 89460
|
|
3
pycodestyle-2.4.0.tar.gz
Normal file
3
pycodestyle-2.4.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:cbfca99bd594a10f674d0cd97a3d802a1fdef635d4361e1a2658de47ed261e3a
|
||||||
|
size 96665
|
@ -1,3 +1,52 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 11 06:33:20 UTC 2018 - arun@gmx.de
|
||||||
|
|
||||||
|
- specfile:
|
||||||
|
* update copyright year
|
||||||
|
* add README and LICENSE
|
||||||
|
|
||||||
|
- update to version 2.4.0:
|
||||||
|
* New checks:
|
||||||
|
+ Add W504 warning for checking that a break doesn’t happen after
|
||||||
|
a binary operator. This check is ignored by default. PR #502.
|
||||||
|
+ Add W605 warning for invalid escape sequences in string
|
||||||
|
literals. PR #676.
|
||||||
|
+ Add W606 warning for ‘async’ and ‘await’ reserved keywords being
|
||||||
|
introduced in Python 3.7. PR #684.
|
||||||
|
+ Add E252 error for missing whitespace around equal sign in type
|
||||||
|
annotated function arguments with defaults values. PR #717.
|
||||||
|
* Changes:
|
||||||
|
+ An internal bisect search has replaced a linear search in order
|
||||||
|
to improve efficiency. PR #648.
|
||||||
|
+ pycodestyle now uses PyPI trove classifiers in order to document
|
||||||
|
supported python versions on PyPI. PR #654.
|
||||||
|
+ ‘setup.cfg’ ‘[wheel]’ section has been renamed to
|
||||||
|
‘[bdist_wheel]’, as the former is legacy. PR #653.
|
||||||
|
+ pycodestyle now handles very long lines much more efficiently
|
||||||
|
for python 3.2+. Fixes #643. PR #644.
|
||||||
|
+ You can now write ‘pycodestyle.StyleGuide(verbose=True)’ instead
|
||||||
|
of ‘pycodestyle.StyleGuide(verbose=True, paths=[‘-v’])’ in order
|
||||||
|
to achieve verbosity. PR #663.
|
||||||
|
+ The distribution of pycodestyle now includes the license text in
|
||||||
|
order to comply with open source licenses which require this. PR
|
||||||
|
#694.
|
||||||
|
+ ‘maximum_line_length’ now ignores shebang (‘#!’) lines. PR #736.
|
||||||
|
+ Add configuration option for the allowed number of blank
|
||||||
|
lines. It is implemented as a top level dictionary which can be
|
||||||
|
easily overwritten. Fixes #732. PR #733.
|
||||||
|
* Bugs:
|
||||||
|
+ Prevent a ‘DeprecationWarning’, and a ‘SyntaxError’ in future
|
||||||
|
python, caused by an invalid escape sequence. PR #625.
|
||||||
|
+ Correctly report E501 when the first line of a docstring is too
|
||||||
|
long. Resolves #622. PR #630.
|
||||||
|
+ Support variable annotation when variable start by a keyword,
|
||||||
|
such as class variable type annotations in python 3.6. PR #640.
|
||||||
|
+ pycodestyle internals have been changed in order to allow
|
||||||
|
‘python3 -m cProfile’ to report correct metrics. PR #647.
|
||||||
|
+ Fix a spelling mistake in the description of E722. PR #697.
|
||||||
|
+ ‘pycodestyle –diff’ now does not break if your ‘gitconfig’
|
||||||
|
enables ‘mnemonicprefix’. PR #706.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat May 6 03:31:54 UTC 2017 - toddrme2178@gmail.com
|
Sat May 6 03:31:54 UTC 2017 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pycodestyle
|
# spec file for package python-pycodestyle
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -20,7 +20,7 @@
|
|||||||
%define oldpython python
|
%define oldpython python
|
||||||
%bcond_without test
|
%bcond_without test
|
||||||
Name: python-pycodestyle
|
Name: python-pycodestyle
|
||||||
Version: 2.3.1
|
Version: 2.4.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python style guide checker
|
Summary: Python style guide checker
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -30,7 +30,6 @@ Source: https://files.pythonhosted.org/packages/source/p/pycodestyle/pyc
|
|||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%ifpython2
|
%ifpython2
|
||||||
Provides: %{oldpython}-pep8 = %{version}
|
Provides: %{oldpython}-pep8 = %{version}
|
||||||
@ -40,7 +39,6 @@ Obsoletes: %{oldpython}-pep8 < %{version}
|
|||||||
Provides: python3-pep8 = %{version}
|
Provides: python3-pep8 = %{version}
|
||||||
Obsoletes: python3-pep8 < %{version}
|
Obsoletes: python3-pep8 < %{version}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -62,7 +60,6 @@ Features
|
|||||||
|
|
||||||
* Comes with a comprehensive test suite.
|
* Comes with a comprehensive test suite.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n pycodestyle-%{version}
|
%setup -q -n pycodestyle-%{version}
|
||||||
sed -ri '1s/^#!.*//' pycodestyle.py
|
sed -ri '1s/^#!.*//' pycodestyle.py
|
||||||
@ -76,7 +73,8 @@ sed -ri '1s/^#!.*//' pycodestyle.py
|
|||||||
ln -sf pycodestyle-%{python3_bin_suffix} %{buildroot}%{_bindir}/pycodestyle
|
ln -sf pycodestyle-%{python3_bin_suffix} %{buildroot}%{_bindir}/pycodestyle
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%license LICENSE
|
||||||
|
%doc README.rst
|
||||||
%python3_only %{_bindir}/pycodestyle
|
%python3_only %{_bindir}/pycodestyle
|
||||||
%{_bindir}/pycodestyle-%{python_bin_suffix}
|
%{_bindir}/pycodestyle-%{python_bin_suffix}
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user