Skip to content
Merged
Changes from 1 commit
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
18 changes: 16 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,19 @@ where = ["src"]
[tool.setuptools.package-dir]
"" = "src"

Comment thread
aayushsingh2502 marked this conversation as resolved.
readme = "README.md"

Comment thread
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"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The 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.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

line-length = 88
line-length = 80

Copy link
Copy Markdown

Choose a reason for hiding this comment

The 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.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Made the changes

exclude = [
".bzr",
".direnv",
Expand Down Expand Up @@ -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"
Comment thread
aayushsingh2502 marked this conversation as resolved.
Outdated
Loading