Skip to content

Conversation

@imsahil007
Copy link
Contributor

No description provided.

@@ -0,0 +1,11 @@
mapping_test_data = [
{"product": "Glibc", "version": "2.3.4", "version_strings": ["GLIBC_2.3.4"]}
Copy link
Contributor

Choose a reason for hiding this comment

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

version strings should also include contains strings.

@Niraj-Kamdar
Copy link
Contributor

You need to format your code with black. Install black if not exist and provide directories or file you want to format to it.

@imsahil007
Copy link
Contributor Author

imsahil007 commented Jul 3, 2020

You need to format your code with black. Install black if not exist and provide directories or file you want to format to it.

I formatted the code using black. But no checks were succesfull

@Niraj-Kamdar
Copy link
Contributor

Niraj-Kamdar commented Jul 3, 2020

I formatted the code using black. But no checks were succesfull

You can see why tests are failing in Details link. In your case you haven't formatted cve_bin_tool/checkers/glibc.py
You can format every files under current directory using: black .

@imsahil007 imsahil007 closed this Jul 3, 2020
@imsahil007 imsahil007 mentioned this pull request Jul 4, 2020
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.

2 participants