Skip to content

Commit 8555a2d

Browse files
author
Vinit Kumar
committed
fix: lint and deps issue
1 parent 937715b commit 8555a2d

File tree

4 files changed

+11
-8
lines changed

4 files changed

+11
-8
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ jobs:
2323
pip install ruff
2424
- name: Run Ruff
2525
run: |
26-
ruff json2xml
27-
ruff tests
26+
ruff check json2xml
27+
ruff check tests
2828
2929
3030
mypy:

docs/requirements.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
furo==2023.09.10
1+
furo==2024.5.6
22
sphinx
33
sphinx-autobuild
44

@@ -9,3 +9,4 @@ mock
99
autodoc
1010

1111
defusedxml
12+
tornado==6.4.1

docs/requirements.txt

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.11
2+
# This file is autogenerated by pip-compile with Python 3.12
33
# by the following command:
44
#
55
# pip-compile
@@ -26,7 +26,7 @@ defusedxml==0.7.1
2626
# via -r requirements.in
2727
docutils==0.20.1
2828
# via sphinx
29-
furo==2023.9.10
29+
furo==2024.5.6
3030
# via -r requirements.in
3131
idna==3.2
3232
# via requests
@@ -84,8 +84,10 @@ sphinxcontrib-qthelp==1.0.3
8484
# via sphinx
8585
sphinxcontrib-serializinghtml==1.1.9
8686
# via sphinx
87-
tornado==6.3.3
88-
# via livereload
87+
tornado==6.4.1
88+
# via
89+
# -r requirements.in
90+
# livereload
8991
urllib3==1.26.18
9092
# via requests
9193
waitress==2.1.2

tests/test_json2xml.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
"""Tests for `json2xml` package."""
44

55
import json
6+
from pyexpat import ExpatError
67

78
import pytest
89
import xmltodict
9-
from pyexpat import ExpatError
1010

1111
from json2xml import json2xml
1212
from json2xml.utils import (

0 commit comments

Comments
 (0)