-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Add support for pulling configuration from pyproject.toml files #10219
Merged
JukkaL
merged 52 commits into
python:master
from
TheCleric:feature/pyproject_toml_support
May 5, 2021
Merged
Changes from 48 commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
8059a6d
Add gitignore entries for pyenv
TheCleric b86c6c0
Add support for pulling configuration from pyproject.toml files
TheCleric 6435a9d
Allow pyproject.toml with no mypy section
TheCleric 9f70b29
Move pyproject tests to their own test
TheCleric da965ec
Further delineate pyproject tests
TheCleric fe201b5
Escape special chars with single quotes
TheCleric 76d6b6c
Update docs for pyproject.toml
TheCleric 6618f2c
Fix some (the rest🤞) of the pyproject tests
TheCleric 76e1197
Remove unnessecary .test changes
TheCleric 34f246b
Restore config_parser functions to original typing and create new one…
TheCleric df8db18
Helps if you get the types right BEFORE commiting 🤦
TheCleric 94de3d5
3.5 doesn't have typing.Type?
TheCleric 60a4558
Deepcopy segfaults mypyc
TheCleric 0278242
Fix typing issue found by mypyc
TheCleric 771964c
Use OrderedDict to preserve option orders in python 3.5
TheCleric 4c4c589
Merge branch 'master' into feature/pyproject_toml_support
TheCleric 109f590
Fix revealed type expected messages to use double quotes
TheCleric 1a9be45
Merge branch 'master' into feature/pyproject_toml_support
TheCleric 7e8b7ba
Update single quotes to double quotes in "Name ... is" tests
TheCleric a40af96
Merge branch 'master' into feature/pyproject_toml_support
TheCleric 291a0c6
Merge branch 'master' into feature/pyproject_toml_support
TheCleric 7aab519
Remove *.so from .gitignore
TheCleric 9d8d6ec
Add example pyproject.toml to the docs
TheCleric a29a319
Fix docstring for try_split
TheCleric 68490cc
Add more specific config value types
TheCleric 1686682
Simpler checking for mypy in toml file
TheCleric ba2c3ae
Fix convert_to_boolean docstring
TheCleric 6b981b3
Merge branch 'master' into feature/pyproject_toml_support
TheCleric adeea90
Fix latest single to doublt quote test changes
TheCleric b74d91d
Modify tests to new override format in pyproject.toml
TheCleric d6ec65d
Merge branch 'master' into feature/pyproject_toml_support
TheCleric c9ba081
Make package overrides in the pyproject.toml a little cleaner
TheCleric 77a2c04
Clean up config doc
TheCleric ec0c061
Add tests for possible errors in the new overrides toml config
TheCleric c528831
Merge branch 'master' into feature/pyproject_toml_support
TheCleric c921668
Merge branch 'master' into feature/pyproject_toml_support
TheCleric 9d21341
Remove extraneous print
TheCleric 9cbef16
Add multimodule examples to documenatiton for toml config
TheCleric fe357e1
Remove vestigial string split for toml keys
TheCleric d594d15
Make pyproject errors more tailored to actual toml not ini
TheCleric b7e02e6
Convert TOML parse ValueError to custom ValueError
TheCleric 0a44423
Add tests to ensure new errors are caught
TheCleric 8f0e6d2
Ensure toml load stays an OrderedDict on copy
TheCleric 3416337
Strip pyproject testing down now that we know it works
TheCleric ddb3922
Fix some mistyping
TheCleric 6e5dc11
Merge branch 'master' into feature/pyproject_toml_support
TheCleric 74c29e7
Merge branch 'master' into feature/pyproject_toml_support
TheCleric 3249676
Merge branch 'master' into feature/pyproject_toml_support
TheCleric c7110fa
Merge branch 'master' into feature/pyproject_toml_support
TheCleric b4f7d79
Flesh out some feature tests of the pyproject.toml config
TheCleric d9d091e
Fix double to single quotes for test paths
TheCleric 742059f
Merge branch 'master' into feature/pyproject_toml_support
TheCleric File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it wise to have deprecated python versions in new code?