Skip to content

Commit c5a30f4

Browse files
author
Revenue Holdings
committed
fix: ruff lint - datetime.UTC, X|None, E501, B904, F821
1 parent 62a8bd4 commit c5a30f4

4 files changed

Lines changed: 16 additions & 1 deletion

File tree

.github/dependabot.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: pip
4+
directory: "/"
5+
schedule:
6+
interval: weekly
7+
open-pull-requests-limit: 5
8+
- package-ecosystem: github-actions
9+
directory: "/"
10+
schedule:
11+
interval: weekly
12+
open-pull-requests-limit: 3

.github/workflows/publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ jobs:
3232
run: |
3333
pip install build twine
3434
35+
- name: Lint with ruff
36+
run: pip install ruff && ruff check src/ --target-version py310
37+
3538
- name: Build package
3639
run: |
3740
python -m build

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,4 @@ Thumbs.db
7070
# Project specific
7171
research/
7272
fixtures/generated/
73+
.ruff_cache/

tests/test_converter.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
import json
44
import pytest
5-
65
from json2sql.converter import JSONToSQLConverter
76
from json2sql.dialects import Dialect
87

0 commit comments

Comments
 (0)