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

Allow to pass language with any-case letters #207

Merged
merged 2 commits into from
Feb 11, 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
6 changes: 3 additions & 3 deletions .github/workflows/ossar-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
steps:
# Checkout your code repository to scan
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
Expand All @@ -27,9 +27,9 @@ jobs:

# Install dotnet, used by OSSAR
- name: Install .NET
uses: actions/setup-dotnet@v2
uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.0.x'
dotnet-version: '6.x'

# Run open source static analysis tools
- name: Run OSSAR
Expand Down
2 changes: 1 addition & 1 deletion sumy/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def normalize_language(language):
except KeyError:
pass

return language
return language.lower()


def fetch_url(url, timeout=(3.05, 30)):
Expand Down
Loading