Skip to content

Add --generate-pyproject-config CLI option#2551

Merged
koxudaxi merged 20 commits intomainfrom
add-generate-pyproject-config-option
Nov 28, 2025
Merged

Add --generate-pyproject-config CLI option#2551
koxudaxi merged 20 commits intomainfrom
add-generate-pyproject-config-option

Conversation

@koxudaxi
Copy link
Copy Markdown
Owner

Summary

  • Add --generate-pyproject-config CLI option that outputs the current CLI arguments as a [tool.datamodel-codegen] section for pyproject.toml
  • This makes it easier for users to convert their CLI arguments into a reusable pyproject.toml configuration

@koxudaxi koxudaxi changed the base branch from main to strict-type-annotations November 27, 2025 17:52
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Nov 27, 2025

CodSpeed Performance Report

Merging #2551 will not alter performance

Comparing add-generate-pyproject-config-option (194d813) with main (4dc4480)

Summary

✅ 32 untouched

@koxudaxi koxudaxi marked this pull request as ready for review November 27, 2025 18:05
@koxudaxi koxudaxi force-pushed the add-generate-pyproject-config-option branch from 594b1d8 to 51f1b20 Compare November 27, 2025 23:45
Base automatically changed from strict-type-annotations to main November 28, 2025 00:18
@codecov
Copy link
Copy Markdown

codecov Bot commented Nov 28, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.83%. Comparing base (4dc4480) to head (194d813).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2551   +/-   ##
=======================================
  Coverage   98.82%   98.83%           
=======================================
  Files          68       68           
  Lines        8443     8496   +53     
  Branches      840      846    +6     
=======================================
+ Hits         8344     8397   +53     
  Misses         71       71           
  Partials       28       28           
Flag Coverage Δ
unittests 98.83% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@koxudaxi koxudaxi merged commit cd23a16 into main Nov 28, 2025
39 checks passed
@koxudaxi koxudaxi deleted the add-generate-pyproject-config-option branch November 28, 2025 02:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant