Skip to content

Commit

Permalink
Updated changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
hakonhagland committed Sep 20, 2023
1 parent 8925ace commit ac5155c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ repos:
- id: rst
name: rst
entry: rst-lint --encoding utf-8
files: ^(CHANGELOG.rst|HOWTORELEASE.rst|README.rst)$
files: ^(HOWTORELEASE.rst|README.rst)$
language: python
additional_dependencies: [pygments, restructuredtext_lint]
18 changes: 18 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
4.3.0 (2023-09-20)
------------------

- ``qapp`` now sets up the ``QApplication`` instance with a command line argument like this
``QApplication([prog_name])`` instead of using an empty list ``QApplication([])``.
Here ``prog_name`` is the name of the app which defaults to ``pytest-qt-app``, but can
be redefined in the ``pytest.ini`` file, see :ref:`qapp fixture<setting-qapp-name>`.
Alternatively, the arguments that will be passed to ``QApplication`` can be defined
explicitly using the ``qapp_args`` fixture. This means that the default behavior of
the ``qapp_args`` fixture is now also changed accordingly: it now returns the list
``[prog_name]`` instead of an empty list. Thanks to `@The-Compiler`_ (`#483`_) and
`@hakonhagland`_ (`#515`_).

.. _#515: https://github.com/pytest-dev/pytest-qt/pull/515
.. _#483: https://github.com/pytest-dev/pytest-qt/issues/483


4.2.0 (2022-10-25)
------------------

Expand Down Expand Up @@ -731,6 +748,7 @@ First working version.
.. _@fabioz: https://github.com/fabioz
.. _@fogo: https://github.com/fogo
.. _@gqmelo: https://github.com/gqmelo
.. _@hakonhagland: https://github.com/hakonhagland
.. _@itghisi: https://github.com/itghisi
.. _@jdreaver: https://github.com/jdreaver
.. _@mitya57: https://github.com/mitya57
Expand Down

0 comments on commit ac5155c

Please sign in to comment.