Fixed code quality issues (#15541)
* Added .deepsource.toml * Removed bad use of `alias` * Fixed operand order in the binary expression * Prefixed unused method arguments with an underscore * Replaced the old OpenSSL algorithmic constants with the newer strings initializers. * Removed unnecessary UTF-8 encoding comment
This commit is contained in:
parent
3efa0c54b6
commit
c8d11b8bdb
9 changed files with 26 additions and 10 deletions
|
@ -75,7 +75,7 @@ module Twitter
|
|||
# XMPP or magnet URIs an empty array will be returned.
|
||||
#
|
||||
# If a block is given then it will be called for each XMPP URI.
|
||||
def extract_extra_uris_with_indices(text, options = {}) # :yields: uri, start, end
|
||||
def extract_extra_uris_with_indices(text, _options = {}) # :yields: uri, start, end
|
||||
return [] unless text && text.index(":")
|
||||
urls = []
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue