34 Commits

Author SHA256 Message Date
Ana Guerrero
21186e1573 Accepting request 1142695 from devel:languages:python
- Skip two broken tests with Python 3.12.

OBS-URL: https://build.opensuse.org/request/show/1142695
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pydocstyle?expand=0&rev=16
2024-01-30 17:26:05 +00:00
Steve Kowalik
af065dce8f - Skip two broken tests with Python 3.12.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydocstyle?expand=0&rev=33
2024-01-30 01:03:55 +00:00
Dominique Leuenberger
f6ea903f9f Accepting request 1093045 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1093045
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pydocstyle?expand=0&rev=15
2023-06-14 14:30:24 +00:00
49d204a9f2 Accepting request 1092802 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1092802
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydocstyle?expand=0&rev=31
2023-06-14 06:34:27 +00:00
Dominique Leuenberger
ff25027f61 Accepting request 1059820 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1059820
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pydocstyle?expand=0&rev=14
2023-01-20 16:38:33 +00:00
b493369ffb Accepting request 1059533 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 6.3.0
  * Add ignore-self-only-init option by @thejcannon in #560
- Release 6.2.3
  * Fix decorator parsing for async functions by @cdce8p in #577
  * fix: do not pass file names with pre-commit by @yajo in #610
- Release 6.2.2
  * Fix false positive of google convention missing args
    descriptions by @stinovlas in #619
- Release 6.2.1
  * Add https protocol on websites at the README.rst by @realFranco
    in #611
  * Use tomllib/tomli for reading .toml configs by @mgorny in #608
- Release 6.2.0
  * Exempt properties from D401 by @TomFryers in #546
  * Add support for Python 3.10 by @hugovk in #554
  * Add D419: Add and switch to "Docstring is empty" error code by
    @thejcannon in #559
  * Allow for hanging indent when documenting args in Google style
    by @rmorshea in #564
  * Fix match option to only consider basename when given a path
    argument by @oczkoisse in #550
- Drop integration-tests-invocation.patch

OBS-URL: https://build.opensuse.org/request/show/1059533
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydocstyle?expand=0&rev=29
2023-01-19 16:01:53 +00:00
Dominique Leuenberger
d799c06e92 Accepting request 989318 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/989318
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pydocstyle?expand=0&rev=13
2022-08-08 06:44:46 +00:00
b2f5ae9404 Accepting request 989230 from home:bnavigator:branches:devel:languages:python
- Remove old pathlib extra package build requirement. It is
  included in the stdlib since Python 3.4

OBS-URL: https://build.opensuse.org/request/show/989230
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydocstyle?expand=0&rev=27
2022-07-15 06:49:48 +00:00
Dominique Leuenberger
fdb949bf86 Accepting request 969584 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/969584
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pydocstyle?expand=0&rev=12
2022-04-15 22:13:43 +00:00
202e024540 Accepting request 969573 from home:bnavigator:branches:devel:languages:python
- Tests require the extra dependency toml which is not pulled in
  automatically by pytest anymore

OBS-URL: https://build.opensuse.org/request/show/969573
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydocstyle?expand=0&rev=25
2022-04-12 23:10:24 +00:00
Dominique Leuenberger
0bd1885469 Accepting request 967525 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/967525
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pydocstyle?expand=0&rev=11
2022-04-08 23:43:54 +00:00
d5f65186eb Accepting request 967469 from home:pgajdos:python
- python-mock is not required for build

OBS-URL: https://build.opensuse.org/request/show/967469
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydocstyle?expand=0&rev=23
2022-04-07 14:49:35 +00:00
Dominique Leuenberger
adc64061f2 Accepting request 965073 from devel:languages:python
- update 6.1.1:
  * Split ``--source`` by lines instead of by characters (#536).
  * Enable full toml configuration and pyproject.toml (#534).
  * Support for Python 3.5 has been dropped (#510).
  * Add flag to disable `# noqa` comment processing in API (#485).
  * Methods, Functions and Nested functions that have a docstring now throw D418 (#511).
  * Methods decorated with @overload no longer reported as D102 (#511).
  * Functions and nested functions decorated with @overload no longer reported as D103 (#511).
  * Treat "package" as an imperative verb for D401 (#356).
  * Fix the parsing of decorated one line functions (#499).
  * Methods, Functions and Nested functions that have a docstring now throw D418 (#511).
  * Methods decorated with @overload no longer reported as D102.
  * Functions and nested functions decorated with @overload no longer reported as D103.

OBS-URL: https://build.opensuse.org/request/show/965073
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pydocstyle?expand=0&rev=10
2022-03-29 16:13:52 +00:00
3bcceb882f - update 6.1.1:
* Split ``--source`` by lines instead of by characters (#536).
  * Enable full toml configuration and pyproject.toml (#534).
  * Support for Python 3.5 has been dropped (#510).
  * Add flag to disable `# noqa` comment processing in API (#485).
  * Methods, Functions and Nested functions that have a docstring now throw D418 (#511).
  * Methods decorated with @overload no longer reported as D102 (#511).
  * Functions and nested functions decorated with @overload no longer reported as D103 (#511).
  * Treat "package" as an imperative verb for D401 (#356).
  * Fix the parsing of decorated one line functions (#499).
  * Methods, Functions and Nested functions that have a docstring now throw D418 (#511).
  * Methods decorated with @overload no longer reported as D102.
  * Functions and nested functions decorated with @overload no longer reported as D103.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydocstyle?expand=0&rev=21
2022-03-26 18:59:42 +00:00
Dominique Leuenberger
8f4a0a5d9a Accepting request 841138 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/841138
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pydocstyle?expand=0&rev=9
2020-10-29 08:47:24 +00:00
Tomáš Chvátal
42d86c1ba4 Accepting request 840886 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/840886
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydocstyle?expand=0&rev=19
2020-10-12 06:56:21 +00:00
Yuchen Lin
5c61bd9685 Accepting request 807658 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/807658
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pydocstyle?expand=0&rev=8
2020-05-28 07:08:15 +00:00
Tomáš Chvátal
a065420d7d Accepting request 807611 from home:pgajdos:python
submit

OBS-URL: https://build.opensuse.org/request/show/807611
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydocstyle?expand=0&rev=17
2020-05-20 11:28:58 +00:00
Oliver Kurz
34dba63de1 Accepting request 772544 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/772544
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pydocstyle?expand=0&rev=7
2020-02-14 15:25:17 +00:00
Tomáš Chvátal
fd3d19f395 Accepting request 772525 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/772525
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydocstyle?expand=0&rev=15
2020-02-09 19:59:23 +00:00
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