<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/gitlab.git/tests/meta, branch refactor/python-build-pep621</title>
<subtitle>github.com: gpocentek/python-gitlab.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitlab.git/'/>
<entry>
<title>chore(build): use pypa build and consolidate meta tests</title>
<updated>2022-08-05T21:54:35+00:00</updated>
<author>
<name>Nejc Habjan</name>
<email>nejc.habjan@siemens.com</email>
</author>
<published>2022-08-05T21:54:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitlab.git/commit/?id=297d77dde2105912a1f465561cc71e39e95813a1'/>
<id>297d77dde2105912a1f465561cc71e39e95813a1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>chore: make code PEP597 compliant</title>
<updated>2022-07-29T05:11:19+00:00</updated>
<author>
<name>John L. Villalovos</name>
<email>john@sodarock.com</email>
</author>
<published>2022-07-29T05:11:19+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitlab.git/commit/?id=433dba02e0d4462ae84a73d8699fe7f3e07aa410'/>
<id>433dba02e0d4462ae84a73d8699fe7f3e07aa410</id>
<content type='text'>
Use `encoding="utf-8"` in `open()` and open-like functions.

https://peps.python.org/pep-0597/
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use `encoding="utf-8"` in `open()` and open-like functions.

https://peps.python.org/pep-0597/
</pre>
</div>
</content>
</entry>
<entry>
<title>chore: fix misspelling</title>
<updated>2022-06-28T03:43:29+00:00</updated>
<author>
<name>John L. Villalovos</name>
<email>john@sodarock.com</email>
</author>
<published>2022-06-28T03:43:29+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitlab.git/commit/?id=2d08fc89fb67de25ad41f64c86a9b8e96e4c261a'/>
<id>2d08fc89fb67de25ad41f64c86a9b8e96e4c261a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: remove no-op id argument in GetWithoutIdMixin</title>
<updated>2022-06-26T01:23:48+00:00</updated>
<author>
<name>Nejc Habjan</name>
<email>nejc.habjan@siemens.com</email>
</author>
<published>2022-05-30T20:58:12+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitlab.git/commit/?id=0f2a602d3a9d6579f5fdfdf945a236ae44e93a12'/>
<id>0f2a602d3a9d6579f5fdfdf945a236ae44e93a12</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>chore: update type-hints return signature for GetWithoutIdMixin methods</title>
<updated>2022-05-30T17:09:43+00:00</updated>
<author>
<name>John L. Villalovos</name>
<email>john@sodarock.com</email>
</author>
<published>2022-05-30T17:09:43+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitlab.git/commit/?id=aa972d49c57f2ebc983d2de1cfb8d18924af6734'/>
<id>aa972d49c57f2ebc983d2de1cfb8d18924af6734</id>
<content type='text'>
Commit f0152dc3cc9a42aa4dc3c0014b4c29381e9b39d6 removed situation
where `get()` in a `GetWithoutIdMixin` based class could return `None`

Update the type-hints to no longer return `Optional` AKA `None`
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit f0152dc3cc9a42aa4dc3c0014b4c29381e9b39d6 removed situation
where `get()` in a `GetWithoutIdMixin` based class could return `None`

Update the type-hints to no longer return `Optional` AKA `None`
</pre>
</div>
</content>
</entry>
<entry>
<title>chore: remove old-style classes</title>
<updated>2022-01-23T15:14:49+00:00</updated>
<author>
<name>Nejc Habjan</name>
<email>nejc.habjan@siemens.com</email>
</author>
<published>2022-01-22T03:04:38+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitlab.git/commit/?id=ae2a015db1017d3bf9b5f1c5893727da9b0c937f'/>
<id>ae2a015db1017d3bf9b5f1c5893727da9b0c937f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>test: add a meta test to make sure that v4/objects/ files are imported</title>
<updated>2022-01-22T18:56:19+00:00</updated>
<author>
<name>John L. Villalovos</name>
<email>john@sodarock.com</email>
</author>
<published>2022-01-22T18:56:19+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitlab.git/commit/?id=9c8c8043e6d1d9fadb9f10d47d7f4799ab904e9c'/>
<id>9c8c8043e6d1d9fadb9f10d47d7f4799ab904e9c</id>
<content type='text'>
Add a test to make sure that all of the `gitlab/v4/objects/` files are
imported in `gitlab/v4/objects/__init__.py`
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a test to make sure that all of the `gitlab/v4/objects/` files are
imported in `gitlab/v4/objects/__init__.py`
</pre>
</div>
</content>
</entry>
<entry>
<title>chore: add get() methods for GetWithoutIdMixin based classes</title>
<updated>2021-12-08T15:36:35+00:00</updated>
<author>
<name>John L. Villalovos</name>
<email>john@sodarock.com</email>
</author>
<published>2021-12-02T00:04:16+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitlab.git/commit/?id=d27c50ab9d55dd715a7bee5b0c61317f8565c8bf'/>
<id>d27c50ab9d55dd715a7bee5b0c61317f8565c8bf</id>
<content type='text'>
Add the get() methods for the GetWithoutIdMixin based classes.

Update the tests/meta/test_ensure_type_hints.py tests to check to
ensure that the get methods are defined with the correct return type.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add the get() methods for the GetWithoutIdMixin based classes.

Update the tests/meta/test_ensure_type_hints.py tests to check to
ensure that the get methods are defined with the correct return type.
</pre>
</div>
</content>
</entry>
<entry>
<title>chore: remove duplicate/no-op tests from meta/test_ensure_type_hints</title>
<updated>2021-11-24T20:48:56+00:00</updated>
<author>
<name>John L. Villalovos</name>
<email>john@sodarock.com</email>
</author>
<published>2021-11-24T18:37:13+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitlab.git/commit/?id=a2f59f4e3146b8871a9a1d66ee84295b44321ecb'/>
<id>a2f59f4e3146b8871a9a1d66ee84295b44321ecb</id>
<content type='text'>
Before we were generating 725 tests for the
meta/test_ensure_type_hints.py tests.  Which isn't a huge concern as
it was fairly fast. But when we had a failure we would usually get two
failures for each problem as the same test was being run multiple
times.

Changed it so that:
  1. Don't add tests that are not for *Manager classes
  2. Use a set so that we don't have duplicate tests.

After doing that our generated test count in
meta/test_ensure_type_hints.py went from 725 to 178 tests.

Additionally removed the parsing of `pyproject.toml` to generate files
to ignore as we have finished adding type-hints to all files in
gitlab/v4/objects/. This also means we no longer use the toml library
so remove installation of `types-toml`.

To determine the test count the following command was run:
  $ tox -e py39 -- -k test_ensure_type_hints
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Before we were generating 725 tests for the
meta/test_ensure_type_hints.py tests.  Which isn't a huge concern as
it was fairly fast. But when we had a failure we would usually get two
failures for each problem as the same test was being run multiple
times.

Changed it so that:
  1. Don't add tests that are not for *Manager classes
  2. Use a set so that we don't have duplicate tests.

After doing that our generated test count in
meta/test_ensure_type_hints.py went from 725 to 178 tests.

Additionally removed the parsing of `pyproject.toml` to generate files
to ignore as we have finished adding type-hints to all files in
gitlab/v4/objects/. This also means we no longer use the toml library
so remove installation of `types-toml`.

To determine the test count the following command was run:
  $ tox -e py39 -- -k test_ensure_type_hints
</pre>
</div>
</content>
</entry>
<entry>
<title>chore: enable mypy for tests/meta/*</title>
<updated>2021-11-16T22:59:20+00:00</updated>
<author>
<name>John L. Villalovos</name>
<email>john@sodarock.com</email>
</author>
<published>2021-11-16T22:53:11+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitlab.git/commit/?id=ba7707f6161463260710bd2b109b172fd63472a1'/>
<id>ba7707f6161463260710bd2b109b172fd63472a1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
