Closed DrPlumcake closed 1 year ago
SEMGREP_CONFIG_FILE=/app/config/.semgrepignore
@DrPlumcake This PR is quite good, but we should not call os.chdir
. Can you find a solution? :)
I used monkeypatch, a fixture that overrides systemcalls (and other functions) inside the test environment, so it doesn't disturb other tests, then:
"All modifications will be undone after the requesting test function or fixture has finished."
So it's better then use os.chdir() directly
Semgrep now skips the files mentioned in the .semgrep file