14 Commits

Author SHA256 Message Date
Dominique Leuenberger
3cbff120fd Accepting request 731444 from devel:languages:python
- Update integration-tests-invocation.patch to match PR submitted
  upstream, including an additional use of sys.executable in tests,
  and move disabling of problematic fixture to the .spec
- Update to v4.0.1
  * D401: Fixed a false positive where one stem had multiple
    imperative forms, e.g., init and initialize / initiate
  * Fix parser hanging when there's a comment directly after ``__all__``
  * Fixed RST error in table which resulted in the online
    documentation missing the violation code table
  * Fixed IndentationError when parsing function arguments
- from v4.0.0
  * Support for Python 2.x and PyPy has been dropped
  * Added initial support for Google convention
  * Added pre-commit hook (#346)
  * Fix parsing tuple syntax ``__all__`` (#355, #352).

OBS-URL: https://build.opensuse.org/request/show/731444
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pydocstyle?expand=0&rev=6
2019-09-23 10:18:42 +00:00
Tomáš Chvátal
900d9ae49f - Add patch for sys-executable to not call python directly:
* sys-exec.patch
- Refresh integration-tests-invocation.patch

- Update to 4.0.1:
  * various bugfixes all around

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydocstyle?expand=0&rev=13
2019-09-17 09:02:45 +00:00
Tomáš Chvátal
4991c37f73 Accepting request 731067 from home:jayvdb:py3only
- Update integration-tests-invocation.patch to match PR submitted
  upstream, including an additional use of sys.executable in tests,
  and move disabling of problematic fixture to the .spec
- Update to v4.0.1
  * D401: Fixed a false positive where one stem had multiple
    imperative forms, e.g., init and initialize / initiate
  * Fix parser hanging when there's a comment directly after ``__all__``
  * Fixed RST error in table which resulted in the online
    documentation missing the violation code table
  * Fixed IndentationError when parsing function arguments
- from v4.0.0
  * Support for Python 2.x and PyPy has been dropped
  * Added initial support for Google convention
  * Added pre-commit hook (#346)
  * Fix parsing tuple syntax ``__all__`` (#355, #352).

OBS-URL: https://build.opensuse.org/request/show/731067
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydocstyle?expand=0&rev=12
2019-09-16 07:34:48 +00:00
Dominique Leuenberger
4e5f8cf2f1 Accepting request 681665 from devel:languages:python
- Fix the changelog whitespace mess

- Fix %check to run the tests from GitHub tarball, and use
  integration-tests-invocation.patch to invoke pycodestyle using
  sys.executable, and do not install and uninstall pip during tests.
- Fix line endings and remove hashbangs
- Update to v3.0.0
  + Major Updates
    * Support for Python 3.3 has been dropped
    * Added support for Python 3.7
  + New features
    * Violations are now reported on the line where the docstring starts, not
      the line of the def/class it corresponds to
    * Updated description of pep257 and numpy conventions
    * __all__ parsing is now done on a best-effort basis - if __all__ can't
      be statically determined, it will be ignored
  + Bug Fixes
    * Fixed a false-positive recognition of section names causing D405 to be
      reported
    * Fixed a bug where functions that don't end with a newline will sometimes
      raise an exception
- Set six minimum version to v1.10.0

OBS-URL: https://build.opensuse.org/request/show/681665
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pydocstyle?expand=0&rev=5
2019-03-08 10:00:14 +00:00
Tomáš Chvátal
109776d53e - Fix the changelog whitespace mess
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydocstyle?expand=0&rev=10
2019-03-05 09:59:57 +00:00
Tomáš Chvátal
e59f9a72fb Accepting request 681588 from home:jayvdb:coala:python3-bears
- Fix %check to run the tests from GitHub tarball, and use integration-tests-invocation.patch to invoke pycodestyle using sys.executable, and do not install and uninstall pip during tests.
- Fix line endings and remove hashbangs
- Update to v3.0.0, including support for Python 3.7

OBS-URL: https://build.opensuse.org/request/show/681588
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydocstyle?expand=0&rev=9
2019-03-05 09:59:08 +00:00
Stephan Kulow
e2ac67c906 Accepting request 680462 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/680462
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pydocstyle?expand=0&rev=4
2019-03-01 19:32:23 +00:00
Tomáš Chvátal
19aa9a01b1 Accepting request 680461 from home:frispete:python
- don't run tests, if they're disabled from build conditional

OBS-URL: https://build.opensuse.org/request/show/680461
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydocstyle?expand=0&rev=7
2019-03-01 11:16:57 +00:00
Dominique Leuenberger
a162a2774e Accepting request 667867 from devel:languages:python
- Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/667867
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pydocstyle?expand=0&rev=3
2019-01-24 13:14:16 +00:00
dc573517f3 Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydocstyle?expand=0&rev=5
2018-12-04 13:50:19 +00:00
Yuchen Lin
759c6a0291 Accepting request 614993 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/614993
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pydocstyle?expand=0&rev=2
2018-06-13 13:36:28 +00:00
Todd R
df450c47af Accepting request 614992 from home:TheBlackCat:branches:devel:languages:python
- Add missing dependency.
- Attempt to import as a basic test.

OBS-URL: https://build.opensuse.org/request/show/614992
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydocstyle?expand=0&rev=3
2018-06-07 16:10:05 +00:00
Dominique Leuenberger
ec5e1a8c7c Accepting request 605974 from devel:languages:python
Docstring format checker for python

OBS-URL: https://build.opensuse.org/request/show/605974
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pydocstyle?expand=0&rev=1
2018-05-15 08:12:25 +00:00
Todd R
c33bf66032 Accepting request 605973 from devel:languages:python:misc
Docstring format checker for python

OBS-URL: https://build.opensuse.org/request/show/605973
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydocstyle?expand=0&rev=1
2018-05-09 23:49:05 +00:00