Skip to content

Commit

Permalink
Clean up items flagged by ruff check
Browse files Browse the repository at this point in the history
  • Loading branch information
rlskoeser committed Nov 8, 2024
1 parent f829a97 commit 3531bb9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 1 addition & 5 deletions examples/notebooks/edtf-support.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,6 @@
"metadata": {},
"outputs": [],
"source": [
"from undate.undate import UndateInterval\n",
"\n",
"# Example 1\n",
"year_range = Undate.parse(\"1964/2008\", \"EDTF\")\n",
"assert isinstance(year_range, UndateInterval)\n",
Expand Down Expand Up @@ -214,13 +212,11 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 16,
"id": "8d98a139-627b-40bd-b1c5-d0028e538a53",
"metadata": {},
"outputs": [],
"source": [
"from undate.undate import UndateInterval\n",
"\n",
"# Example 1\n",
"assert UndateInterval(Undate(1964), Undate(2008)).format(\"EDTF\") == \"1964/2008\"\n",
"# Example 2\n",
Expand Down
4 changes: 3 additions & 1 deletion src/undate/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
__version__ = "0.3.0.dev0"

from undate.undate import Undate, UndateInterval
from undate.date import DatePrecision
from undate.undate import Undate, UndateInterval

__all__ = ["Undate", "UndateInterval", "DatePrecision"]

0 comments on commit 3531bb9

Please sign in to comment.