Skip to content

Commit

Permalink
style: remove unnecessary shebangs #!... (#2574)
Browse files Browse the repository at this point in the history
These files don't need shebangs as running them won't do something
useful.
  • Loading branch information
aucampia authored Sep 4, 2023
1 parent 6ee5a7a commit d99a68b
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 15 deletions.
1 change: 0 additions & 1 deletion rdflib/extras/describer.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
__doc__ = """
A Describer is a stateful utility for creating RDF statements in a
semi-declarative manner. It has methods for creating literal values, rel and
Expand Down
2 changes: 0 additions & 2 deletions rdflib/extras/external_graph_libs.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python
# encoding: utf-8
from __future__ import annotations

import logging
Expand Down
1 change: 0 additions & 1 deletion rdflib/plugins/parsers/notation3.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
"""
notation3.py - Standalone Notation3 Parser
Derived from CWM, the Closed World Machine
Expand Down
1 change: 0 additions & 1 deletion rdflib/plugins/parsers/ntriples.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python3
from __future__ import annotations

__doc__ = """\
Expand Down
1 change: 0 additions & 1 deletion run_tests.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
"""
Testing with pytest
=================
Expand Down
2 changes: 0 additions & 2 deletions test/test_issues/test_issue200.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

import os

import pytest
Expand Down
1 change: 0 additions & 1 deletion test/test_parsers/test_trix_parse.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
import os
from test.data import TEST_DATA_DIR

Expand Down
2 changes: 0 additions & 2 deletions test/test_serializers/test_serializer_trix.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

from io import BytesIO

from rdflib.graph import ConjunctiveGraph, Graph
Expand Down
2 changes: 0 additions & 2 deletions test/test_sparql/test_forward_slash_escapes.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python3

# This software was developed at the National Institute of Standards
# and Technology by employees of the Federal Government in the course
# of their official duties. Pursuant to title 17 Section 105 of the
Expand Down
2 changes: 0 additions & 2 deletions test/test_typing.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python3

# This software was developed at the National Institute of Standards
# and Technology by employees of the Federal Government in the course
# of their official duties. Pursuant to title 17 Section 105 of the
Expand Down

0 comments on commit d99a68b

Please sign in to comment.