Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix docs comment doesn't describe behavior #2443

Merged
merged 3 commits into from
Jun 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/intro_to_graphs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ node, not a generator:
# get any name of bob
name = g.value(bob, FOAF.name)
# get the one person that knows bob and raise an exception if more are found
mbox = g.value(predicate = FOAF.name, object=bob, any=False)
person = g.value(predicate=FOAF.knows, object=bob, any=False)


:class:`~rdflib.graph.Graph` methods for accessing triples
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ pep8-naming = ["-N815"]
pep8-naming = ["-N802"]
[tool.flakeheaven.exceptions."rdflib/plugins/parsers/trix.py"]
pep8-naming = ["-N802"]
[tool.flakeheaven.exceptions."docs/*.rst"]
pyflakes = ["-F821"]


[tool.black]
required-version = "23.3.0"
Expand Down