Skip to content

Add [project] section to pyproject.toml #150

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

ogenstad
Copy link
Contributor

Sets the required Python version so that ruff can pick this up when linting our code. Also fixed some auto fixable rules based on the changed ruleset (going from the default of Python 3.8 to 3.9).

Added new violations to the ignore section for now.

Copy link

codecov bot commented Nov 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

@@             Coverage Diff             @@
##           develop     #150      +/-   ##
===========================================
+ Coverage    65.36%   65.42%   +0.05%     
===========================================
  Files           76       76              
  Lines         6950     6962      +12     
  Branches      1377     1377              
===========================================
+ Hits          4543     4555      +12     
  Misses        2033     2033              
  Partials       374      374              
Flag Coverage Δ
python-3.10 44.38% <52.17%> (+<0.01%) ⬆️
python-3.11 44.38% <52.17%> (+<0.01%) ⬆️
python-3.12 44.38% <52.17%> (+<0.01%) ⬆️
python-3.9 43.50% <52.17%> (+0.01%) ⬆️
python-filler-3.12 23.87% <47.82%> (+0.04%) ⬆️

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

Files with missing lines Coverage Δ
infrahub_sdk/batch.py 92.30% <100.00%> (+0.20%) ⬆️
infrahub_sdk/client.py 61.76% <100.00%> (+0.04%) ⬆️
infrahub_sdk/code_generator.py 29.03% <100.00%> (+1.16%) ⬆️
infrahub_sdk/ctl/utils.py 66.42% <100.00%> (+0.24%) ⬆️
infrahub_sdk/exceptions.py 71.95% <100.00%> (+0.34%) ⬆️
infrahub_sdk/node.py 68.78% <100.00%> (+0.03%) ⬆️
infrahub_sdk/pytest_plugin/loader.py 75.51% <100.00%> (+0.51%) ⬆️
infrahub_sdk/schema.py 73.67% <100.00%> (+0.04%) ⬆️
infrahub_sdk/topological_sort.py 91.83% <100.00%> (+0.17%) ⬆️
infrahub_sdk/transfer/exporter/json.py 20.61% <100.00%> (+0.82%) ⬆️
... and 2 more

🚨 Try these New Features:

@ogenstad ogenstad marked this pull request as ready for review November 23, 2024 12:44
@ogenstad ogenstad requested a review from a team November 23, 2024 12:44
@ogenstad ogenstad merged commit 0d205b0 into develop Nov 25, 2024
12 checks passed
@ogenstad ogenstad deleted the pog-pyproject-project-section branch November 25, 2024 11:40
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.

2 participants