Skip to content

Commit 27c81cc

Browse files
authored
Merge pull request #85 from kurtmckee/release/0.11.0
Release v0.11.0
2 parents e2b3548 + 25af51c commit 27c81cc

File tree

19 files changed

+157
-62
lines changed

19 files changed

+157
-62
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ indent_style = space
88
insert_final_newline = true
99
trim_trailing_whitespace = true
1010

11-
[{*.yml,*.yaml}]
11+
[{*.yml,*.yaml,*.cff}]
1212
indent_size = 2
1313

1414
# Character encoding exceptions

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,19 +47,19 @@ repos:
4747
- id: "isort"
4848

4949
- repo: "https://github.com/pycqa/flake8"
50-
rev: "7.1.2"
50+
rev: "7.2.0"
5151
hooks:
5252
- id: "flake8"
5353
additional_dependencies:
5454
- "flake8-bugbear==24.12.12"
5555

5656
- repo: "https://github.com/editorconfig-checker/editorconfig-checker"
57-
rev: "v3.2.1"
57+
rev: "v3.3.0"
5858
hooks:
5959
- id: "editorconfig-checker"
6060

6161
- repo: "https://github.com/python-jsonschema/check-jsonschema"
62-
rev: "0.31.3"
62+
rev: "0.33.0"
6363
hooks:
6464
- id: "check-dependabot"
6565
- id: "check-readthedocs"

CHANGELOG.rst

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,31 @@ Please see the fragment files in the `changelog.d directory`_.
2525

2626
.. scriv-insert-here
2727
28+
.. _changelog-0.11.0:
29+
30+
0.11.0 - 2025-05-14
31+
===================
32+
33+
Fixed
34+
-----
35+
36+
* Fix a crash that occurs when CLI extras are not installed.
37+
38+
This restores the user-friendly warning message behavior
39+
when ``[cli]`` extras are not installed.
40+
41+
Changed
42+
-------
43+
44+
* A ``FileNotFoundError`` subclass is now raised when a file isn't found.
45+
46+
Previously, a ``TypeError`` was implicitly raised due to the structure of the code.
47+
48+
Documentation
49+
-------------
50+
51+
* Add a ``CITATION.cff`` file.
52+
2853
.. _changelog-0.10.0:
2954

3055
0.10.0 - 2025-03-25

CITATION.cff

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
cff-version: '1.2.0'
2+
message: 'If you use this software, please cite it using the metadata from this file.'
3+
type: 'software'
4+
title: 'sqliteimport'
5+
abstract: 'Import Python code from sqlite databases.'
6+
authors:
7+
- given-names: 'Kurt'
8+
family-names: 'McKee'
9+
10+
orcid: 'https://orcid.org/0000-0002-8547-8489'
11+
license: 'MIT'
12+
repository-code: 'https://github.com/kurtmckee/sqliteimport'
13+
url: 'https://sqliteimport.readthedocs.io/'
14+
keywords:
15+
- 'python'
16+
- 'sqlite'

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66

77
.. image:: https://raw.githubusercontent.com/kurtmckee/sqliteimport/dfd7095f2df8d6e9249889dd85f102027d1a6cfb/docs/_static/banner.png
8-
:alt: sqlite import: Import Python code in sqlite databases.
8+
:alt: sqlite import: Import Python code from sqlite databases.
99

1010
-------------------------------------------------------------------------------
1111

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ sqliteimport
1010
############
1111

1212
.. image:: _static/banner.png
13-
:alt: sqlite import: Import Python code in sqlite databases.
13+
:alt: sqlite import: Import Python code from sqlite databases.
1414

1515
-------------------------------------------------------------------------------
1616

pyproject.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "sqliteimport"
3-
version = "0.10.0"
3+
version = "0.11.0"
44
description = "Import Python code from sqlite databases"
55
authors = [
66
{ name = "Kurt McKee", email = "[email protected]" },
@@ -61,7 +61,7 @@ source = [
6161

6262
[tool.coverage.report]
6363
skip_covered = true
64-
fail_under = 49
64+
fail_under = 60
6565

6666

6767
# isort
@@ -75,6 +75,7 @@ extend_skip_glob = [
7575
"docs/isort/*",
7676
]
7777

78+
7879
# mypy
7980
# ----
8081

@@ -88,6 +89,7 @@ sqlite_cache = true
8889
# ------
8990

9091
[tool.pytest.ini_options]
92+
testpaths = ["tests"]
9193
addopts = "--color=yes"
9294
filterwarnings = [
9395
"error",
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
flake8==7.1.2 ; python_version >= "3.9"
1+
flake8==7.2.0 ; python_version >= "3.9"
22
isort==6.0.1 ; python_version >= "3.9"
33
mccabe==0.7.0 ; python_version >= "3.9"
4-
pycodestyle==2.12.1 ; python_version >= "3.9"
5-
pyflakes==3.2.0 ; python_version >= "3.9"
4+
pycodestyle==2.13.0 ; python_version >= "3.9"
5+
pyflakes==3.3.2 ; python_version >= "3.9"

requirements/docs/requirements.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
alabaster==0.7.16 ; python_version >= "3.9"
22
babel==2.17.0 ; python_version >= "3.9"
3-
certifi==2025.1.31 ; python_version >= "3.9"
4-
charset-normalizer==3.4.1 ; python_version >= "3.9"
3+
certifi==2025.4.26 ; python_version >= "3.9"
4+
charset-normalizer==3.4.2 ; python_version >= "3.9"
55
colorama==0.4.6 ; python_version >= "3.9" and sys_platform == "win32"
66
docutils==0.21.2 ; python_version >= "3.9"
77
idna==3.10 ; python_version >= "3.9"
88
imagesize==1.4.1 ; python_version >= "3.9"
9-
importlib-metadata==8.6.1 ; python_version == "3.9"
9+
importlib-metadata==8.7.0 ; python_version == "3.9"
1010
jinja2==3.1.6 ; python_version >= "3.9"
1111
markupsafe==3.0.2 ; python_version >= "3.9"
12-
packaging==24.2 ; python_version >= "3.9"
12+
packaging==25.0 ; python_version >= "3.9"
1313
pygments==2.19.1 ; python_version >= "3.9"
1414
requests==2.32.3 ; python_version >= "3.9"
15-
snowballstemmer==2.2.0 ; python_version >= "3.9"
15+
snowballstemmer==3.0.1 ; python_version >= "3.9"
1616
sphinx==7.4.7 ; python_version >= "3.9"
1717
sphinxcontrib-applehelp==2.0.0 ; python_version >= "3.9"
1818
sphinxcontrib-devhelp==2.0.0 ; python_version >= "3.9"
@@ -21,5 +21,5 @@ sphinxcontrib-jsmath==1.0.1 ; python_version >= "3.9"
2121
sphinxcontrib-qthelp==2.0.0 ; python_version >= "3.9"
2222
sphinxcontrib-serializinghtml==2.0.0 ; python_version >= "3.9"
2323
tomli==2.2.1 ; python_version >= "3.9" and python_version < "3.11"
24-
urllib3==2.3.0 ; python_version >= "3.9"
24+
urllib3==2.4.0 ; python_version >= "3.9"
2525
zipp==3.21.0 ; python_version == "3.9"

requirements/mypy/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
mypy-extensions==1.0.0 ; python_version >= "3.9"
1+
mypy-extensions==1.1.0 ; python_version >= "3.9"
22
mypy==1.15.0 ; python_version >= "3.9"
33
tomli==2.2.1 ; python_version >= "3.9" and python_version < "3.11"
4-
typing-extensions==4.12.2 ; python_version >= "3.9"
4+
typing-extensions==4.13.2 ; python_version >= "3.9"

0 commit comments

Comments
 (0)