<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/rdflib.git/test/test_namespace/test_namespace.py, branch main</title>
<subtitle>github.com: rdflib/rdflib.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/rdflib.git/'/>
<entry>
<title>test: Eliminate flake8 errors in tests (#2353)</title>
<updated>2023-04-14T19:26:10+00:00</updated>
<author>
<name>Iwan Aucamp</name>
<email>aucampia@gmail.com</email>
</author>
<published>2023-04-14T19:26:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/rdflib.git/commit/?id=cbd61510ec581aee262bc2bb8ad95d94f7784842'/>
<id>cbd61510ec581aee262bc2bb8ad95d94f7784842</id>
<content type='text'>
Eliminate some occurrences of the following flake8 errors in tests:

* E265 block comment should start with '# '
* E266 too many leading '#' for block comment
* E402 module level import not at top of file
* E712 comparison to False should be 'if cond is False:' or 'if not cond:'
* E712 comparison to True should be 'if cond is True:' or 'if cond:'
* E722 do not use bare 'except'
* F401 ... imported but unused
* F403 ... used; unable to detect undefined names
* F405 ... may be undefined, or defined from star imports: ...
* F541 f-string is missing placeholders
* F841 local variable 'result' is assigned to but never used
* N806 variable 'TEST_DIR' in function should be lowercase

This is pursuant to eliminating
[flakeheaven](https://github.com/flakeheaven/flakeheaven), as it no longer
supports the latest version of flake8
[[ref](https://github.com/flakeheaven/flakeheaven/issues/132)].</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Eliminate some occurrences of the following flake8 errors in tests:

* E265 block comment should start with '# '
* E266 too many leading '#' for block comment
* E402 module level import not at top of file
* E712 comparison to False should be 'if cond is False:' or 'if not cond:'
* E712 comparison to True should be 'if cond is True:' or 'if cond:'
* E722 do not use bare 'except'
* F401 ... imported but unused
* F403 ... used; unable to detect undefined names
* F405 ... may be undefined, or defined from star imports: ...
* F541 f-string is missing placeholders
* F841 local variable 'result' is assigned to but never used
* N806 variable 'TEST_DIR' in function should be lowercase

This is pursuant to eliminating
[flakeheaven](https://github.com/flakeheaven/flakeheaven), as it no longer
supports the latest version of flake8
[[ref](https://github.com/flakeheaven/flakeheaven/issues/132)].</pre>
</div>
</content>
</entry>
<entry>
<title>fix: correct imports and `__all__` (#2340)</title>
<updated>2023-04-12T20:10:43+00:00</updated>
<author>
<name>Iwan Aucamp</name>
<email>aucampia@gmail.com</email>
</author>
<published>2023-04-12T20:10:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/rdflib.git/commit/?id=7df77cd3fa0381ae2b309981230eaa0d42e90b79'/>
<id>7df77cd3fa0381ae2b309981230eaa0d42e90b79</id>
<content type='text'>
Disable
[`implicit_reexport`](https://mypy.readthedocs.io/en/stable/config_file.html#confval-implicit_reexport)
and eliminate all errors reported by mypy after this.

This helps ensure that import statements import from the right module and that
the `__all__` variable is correct.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Disable
[`implicit_reexport`](https://mypy.readthedocs.io/en/stable/config_file.html#confval-implicit_reexport)
and eliminate all errors reported by mypy after this.

This helps ensure that import statements import from the right module and that
the `__all__` variable is correct.</pre>
</div>
</content>
</entry>
<entry>
<title>test: convert `test/test_namespace/test_namespace.py` to pytest (#2060)</title>
<updated>2022-07-29T20:37:05+00:00</updated>
<author>
<name>Iwan Aucamp</name>
<email>aucampia@gmail.com</email>
</author>
<published>2022-07-29T20:37:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/rdflib.git/commit/?id=786431127eb996bede764d2ba62b3a8b472bd78b'/>
<id>786431127eb996bede764d2ba62b3a8b472bd78b</id>
<content type='text'>
Convert the remaining unittest based classes to pytest.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Convert the remaining unittest based classes to pytest.</pre>
</div>
</content>
</entry>
<entry>
<title>More type hints for `rdflib.graph` and related (#1853)</title>
<updated>2022-05-26T11:55:31+00:00</updated>
<author>
<name>Iwan Aucamp</name>
<email>aucampia@gmail.com</email>
</author>
<published>2022-05-26T11:55:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/rdflib.git/commit/?id=21e737dc25baa2b11a83355420348250607bb8c7'/>
<id>21e737dc25baa2b11a83355420348250607bb8c7</id>
<content type='text'>
This patch primarily adds more type hints for `rdflib.graph`, but also
adds type hints to some related modules in order to work with the new
type hints for `rdflib.graph`.

I'm mainly doing this as a baseline for adding type hints to
`rdflib.store`.

I have created type aliases to make it easier to type everything
consistently and to make type hints easier easier to change in the
future. The type aliases are private however (i.e. `_`-prefixed) and
should be kept as such for now.

This patch only contains typing changes and does not change runtime
behavior.

Broken off from https://github.com/RDFLib/rdflib/pull/1850</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch primarily adds more type hints for `rdflib.graph`, but also
adds type hints to some related modules in order to work with the new
type hints for `rdflib.graph`.

I'm mainly doing this as a baseline for adding type hints to
`rdflib.store`.

I have created type aliases to make it easier to type everything
consistently and to make type hints easier easier to change in the
future. The type aliases are private however (i.e. `_`-prefixed) and
should be kept as such for now.

This patch only contains typing changes and does not change runtime
behavior.

Broken off from https://github.com/RDFLib/rdflib/pull/1850</pre>
</div>
</content>
</entry>
<entry>
<title>test: fix `None` comparisons (#1963)</title>
<updated>2022-05-21T21:18:54+00:00</updated>
<author>
<name>Iwan Aucamp</name>
<email>aucampia@gmail.com</email>
</author>
<published>2022-05-21T21:18:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/rdflib.git/commit/?id=90ccb4fbf12c720ec3856dcd4e413582a1ae3532'/>
<id>90ccb4fbf12c720ec3856dcd4e413582a1ae3532</id>
<content type='text'>
`flake8` will eventually complain about this when the `flakeheaven` baseline
is invalidated.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`flake8` will eventually complain about this when the `flakeheaven` baseline
is invalidated.</pre>
</div>
</content>
</entry>
<entry>
<title>test: remove unused imports in test code</title>
<updated>2022-05-16T22:38:56+00:00</updated>
<author>
<name>Iwan Aucamp</name>
<email>aucampia@gmail.com</email>
</author>
<published>2022-05-16T18:44:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/rdflib.git/commit/?id=5a0c55959ea13f29407f4d265fa4d5ffef89c37e'/>
<id>5a0c55959ea13f29407f4d265fa4d5ffef89c37e</id>
<content type='text'>
This patch removes unused imports in test code. This is mainly to remove
the potential snag for flake8/flakeheaven.

The actual cleanup was done with `pycln --all test`.

Also:
 - Remove superflous `pass` statements.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch removes unused imports in test code. This is mainly to remove
the potential snag for flake8/flakeheaven.

The actual cleanup was done with `pycln --all test`.

Also:
 - Remove superflous `pass` statements.
</pre>
</div>
</content>
</entry>
<entry>
<title>re-re-blacked</title>
<updated>2022-04-26T23:36:46+00:00</updated>
<author>
<name>Graham Higgins</name>
<email>gjh@bel-epa.com</email>
</author>
<published>2022-04-26T23:36:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/rdflib.git/commit/?id=2aa449c98acc11cdfa4365383a3c9b3afb579ea2'/>
<id>2aa449c98acc11cdfa4365383a3c9b3afb579ea2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix muffed merge</title>
<updated>2022-04-26T23:34:44+00:00</updated>
<author>
<name>Graham Higgins</name>
<email>gjh@bel-epa.com</email>
</author>
<published>2022-04-26T23:34:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/rdflib.git/commit/?id=d61c5503cba3d4316f07c410d9403ee53ffc0a8d'/>
<id>d61c5503cba3d4316f07c410d9403ee53ffc0a8d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Raise exception if prefix not bound, expand exception message, add test of objects/messages.</title>
<updated>2022-04-26T23:30:28+00:00</updated>
<author>
<name>Graham Higgins</name>
<email>gjh@bel-epa.com</email>
</author>
<published>2022-04-26T23:11:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/rdflib.git/commit/?id=17cffe24a21aec39d902b7f946a2eb7662a4086f'/>
<id>17cffe24a21aec39d902b7f946a2eb7662a4086f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix handling of blank CURIE reference and references with multiple colons</title>
<updated>2022-04-26T19:46:22+00:00</updated>
<author>
<name>Iwan Aucamp</name>
<email>aucampia@gmail.com</email>
</author>
<published>2022-04-26T19:46:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/rdflib.git/commit/?id=34925b9b800e2fb8ced84334eccdbb009df7f2d7'/>
<id>34925b9b800e2fb8ced84334eccdbb009df7f2d7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
