-
Notifications
You must be signed in to change notification settings - Fork 2
upgrade packages and remove AUTHOR_EMAIL and AUTHOR_NAME because it breaks signed commit #17
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
Changes from 6 commits
8858d4f
244cce9
2a410c8
31febb7
6c59ea2
ef060b8
44d3104
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[mypy] | ||
python_version = 3.7 | ||
python_version = 3.12 | ||
mypy_path = gitlab2sentry | ||
|
||
[mypy-pytest] | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,8 +8,6 @@ | |
TEST_DSN_MR_CONTENT, | ||
TEST_DSN_MR_DESCRIPTION, | ||
TEST_DSN_MR_TITLE, | ||
TEST_GITLAB_AUTHOR_EMAIL, | ||
TEST_GITLAB_AUTHOR_NAME, | ||
TEST_GITLAB_GRAPHQL_PAGE_LENGTH, | ||
TEST_GITLAB_GRAPHQL_SUFFIX, | ||
TEST_GITLAB_GRAPHQL_TIMEOUT, | ||
|
@@ -138,16 +136,6 @@ def is_test_env(env: str) -> bool: | |
else int(os.environ["GITLAB_GRAPHQL_PAGE_LENGTH"]) | ||
) | ||
GITLAB_GROUP_IDENTIFIER = os.getenv("GITLAB_GROUP_IDENTIFIER", "") | ||
GITLAB_AUTHOR_EMAIL = ( | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. J'aurais été de l'avis de rajouter une option There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I agree that it’s important to apply conditions in this case, as it remains relevant in other setups as well. I'm working on proposing a change that aligns with this approach. |
||
TEST_GITLAB_AUTHOR_EMAIL | ||
if is_test_env(ENV) | ||
else os.environ["GITLAB_AUTHOR_EMAIL"] | ||
) | ||
GITLAB_AUTHOR_NAME = ( | ||
TEST_GITLAB_AUTHOR_NAME | ||
if is_test_env(ENV) | ||
else os.environ["GITLAB_AUTHOR_NAME"] | ||
) | ||
GITLAB_PROJECT_CREATION_LIMIT = int(os.getenv("GITLAB_CREATION_DAYS_LIMIT", 30)) | ||
GITLAB_RMV_SRC_BRANCH = ( | ||
TEST_GITLAB_RMV_SRC_BRANCH | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,7 @@ | ||
aiohttp==3.8.1 | ||
aiohttp==3.10.5 | ||
awesome-slugify==1.6.5 | ||
certifi==2020.6.20 | ||
Solvik marked this conversation as resolved.
Show resolved
Hide resolved
|
||
chardet==3.0.4 | ||
gql==3.2.0 | ||
idna==2.10 | ||
python-gitlab==2.5.0 | ||
gql==3.5.0 | ||
python-gitlab==4.10.0 | ||
pytz==2022.1 | ||
pyyaml==6.0.0 | ||
regex==2020.10.28 | ||
requests==2.24.0 | ||
requests-toolbelt==0.9.1 | ||
sentry-sdk==0.19.5 | ||
Unidecode==0.4.21 | ||
urllib3==1.25.11 | ||
requests==2.32.3 | ||
sentry-sdk==2.14.0 |
Uh oh!
There was an error while loading. Please reload this page.