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

style: remove modelines #2573

Merged
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
#
# rdflib documentation build configuration file, created by
# sphinx-quickstart on Fri May 15 15:03:54 2009.
#
Expand Down
1 change: 0 additions & 1 deletion rdflib/compare.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
A collection of utilities for canonicalizing and inspecting graphs.

Expand Down
1 change: 0 additions & 1 deletion rdflib/extras/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
# -*- coding: utf-8 -*-
2 changes: 0 additions & 2 deletions rdflib/extras/describer.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

__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/infixowl.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

__doc__ = """RDFLib Python binding for OWL Abstract Syntax

OWL Constructor DL Syntax Manchester OWL Syntax Example
Expand Down
1 change: 0 additions & 1 deletion rdflib/plugins/serializers/jsonld.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
This serialiser will output an RDF Graph as a JSON-LD formatted document. See:

Expand Down
1 change: 0 additions & 1 deletion rdflib/plugins/shared/jsonld/context.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
Implementation of the JSON-LD Context structure. See:

Expand Down
1 change: 0 additions & 1 deletion rdflib/plugins/shared/jsonld/errors.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# https://github.com/RDFLib/rdflib-jsonld/blob/feature/json-ld-1.1/rdflib_jsonld/errors.py
class JSONLDException(ValueError): # noqa: N818
pass
Expand Down
1 change: 0 additions & 1 deletion rdflib/plugins/shared/jsonld/keys.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# https://github.com/RDFLib/rdflib-jsonld/blob/feature/json-ld-1.1/rdflib_jsonld/keys.py
BASE = "@base"
CONTAINER = "@container"
Expand Down
1 change: 0 additions & 1 deletion rdflib/plugins/shared/jsonld/util.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# https://github.com/RDFLib/rdflib-jsonld/blob/feature/json-ld-1.1/rdflib_jsonld/util.py
from __future__ import annotations

Expand Down
2 changes: 0 additions & 2 deletions rdflib/plugins/stores/sparqlstore.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
#
"""
This is an RDFLib store around Ivan Herman et al.'s SPARQL service wrapper.
This was first done in layer-cake, and then ported to RDFLib
Expand Down
1 change: 0 additions & 1 deletion rdflib/tools/rdfpipe.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python
# -*- coding: UTF-8 -*-
"""
A commandline tool for parsing RDF in different formats and serializing the
resulting graph to a chosen format.
Expand Down
1 change: 0 additions & 1 deletion test/jsonld/runner.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: UTF-8 -*-
import json

from rdflib import BNode, ConjunctiveGraph
Expand Down
1 change: 0 additions & 1 deletion test/jsonld/test_api.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: UTF-8 -*-
from rdflib import Graph, Literal, URIRef


Expand Down
1 change: 0 additions & 1 deletion test/jsonld/test_compaction.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: UTF-8 -*-
from __future__ import annotations

import itertools
Expand Down
1 change: 0 additions & 1 deletion test/jsonld/test_named_graphs.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: UTF-8 -*-
from rdflib import ConjunctiveGraph, Dataset, Graph, URIRef

data = """
Expand Down
2 changes: 0 additions & 2 deletions test/jsonld/test_nested_arrays.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: UTF-8 -*-

from test.utils.namespace import EGDC

from rdflib import Graph, Literal
Expand Down
1 change: 0 additions & 1 deletion test/test_dataset/test_dataset.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
import os
import shutil
import tempfile
Expand Down
1 change: 0 additions & 1 deletion test/test_graph/test_graph.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
import logging
import os
from pathlib import Path
Expand Down
1 change: 0 additions & 1 deletion test/test_issues/test_issue190.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
import textwrap

import pytest
Expand Down
2 changes: 0 additions & 2 deletions test/test_literal/test_hex_binary.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

import binascii

from rdflib import XSD, Literal
Expand Down
2 changes: 0 additions & 2 deletions test/test_misc/test_b64_binary.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

import base64

from rdflib import XSD, Literal
Expand Down
1 change: 0 additions & 1 deletion test/test_misc/test_bnode_ncname.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
import re
from uuid import uuid4

Expand Down
1 change: 0 additions & 1 deletion test/test_serializers/test_prettyxml.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: UTF-8 -*-
from io import BytesIO

from rdflib.graph import ConjunctiveGraph
Expand Down
1 change: 0 additions & 1 deletion test/test_store/test_store_auditable.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding=utf8 -*-
from test.utils.namespace import EGDO

import pytest
Expand Down
2 changes: 0 additions & 2 deletions test/test_store/test_store_sparqlupdatestore.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

import re
from test.data import BOB, CHEESE, HATES, LIKES, MICHEL, PIZZA, TAREK
from urllib.request import urlopen
Expand Down
2 changes: 0 additions & 2 deletions test/test_util.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

import logging
import time
from contextlib import ExitStack
Expand Down