-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/QAttack_fix' into sazonov_experi…
…mental # Conflicts: # experiments/attack_defense_test.py # metainfo/evasion_attack_parameters.json # metainfo/evasion_defense_parameters.json
- Loading branch information
Showing
14 changed files
with
546 additions
and
31 deletions.
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 |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Pylint | ||
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.11' | ||
|
||
- name: Install dependencies | ||
run: | | ||
sudo apt update | ||
python -m pip install --upgrade --no-cache-dir pip setuptools | ||
python -m pip install --exists-action=w --no-cache-dir -r requirements1.txt | ||
python -m pip install --exists-action=w --no-cache-dir -r requirements2.txt | ||
python -m pip install --exists-action=w --no-cache-dir -r docs/requirements.txt | ||
python -m pip install --upgrade --upgrade-strategy eager --no-cache-dir . | ||
- name: Set PYTHONPATH | ||
run: | | ||
echo "PYTHONPATH=$PYTHONPATH:$(pwd)/src" >> $GITHUB_ENV | ||
- name: Run Pylint Models | ||
run: pylint models_builder | ||
- name: Run Pylint defense | ||
run: pylint defense | ||
- name: Run Pylint attacks | ||
run: pylint attacks | ||
- name: Run Pylint aux | ||
run: pylint aux | ||
- name: Run Pylint explainers | ||
run: pylint explainers | ||
|
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
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 |
---|---|---|
|
@@ -21,5 +21,6 @@ patsy | |
packaging | ||
opt-einsum | ||
pandas==2.2.0 | ||
pylint | ||
|
||
torch_geometric==2.3.1 |
Oops, something went wrong.