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

Eliminate should skip #4111

Merged
merged 1 commit into from
Dec 5, 2023
Merged

Conversation

bruntib
Copy link
Contributor

@bruntib bruntib commented Dec 4, 2023

SkiplistHandler class had a call() function which forwarded to
should_skip(), so it didn't really had a real purpose. There was
also a "TODO" in the code to eliminate this function.

@bruntib bruntib added the refactoring 😡 ➡️ 🙂 Refactoring code. label Dec 4, 2023
@bruntib bruntib added this to the release 6.23.0 milestone Dec 4, 2023
@bruntib bruntib requested a review from vodorok as a code owner December 4, 2023 23:00
@bruntib bruntib force-pushed the eliminate_should_skip branch 2 times, most recently from 79d4af1 to 8ed48e6 Compare December 4, 2023 23:10
@bruntib
Copy link
Contributor Author

bruntib commented Dec 4, 2023

Please, merge #4099 first and I can rebase it.

Many functions and members of `multiprocess` lib are exposed
dynamically. For this reason pylint is not able to tell what
members this lib has (e.g. `multiprocess.Value()`. So these
pylint reports have been suppressed.

Another purpose of this commit is to make "superset" relationship
for venv_dev: if a CodeChecker developer installs venv_dev, then
the content of venv should always be installed. venv_dev just
extends them. `multiprocess` was a counterexample for this relationship:
it was installed only by `venv` and not `venv_dev`. Such a
mistake in the organization of requirements.txt files results
missing libraries for developers.
Copy link
Collaborator

@vodorok vodorok left a comment

Choose a reason for hiding this comment

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

LGTM

@bruntib bruntib merged commit 04b3e6e into Ericsson:master Dec 5, 2023
8 checks passed
@bruntib bruntib deleted the eliminate_should_skip branch December 5, 2023 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants