17 Commits

Author SHA256 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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