Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,20 @@ on:
pull_request:
branches: [main]

permissions:
contents: read

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
python-version: ["3.10", "3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@v4
with:
persist-credentials: false

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
Expand All @@ -30,4 +35,3 @@ jobs:
- name: Run tests
run: |
python -m pytest tests/ -v --cov=src --cov-report=term-missing

27 changes: 0 additions & 27 deletions .github/workflows/npm-publish.yml

This file was deleted.

131 changes: 67 additions & 64 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,65 +1,68 @@
[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "configdrift"
version = "0.1.0"
description = "CLI tool that detects and fixes configuration file drift across environments (dev/staging/prod). Supports YAML, JSON, TOML, and .env formats."
readme = "README.md"
requires-python = ">=3.10"
license = "MIT"
authors = [{name = "Revenue Holdings"}]
keywords = ["config", "drift", "diff", "env", "devops", "cli"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Topic :: Software Development :: Quality Assurance",
"Topic :: System :: Systems Administration",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"typer>=0.9.0",
"rich>=13.0.0",
"pyyaml>=6.0",
"tomli>=2.0.0; python_version < '3.11'",
"tomli-w>=1.0.0",
]

[project.optional-dependencies]
license = ["revenueholdings-license>=0.1.0"]
dev = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"ruff>=0.4.0",
]
toml = ["tomli>=2.0.0", "tomli-w>=1.0.0"]

[project.urls]
Homepage = "https://github.com/Coding-Dev-Tools/configdrift"
Repository = "https://github.com/Coding-Dev-Tools/configdrift"
"Issue Tracker" = "https://github.com/Coding-Dev-Tools/configdrift/issues"

[project.scripts]
configdrift = "configdrift.cli:app"

[tool.setuptools.packages.find]
where = ["src"]

[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-v --tb=short"

[tool.ruff]
target-version = "py310"
line-length = 120

[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "B", "SIM"]
ignore = ["E501"]

[tool.ruff.lint.isort]
[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "configdrift"
version = "0.1.0"
description = "CLI tool that detects and fixes configuration file drift across environments (dev/staging/prod). Supports YAML, JSON, TOML, and .env formats."
readme = "README.md"
requires-python = ">=3.10"
license = "MIT"
authors = [{name = "Revenue Holdings"}]
keywords = ["config", "drift", "diff", "env", "devops", "cli"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Topic :: Software Development :: Quality Assurance",
"Topic :: System :: Systems Administration",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"typer>=0.9.0",
"rich>=13.0.0",
"pyyaml>=6.0",
"tomli>=2.0.0; python_version < '3.11'",
"tomli-w>=1.0.0",
]

[project.optional-dependencies]
license = ["revenueholdings-license>=0.1.0"]
dev = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"ruff>=0.4.0",
]
toml = ["tomli>=2.0.0", "tomli-w>=1.0.0"]

[project.urls]
Homepage = "https://github.com/Coding-Dev-Tools/configdrift"
Documentation = "https://coding-dev-tools.github.io/configdrift"
Repository = "https://github.com/Coding-Dev-Tools/configdrift"
Issues = "https://github.com/Coding-Dev-Tools/configdrift/issues"
Changelog = "https://github.com/Coding-Dev-Tools/configdrift/releases"

[project.scripts]
configdrift = "configdrift.cli:app"

[tool.setuptools.packages.find]
where = ["src"]

[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-v --tb=short"

[tool.ruff]
target-version = "py310"
line-length = 120

[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "B", "SIM"]
ignore = ["E501"]

[tool.ruff.lint.isort]
known-first-party = ["*"]
Loading