Skip to content

Commit

Permalink
Pull request update/231218
Browse files Browse the repository at this point in the history
a70e1dc OS-7170: Updated ActionBarHeader typing
d040488 OS-7010. Added verification of required methods in cloud
adapter
84ee546 OS-6973: Need to restrict an ability to select dropdown for
user without permissions to select value
1cfed46 OS-5458: Fixed translation
0d17f7f OS-6769: Fixed tags breakdown chart
f24af87 OS-5941: Fixed recursive component re-render
5407c94 OS-6635. Auth pylint and pycodestyle update
  • Loading branch information
maxb-hystax authored Dec 20, 2023
2 parents f70de9a + a70e1dc commit 110314e
Show file tree
Hide file tree
Showing 147 changed files with 1,924 additions and 10,250 deletions.
10 changes: 7 additions & 3 deletions auth/.pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@
reports=no

[MESSAGES CONTROL]
disable=R,C0111
disable=R,C0111, W0707

[BASIC]
good-names=i, db, id
generated-members=deleted, id, state, metadata
class-const-naming-style=any
good-names=i, db, id, revision, down_revision, branch_labels, depends_on
generated-members=deleted, id, is_, in_, op.get_bind, op.create_index,
op.drop_index, op.add_column, op.drop_column, op.create_table, op.drop_table,
op.create_foreign_key, op.create_unique_constraint, op.drop_constraint,
op.alter_column, op.bulk_insert, op.f, op.execute, op.create_primary_key
2 changes: 1 addition & 1 deletion auth/Dockerfile_tests
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ LABEL org.opencontainers.image.authors="Hystax"

COPY optscale_client/auth_client /usr/src/app/optscale_client/auth_client
COPY auth/test-requirements.txt auth/test-requirements.txt
COPY auth/.pylintrc auth/.noserc auth/.coveragerc ./auth/auth_server/
COPY auth/.pylintrc auth/.noserc auth/.coveragerc ./auth/
RUN pip install --no-cache-dir -r auth/test-requirements.txt

COPY auth/auth_server/tests auth/auth_server/tests
Empty file added auth/__init__.py
Empty file.
7 changes: 5 additions & 2 deletions auth/auth_server/alembic/env.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
from __future__ import with_statement
from logging.config import fileConfig
from alembic import context
from sqlalchemy import engine_from_config, pool
from logging.config import fileConfig

import auth.auth_server.models.models
# this is the Alembic Config object, which provides
# access to the values within the .ini file in use.
config = context.config
config = context.config # pylint: disable=E1101

# Interpret the config file for Python logging.
# This line sets up loggers basically.
Expand All @@ -25,6 +25,7 @@


def run_migrations_offline():
# pylint: disable=E1101
"""Run migrations in 'offline' mode.
This configures the context with just a URL
Expand All @@ -45,6 +46,7 @@ def run_migrations_offline():


def run_migrations_online():
# pylint: disable=E1101
"""Run migrations in 'online' mode.
In this scenario we need to create an Engine
Expand All @@ -65,6 +67,7 @@ def run_migrations_online():
with context.begin_transaction():
context.run_migrations()


if context.is_offline_mode():
run_migrations_offline()
else:
Expand Down

This file was deleted.

Loading

0 comments on commit 110314e

Please sign in to comment.