Skip to content

Commit 94fb1d3

Browse files
fix: clean deps, fix CI branch, fix README install name, add classifiers
- Rename license optional-dep to licensing - Wrap click_to_mcp import with try/except - Fix CI branch trigger to main (matches default branch) - Fix CI coverage target to json2sql (was src) - Fix README pip install command (json2sql-cli -> json2sql) - Add Python version classifiers
1 parent 62e7345 commit 94fb1d3

3 files changed

Lines changed: 15 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: CI
22

33
on:
4-
push:
5-
branches: [main]
6-
pull_request:
7-
branches: [main]
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
88

99
jobs:
1010
test:
@@ -29,5 +29,5 @@ jobs:
2929
run: pip install ruff && ruff check src/ --target-version py310
3030
- name: Run tests
3131
run: |
32-
python -m pytest tests/ -v --cov=src --cov-report=term-missing
32+
python -m pytest tests/ -v --cov=json2sql --cov-report=term-missing
3333

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Convert JSON files and datasets to SQL INSERT statements. Supports nested JSON,
1616
## Installation
1717

1818
```bash
19-
pip install json2sql-cli
19+
pip install json2sql
2020
```
2121

2222
Or install directly from GitHub:

pyproject.toml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@ readme = "README.md"
1010
requires-python = ">=3.10"
1111
license = "MIT"
1212
authors = [{name = "Revenue Holdings"}]
13+
classifiers = [
14+
"Development Status :: 4 - Beta",
15+
"Intended Audience :: Developers",
16+
"Programming Language :: Python :: 3",
17+
"Programming Language :: Python :: 3.10",
18+
"Programming Language :: Python :: 3.11",
19+
"Programming Language :: Python :: 3.12",
20+
]
1321

1422
dependencies = [
1523
"typer>=0.9.0",
@@ -24,7 +32,7 @@ Documentation = "https://github.com/Coding-Dev-Tools/json2sql#readme"
2432

2533
[project.optional-dependencies]
2634
dev = ["pytest>=7.0", "pytest-cov"]
27-
license = ["revenueholdings-license>=0.1.0"]
35+
licensing = ["revenueholdings-license>=0.1.0"]
2836

2937
[project.scripts]
3038
json2sql = "json2sql.cli:app"

0 commit comments

Comments
 (0)