[pycodestyle] Exempt sys.path += ... calls (E402) (#15980)

## Summary

The PR addresses issue #15886 .
This commit is contained in:
Vasco Schiavo 2025-02-06 08:51:51 +01:00 committed by GitHub
parent d0555f7b5c
commit 24bab7e82e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 40 additions and 25 deletions

View file

@ -0,0 +1,7 @@
import os
import sys
sys.path += [os.path.dirname(__file__)]
sys.path += ["../"]
from package import module