This repository has been archived by the owner on Jan 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[noissue]
- Loading branch information
Showing
105 changed files
with
4,792 additions
and
3,077 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
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 |
---|---|---|
@@ -1,17 +1,25 @@ | ||
[flake8] | ||
exclude = ./docs/*,*/migrations/*, ./pulp_2to3_migration/app/json_schema.py | ||
ignore = W503,Q000,Q003,D100,D104,D105,D106,D200,D202,D204,D205,D400,D401,D402 | ||
ignore = E203,W503,Q000,Q003,D100,D104,D106,D200,D205,D400,D401,D402 | ||
max-line-length = 100 | ||
|
||
# Flake8 builtin codes | ||
# -------------------- | ||
# E203: no whitespace around ':'. disabled until https://github.com/PyCQA/pycodestyle/issues/373 is fixed | ||
# W503: This enforces operators before line breaks which is not pep8 or black compatible. | ||
|
||
# Flake8-quotes extension codes | ||
# ----------------------------- | ||
# Q000: double or single quotes only, default is double (don't want to enforce this) | ||
# Q003: Change outer quotes to avoid escaping inner quotes | ||
|
||
# Flake8-docstring extension codes | ||
# -------------------------------- | ||
# D100: missing docstring in public module | ||
# D104: missing docstring in public package | ||
# D106: missing docstring in public nested class (complains about "class Meta:" and documenting those is silly) | ||
# D200: one-line docstring should fit on one line with quotes | ||
# D205: 1 blank line required between summary line and description | ||
# D400: First line should end with a period | ||
# D401: first line should be imperative (nitpicky) | ||
# D402: first line should not be the function’s “signature” (false positives) |
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 |
---|---|---|
@@ -1 +1 @@ | ||
2021.08.26-150-gc95d3f2 | ||
2021.08.26-152-g5ab12e7 |
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
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 |
---|---|---|
@@ -1,7 +1 @@ | ||
DATABASES = { | ||
"default": { | ||
"NAME": "pulp", | ||
"USER": "pulp", | ||
"PASSWORD": "pulp" | ||
} | ||
} | ||
DATABASES = {"default": {"NAME": "pulp", "USER": "pulp", "PASSWORD": "pulp"}} |
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,5 @@ | ||
# python packages handy for developers, but not required by pulp | ||
black | ||
check-manifest | ||
flake8 | ||
flake8-black |
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 |
---|---|---|
@@ -1 +1 @@ | ||
default_app_config = 'pulp_2to3_migration.app.Pulp2To3MigrationPluginAppConfig' | ||
default_app_config = "pulp_2to3_migration.app.Pulp2To3MigrationPluginAppConfig" |
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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
# for tasking system to ensure only one migration is run at a time | ||
PULP_2TO3_MIGRATION_RESOURCE = 'pulp_2to3_migration' | ||
PULP_2TO3_MIGRATION_RESOURCE = "pulp_2to3_migration" | ||
|
||
PULP_2TO3_POLICIES = { | ||
'immediate': 'immediate', | ||
'on_demand': 'on_demand', | ||
'background': 'on_demand', | ||
"immediate": "immediate", | ||
"on_demand": "on_demand", | ||
"background": "on_demand", | ||
} | ||
|
||
NOT_USED = 'Not Used' | ||
NOT_USED = "Not Used" | ||
|
||
DEFAULT_BATCH_SIZE = 1000 |
Oops, something went wrong.