The following issues were found

coq/databases/snippets/sql/insert/match.sql
1 issues
Syntax error at or near "or"
Syntax error

Line: 1 Column: 8

              INSERT OR IGNORE INTO matches ( snippet_id,  match, lmatch)
VALUES                        (:snippet_id, :match, LOWER(:match))

            

Reported by SQLint.

coq/databases/tags/sql/select/tags.sql
1 issues
Syntax error at or near "`"
Syntax error

Line: 2 Column: 8

              SELECT
  tags.`path`,
  tags.line,
  tags.kind,
  tags.name,
  tags.lname,
  tags.pattern,
  tags.typeref,
  tags.scope,

            

Reported by SQLint.

coq/databases/tags/sql/insert/tag.sql
1 issues
Syntax error at or near "replace"
Syntax error

Line: 1 Column: 1

              REPLACE INTO tags (`path`, line,  name, lname,         pattern,  kind,  typeref,  scope,  scopeKind, `access`)
VALUES            (:path, :line, :name, LOWER(:name), :pattern, :kind, :typeref, :scope, :scopeKind, :access)


            

Reported by SQLint.

coq/databases/tags/sql/__init__.py
1 issues
Attempted relative import beyond top-level package
Error

Line: 6 Column: 1

              """
from pathlib import Path

from ....shared.sql import loader

sql = loader(Path(__file__).resolve().parent)

            

Reported by Pylint.

coq/databases/insertions/sql/create/pragma.sql
1 issues
Syntax error at or near "pragma"
Syntax error

Line: 1 Column: 1

              PRAGMA foreign_keys = ON;

            

Reported by SQLint.

coq/databases/insertions/sql/insert/source.sql
1 issues
Syntax error at or near "or"
Syntax error

Line: 1 Column: 8

              INSERT OR IGNORE INTO sources ( name)
VALUES                        (:name)

            

Reported by SQLint.

coq/databases/insertions/sql/__init__.py
1 issues
Attempted relative import beyond top-level package
Error

Line: 6 Column: 1

              """
from pathlib import Path

from ....shared.sql import loader

sql = loader(Path(__file__).resolve().parent)

            

Reported by Pylint.

coq/databases/buffers/sql/insert/word.sql
1 issues
Syntax error at or near "or"
Syntax error

Line: 1 Column: 8

              INSERT OR IGNORE INTO words ( line_id,  word, lword)
VALUES                      (:line_id, :word, LOWER(:word))

            

Reported by SQLint.

coq/databases/buffers/sql/create/pragma.sql
1 issues
Syntax error at or near "pragma"
Syntax error

Line: 1 Column: 1

              PRAGMA foreign_keys = ON;


            

Reported by SQLint.

coq/databases/buffers/sql/__init__.py
1 issues
Attempted relative import beyond top-level package
Error

Line: 6 Column: 1

              """
from pathlib import Path

from ....shared.sql import loader

sql = loader(Path(__file__).resolve().parent)

            

Reported by Pylint.