-
Notifications
You must be signed in to change notification settings - Fork 9
pyproject file update #4
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -24,10 +24,19 @@ where = ["src"] | |
| [tool.setuptools.package-dir] | ||
| "" = "src" | ||
|
|
||
| readme = "README.md" | ||
|
|
||
|
aayushsingh2502 marked this conversation as resolved.
Outdated
|
||
| classifiers = [ | ||
| "Programming Language :: Python", | ||
| "Programming Language :: Python :: 3.10", | ||
| "Programming Language :: Python :: 3.11", | ||
| "Programming Language :: Python :: 3.12", | ||
| "Programming Language :: Python :: 3.13", | ||
| ] | ||
|
|
||
| # Ruff configuration | ||
| [tool.ruff] | ||
| target-version = "py310" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Usually in the RUFF configuration, we should specify the python versions similar to classifiers. Thois will apply the correct linting rules.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done |
||
| line-length = 88 | ||
| line-length = 80 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think 88 is good because modern projects have line length of 88.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Made the changes |
||
| exclude = [ | ||
| ".bzr", | ||
| ".direnv", | ||
|
|
@@ -95,3 +104,8 @@ show_error_codes = true | |
| [[tool.mypy.overrides]] | ||
| module = "tests.*" | ||
| disallow_untyped_defs = false | ||
|
|
||
|
|
||
| [project.urls] | ||
| "Homepage" = "https://github.com/hashicorp/python-tfe" | ||
| "Bug Tracker" = "https://github.com/hashicorp/python-tfe/issues" | ||
|
aayushsingh2502 marked this conversation as resolved.
Outdated
|
||
Uh oh!
There was an error while loading. Please reload this page.