<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/rdflib.git/test/test_issues, branch main</title>
<subtitle>github.com: rdflib/rdflib.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/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://91.123.203.49/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>build(deps-dev): bump black from 22.12.0 to 23.1.0 (#2248)</title>
<updated>2023-03-11T12:40:15+00:00</updated>
<author>
<name>dependabot[bot]</name>
<email>49699333+dependabot[bot]@users.noreply.github.com</email>
</author>
<published>2023-03-11T12:40:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rdflib.git/commit/?id=fcfa4950426719ef62e231147f5fa098f58272c6'/>
<id>fcfa4950426719ef62e231147f5fa098f58272c6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat: add type hints to `rdflib.plugins.sparql.{algebra,operators}` (#2094)</title>
<updated>2022-08-23T18:33:03+00:00</updated>
<author>
<name>Iwan Aucamp</name>
<email>aucampia@gmail.com</email>
</author>
<published>2022-08-23T18:33:03+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rdflib.git/commit/?id=c487be63350670a26b49202d6f67e2e4065afc27'/>
<id>c487be63350670a26b49202d6f67e2e4065afc27</id>
<content type='text'>
More or less complete type hints for `rdflib.plugins.sparql.algebra` and
`rdflib.plugins.sparql.operators`.

This does not change runtime behaviour.

Other changes:
- Fixed line endings of `test/test_issues/test_issue1043.py`
  and `test/test_issues/test_issue910.py`.
- Removed a type hint comment that was present in rdflib/plugins/sparql/algebra.py

This is split-off from https://github.com/RDFLib/rdflib/pull/1850.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
More or less complete type hints for `rdflib.plugins.sparql.algebra` and
`rdflib.plugins.sparql.operators`.

This does not change runtime behaviour.

Other changes:
- Fixed line endings of `test/test_issues/test_issue1043.py`
  and `test/test_issues/test_issue910.py`.
- Removed a type hint comment that was present in rdflib/plugins/sparql/algebra.py

This is split-off from https://github.com/RDFLib/rdflib/pull/1850.</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid raising unrelated AttributeError ... (#2013)</title>
<updated>2022-07-11T15:59:49+00:00</updated>
<author>
<name>Graham Higgins</name>
<email>gjhiggins@users.noreply.github.com</email>
</author>
<published>2022-07-11T15:59:49+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rdflib.git/commit/?id=7aba79ad29d63183543e95b79ea8701e1ac1c2e1'/>
<id>7aba79ad29d63183543e95b79ea8701e1ac1c2e1</id>
<content type='text'>
from attempting to access language and datatype attributes of non-Literal objects

Added `isinstance` check to avoid AttributeErrors being raised by attempting to access `language` and `datatype`attribs of non-Literal objects being passed back up the call stack resulting from SPARQL BIND failures/errors.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
from attempting to access language and datatype attributes of non-Literal objects

Added `isinstance` check to avoid AttributeErrors being raised by attempting to access `language` and `datatype`attribs of non-Literal objects being passed back up the call stack resulting from SPARQL BIND failures/errors.</pre>
</div>
</content>
</entry>
<entry>
<title>Remove extra newline from N-Triples output (#1999)</title>
<updated>2022-06-24T19:40:54+00:00</updated>
<author>
<name>Tom Mitchell</name>
<email>tcmitchell@users.noreply.github.com</email>
</author>
<published>2022-06-24T19:40:54+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rdflib.git/commit/?id=eabab5f2bf03e53ce72f039065fec60ae4e7bcc8'/>
<id>eabab5f2bf03e53ce72f039065fec60ae4e7bcc8</id>
<content type='text'>
Remove the extra newline generated by the N-Triples serializer and add
a unit test to verify that N-Triples output does not end in two
consecutive newlines.

Closes #1998 </content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove the extra newline generated by the N-Triples serializer and add
a unit test to verify that N-Triples output does not end in two
consecutive newlines.

Closes #1998 </pre>
</div>
</content>
</entry>
<entry>
<title>[pre-commit.ci] auto fixes from pre-commit.com hooks</title>
<updated>2022-05-19T17:51:24+00:00</updated>
<author>
<name>pre-commit-ci[bot]</name>
<email>66853113+pre-commit-ci[bot]@users.noreply.github.com</email>
</author>
<published>2022-05-19T17:32:13+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rdflib.git/commit/?id=ba855c233310afee65abd67f2f77239f909cd895'/>
<id>ba855c233310afee65abd67f2f77239f909cd895</id>
<content type='text'>
for more information, see https://pre-commit.ci
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
for more information, see https://pre-commit.ci
</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://91.123.203.49/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>test: move test utility modules into `test/utils/` (#1879)</title>
<updated>2022-05-04T20:24:36+00:00</updated>
<author>
<name>Iwan Aucamp</name>
<email>aucampia@gmail.com</email>
</author>
<published>2022-05-04T20:24:36+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rdflib.git/commit/?id=eba13739e1d24b3e52697a1ec9545a361116951f'/>
<id>eba13739e1d24b3e52697a1ec9545a361116951f</id>
<content type='text'>
This patch moves all test utility modules into `test/utils/` and the
tests for these modules into `test/utils/test/`.

This is to make test utilities more organized and in preparation for
adding more test utilities related to test suites.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch moves all test utility modules into `test/utils/` and the
tests for these modules into `test/utils/test/`.

This is to make test utilities more organized and in preparation for
adding more test utilities related to test suites.</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unused import and remove mentions of RDFLibGenid.</title>
<updated>2022-04-15T15:04:37+00:00</updated>
<author>
<name>Edmond Chuc</name>
<email>e.chuc@uq.edu.au</email>
</author>
<published>2022-04-15T15:04:37+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rdflib.git/commit/?id=a9fc210ca64d4ff71622fcab7121bf4b7954181d'/>
<id>a9fc210ca64d4ff71622fcab7121bf4b7954181d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'master' into fix-issue-1808</title>
<updated>2022-04-15T14:12:48+00:00</updated>
<author>
<name>Nicholas Car</name>
<email>nicholas.car@surroundaustralia.com</email>
</author>
<published>2022-04-15T14:12:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rdflib.git/commit/?id=e1f0085376d4df92f66d0250cc424f0c1a44a5ef'/>
<id>e1f0085376d4df92f66d0250cc424f0c1a44a5ef</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
