-
Notifications
You must be signed in to change notification settings - Fork 16
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
feat: updates in Projects, TMs, Files, Screenshots, Strings APIs #81
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #81 +/- ##
==========================================
+ Coverage 98.08% 98.11% +0.03%
==========================================
Files 61 61
Lines 2810 2899 +89
==========================================
+ Hits 2756 2844 +88
- Misses 54 55 +1 ☔ View full report in Codecov by Sentry. |
…I Resources updates and refactoring. Some other small style changes.
8f34404
to
d32d068
Compare
# Offense count: 14 | ||
# This cop supports safe autocorrection (--autocorrect). | ||
# Configuration parameters: EnforcedStyle. | ||
# SupportedStyles: empty_lines, no_empty_lines | ||
Layout/EmptyLinesAroundBlockBody: | ||
Exclude: | ||
- 'spec/api_resources/labels_spec.rb' | ||
- 'spec/api_resources/projects_spec.rb' | ||
- 'spec/api_resources/source_files_spec.rb' | ||
- 'spec/api_resources/source_strings_spec.rb' | ||
- 'spec/api_resources/translation_memory_spec.rb' | ||
|
||
# Offense count: 10 | ||
# This cop supports safe autocorrection (--autocorrect). | ||
# Configuration parameters: EnforcedStyle. | ||
# SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines | ||
Layout/EmptyLinesAroundModuleBody: | ||
Exclude: | ||
- 'lib/crowdin-api/api_resources/labels.rb' | ||
- 'lib/crowdin-api/api_resources/projects.rb' | ||
- 'lib/crowdin-api/api_resources/source_files.rb' | ||
- 'lib/crowdin-api/api_resources/source_strings.rb' | ||
- 'lib/crowdin-api/api_resources/translation_memory.rb' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks wrong to exclude linter warnings for the specified files
@@ -127,10 +128,10 @@ def check_tm_import_status(tm_id = nil, import_id = nil) | |||
Web::SendRequest.new(request).perform | |||
end | |||
|
|||
def search_tms_concordance(project_id = nil, query = {}) | |||
def search_tms_concordance(query = {}, project_id = nil) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is the order changed? It might break compatibility
Will close the following issues:
qaChecksIgnorableCategories
support #42