-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Update setup cfg #3423
Merged
Merged
Update setup cfg #3423
Changes from 21 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
af60a6d
Extend helper to support parsing setup.cfg
honnix 1efe482
File parser for setup.cfg
honnix a13be0f
Fetcher and updater
honnix 6442588
Merge branch 'main' of github.com:dependabot/dependabot-core
honnix 14dd6a5
Fix flake8
honnix 59a45e9
Test file parser
honnix 93d67eb
Test file parser
honnix 39353d1
Fix fixture file
honnix f42d221
Check setup.cfg as well
honnix 7995c92
Test file fetcher
honnix 5aec977
Fix typo
honnix 48f1354
Fix test cases
honnix bc0c4c7
Restore temp hack
honnix 4859f06
Test file updater
honnix 484dcd6
Test updater
honnix c7642e4
Disable other test suite temporarily
honnix 67bec27
Restore temporary hack
honnix 3d2e76a
Revert "Disable other test suite temporarily"
honnix 1277169
Use setuptools to parse setup.cfg
honnix 433fe24
Merge parse_setup and parse_setup_cfg
honnix ca4d292
Parse both setup.py and setup.cfg
honnix f5c96b9
Remove empty line
honnix dd4669c
Delete unused class
honnix 9fd5b10
Simplify path
honnix 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,3 +28,5 @@ vendor | |
**/bin/helper | ||
/.core-bash_history | ||
coverage/ | ||
.ruby-gemset | ||
.ruby-version |
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
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
17 changes: 17 additions & 0 deletions
17
python/lib/dependabot/python/file_parser/setup_cfg_file_parser.rb
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# frozen_string_literal: true | ||
|
||
require_relative "setup_file_parser_base" | ||
|
||
module Dependabot | ||
module Python | ||
class FileParser | ||
class SetupCfgFileParser < SetupFileParserBase | ||
honnix marked this conversation as resolved.
Show resolved
Hide resolved
|
||
private | ||
|
||
def function | ||
"parse_setup_cfg" | ||
end | ||
end | ||
end | ||
end | ||
end |
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
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.
I black formatted this function, so it is actually not so much change.