Skip to content
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

fix: handle missing configuration #644

Merged
merged 1 commit into from
Jul 18, 2023

Conversation

bernardcooke53
Copy link
Contributor

With this change, PSR will no longer error if it cannot find appropriate configuration in the default
pyproject.toml file, or in the file specified by -c/ --config when that option is given. Instead it will use the default configuration values

With this change, PSR will no longer error if it cannot
find appropriate configuration in the default
pyproject.toml file, or in the file specified by -c/
--config when that option is given. Instead it will
use the default configuration values
@@ -21,7 +21,7 @@ classifiers = [
readme = "README.rst"
authors = [{ name = "Rolf Erik Lekang", email = "me@rolflekang.com" }]
dependencies = [
"click>=7,<9",
"click>=8,<9",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

don't allow previous major versions of click

@@ -62,7 +62,7 @@ test = [
"types-pytest-lazy-fixture>=0.6.3.3",
]
dev = ["tox", "isort", "black"]
mypy = ["mypy", "types-requests", "types-click"]
mypy = ["mypy", "types-requests"]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

types-click was actually breaking mypy for me locally - I suppose it's no longer updated with click v8 (hence pinning above)

@@ -124,7 +124,7 @@ commands =
[testenv:mypy]
deps = .[mypy]
commands =
mypy --ignore-missing-imports semantic_release
mypy semantic_release
Copy link
Contributor Author

Choose a reason for hiding this comment

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

no need for this flag any more

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.

None yet

1 participant