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

Enable flake8-executable plugin for ruff #2336

Merged
merged 1 commit into from
Oct 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file modified galaxy_ng/_vendor/automated_logging/__init__.py
100755 → 100644
Empty file.
Empty file modified galaxy_ng/_vendor/automated_logging/apps.py
100755 → 100644
Empty file.
Empty file modified galaxy_ng/_vendor/automated_logging/handlers.py
100755 → 100644
Empty file.
Empty file modified galaxy_ng/_vendor/automated_logging/models.py
100755 → 100644
Empty file.
Empty file modified galaxy_ng/app/api/ui/v1/views/feature_flags.py
100755 → 100644
Empty file.
Empty file modified galaxy_ng/app/dynaconf_hooks.py
100755 → 100644
Empty file.
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/env python3


import datetime
import logging
import requests
Expand Down
Empty file.
2 changes: 0 additions & 2 deletions galaxy_ng/social/pipeline/user.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python3

import logging

from galaxy_ng.app.models.auth import User
Expand Down
2 changes: 0 additions & 2 deletions galaxy_ng/tests/integration/api/test_ui_namespace_owners.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python3

import copy
import random

Expand Down
2 changes: 0 additions & 2 deletions galaxy_ng/tests/integration/api/test_ui_paths.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python3

import random
import json
import subprocess
Expand Down
2 changes: 0 additions & 2 deletions galaxy_ng/tests/integration/api/test_ui_paths_gateway.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python3

import os
import random
import pytest
Expand Down
2 changes: 0 additions & 2 deletions galaxy_ng/tests/integration/api/test_v3_plugin_paths.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python3

import pytest
from jsonschema import validate as validate_json

Expand Down
Empty file modified galaxy_ng/tests/integration/conftest.py
100755 → 100644
Empty file.
Empty file modified galaxy_ng/tests/integration/constants.py
100755 → 100644
Empty file.
3 changes: 0 additions & 3 deletions galaxy_ng/tests/integration/schemas.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/env python3


schema_objectlist = {
'type': 'object',
'additional_properties': False,
Expand Down
Empty file modified galaxy_ng/tests/integration/utils/iqe_utils.py
100755 → 100644
Empty file.
2 changes: 0 additions & 2 deletions galaxy_ng/tests/integration/utils/ldap.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

import atexit
import base64
import hashlib
Expand Down
2 changes: 0 additions & 2 deletions galaxy_ng/tests/unit/app/utils/test_galaxy.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python3

import uuid

from django.test import TestCase
Expand Down
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ select = [
"COM",
# flake8-datetime
"DTZ",
# flake8-executable
"EXE",
# flake8-no-pep420
"INP",
# flake8-gettext
Expand Down Expand Up @@ -170,7 +172,7 @@ extend-ignore = [

[tool.ruff.lint.per-file-ignores]
# The `galaxy_ng` is the only top-level package. No other directory contains python packages.
"!galaxy_ng/**" = ["INP"]
"!galaxy_ng/**" = ["INP", "EXE"]
# Ignore "E501 Line too long" in migrations, since most of the warnings
# are due to autogenerated code.
"galaxy_ng/app/migrations/*" = ["E501"]
Expand Down
Loading