Skip to content

Commit

Permalink
Merge branch 'master' into 305-handling-of-constructors
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanlatr authored Sep 28, 2023
2 parents 34d7bb3 + f03223c commit fe08559
Show file tree
Hide file tree
Showing 12 changed files with 620 additions and 224 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/system.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,9 @@ jobs:
- uses: actions/checkout@v2

- name: Set up CPython
if: ${{ matrix.tox_target == 'python-igraph-apidocs' }}
uses: actions/setup-python@v2
with:
python-version: '3.8'

- name: Set up PyPy
if: ${{ matrix.tox_target != 'python-igraph-apidocs' }}
uses: actions/setup-python@v2
with:
python-version: 'pypy-3.6'
python-version: '3.11'

- name: Install tox
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
tox -e test
- name: Run unit tests with latest Twisted version
if: matrix.python-version != '3.6' && matrix.python-version != 'pypy-3.6'
if: matrix.python-version != '3.7' && matrix.python-version != '3.6' && matrix.python-version != 'pypy-3.6'
run: |
tox -e test-latest-twisted
Expand Down
27 changes: 21 additions & 6 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,24 +76,39 @@ What's New?
in development
^^^^^^^^^^^^^^

* Better ``attrs`` support: generate precise ``__init__`` method from analyzed fields, supports
principal ``attrs`` idioms:
- ``attr.s(auto_attribs, kw_only, auto_detect, init)``/``attrs.define(...)``
- ``attr.ib(init, default, factory, converter, type, kw_only)``/``attrs.field(...)``
- ``attr.Factory(list)``
It does not support the decorators based syntax for setting the validator/factory/default or converter.

pydoctor 23.9.0
^^^^^^^^^^^^^^^

This is the last major release to support Python 3.6.

* Do not show `**kwargs` when keywords are specifically documented with the `keyword` field
and no specific documentation is given for the `**kwargs` entry.
* Fix annotation resolution edge cases: names are resolved in the context of the module
scope when possible, when impossible, the theoretical runtime scopes are used. A warning can
be reported when an annotation name is ambiguous (can be resolved to different names
depending on the scope context) with option ``-v``.
* Ensure that explicit annotation are honored when there are multiple declarations of the same name.
* Use stricter verification before marking an attribute as constant:
- instance variables are never marked as constant
- a variable that has several definitions will not be marked as constant
- a variable declaration under any kind of control flow block will not be marked as constant
* Do not trigger warnings when pydoctor cannot make sense of a potential constant attribute
(pydoctor is not a static checker).
* Fix presentation of type aliases in string form.
* Improve the AST colorizer to output less parenthesis when it's not required.
* Fix colorization of dictionary unpacking.
* Improve the class hierarchy such that it links top level names with intersphinx when possible.
* Add highlighting when clicking on "View In Hierarchy" link from class page.
* Recognize variadic generics type variables (PEP 646).
* Better ``attrs`` support: generate precise ``__init__`` method from analyzed fields, supports
principal ``attrs`` idioms:
- ``attr.s(auto_attribs, kw_only, auto_detect, init)``/``attrs.define(...)``
- ``attr.ib(init, default, factory, converter, type, kw_only)``/``attrs.field(...)``
- ``attr.Factory(list)``
It does not support the decorators based syntax for setting the validator/factory/default or converter.
* Fix support for introspection of cython3 generated modules.
* Instance variables are marked as such across subclasses.

pydoctor 23.4.1
^^^^^^^^^^^^^^^
Expand Down
Loading

0 comments on commit fe08559

Please sign in to comment.