diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/fat/directory.go b/fat/directory.go
index <HASH>..<HASH> 100644
--- a/fat/directory.go
+++ b/fat/directory.go
@@ -120,6 +120,10 @@ func (d *DirectoryEntry) Name() string {
}
func (d *DirectoryEntry) ShortName() string {
+ if d.entry.name == "." || d.entry.name == ".." {
+ return d.entry.name
+ }
+
r... | fat: handle ./.. in the directory name |
diff --git a/src/Command/DropDatabaseDoctrineCommand.php b/src/Command/DropDatabaseDoctrineCommand.php
index <HASH>..<HASH> 100644
--- a/src/Command/DropDatabaseDoctrineCommand.php
+++ b/src/Command/DropDatabaseDoctrineCommand.php
@@ -89,7 +89,8 @@ EOT
$ifExists = $input->getOption('if-exists');
- u... | use the same code in drop as in create |
diff --git a/array/rotate_array.py b/array/rotate_array.py
index <HASH>..<HASH> 100644
--- a/array/rotate_array.py
+++ b/array/rotate_array.py
@@ -28,6 +28,10 @@ def rotate_one_by_one(nums, k):
nums[0] = temp
+#
+# Reverse segments of the array, followed by the entire array
+# T(n)- O(n)
+#
def rotate(num... | Added time complexity of the optimized solution |
diff --git a/hbmqtt/utils.py b/hbmqtt/utils.py
index <HASH>..<HASH> 100644
--- a/hbmqtt/utils.py
+++ b/hbmqtt/utils.py
@@ -13,4 +13,11 @@ def not_in_dict_or_none(dict, key):
if key not in dict or dict[key] is None:
return True
else:
- return False
\ No newline at end of file
+ return Fa... | Add method for formatting client info (address, port, id) |
diff --git a/telethon/client/auth.py b/telethon/client/auth.py
index <HASH>..<HASH> 100644
--- a/telethon/client/auth.py
+++ b/telethon/client/auth.py
@@ -155,7 +155,7 @@ class AuthMethods:
'not login to the bot account using the provided '
'bot_token (it may not be usi... | Fix warning when using formatted phones in start (#<I>) |
diff --git a/libraries/botframework-connector/setup.py b/libraries/botframework-connector/setup.py
index <HASH>..<HASH> 100644
--- a/libraries/botframework-connector/setup.py
+++ b/libraries/botframework-connector/setup.py
@@ -12,6 +12,7 @@ REQUIRES = [
"PyJWT==1.5.3",
"botbuilder-schema>=4.7.1",
"adal==... | Updated botframework-connector setup.py requirements. |
diff --git a/test/spec.js b/test/spec.js
index <HASH>..<HASH> 100644
--- a/test/spec.js
+++ b/test/spec.js
@@ -92,7 +92,7 @@ describe('Task: checkDependencies', () => {
});
// Deprecated.
- it('should install missing packages and continue when `install` and `continue`' +
+ it('(deprecated) should ... | Mark `continue` as deprecated in the test message |
diff --git a/expression/bench_test.go b/expression/bench_test.go
index <HASH>..<HASH> 100644
--- a/expression/bench_test.go
+++ b/expression/bench_test.go
@@ -1118,8 +1118,6 @@ func genVecExprBenchCase(ctx sessionctx.Context, funcName string, testCase vecEx
// testVectorizedEvalOneVec is used to verify that the vector... | expression: fix data race in builtin_other_vec_generated_test.go (#<I>) |
diff --git a/uaa/src/test/java/org/cloudfoundry/identity/uaa/integration/feature/DefaultIntegrationTestConfig.java b/uaa/src/test/java/org/cloudfoundry/identity/uaa/integration/feature/DefaultIntegrationTestConfig.java
index <HASH>..<HASH> 100644
--- a/uaa/src/test/java/org/cloudfoundry/identity/uaa/integration/feature... | Allow self-signed certs when running integration tests
[#<I>] <URL> |
diff --git a/salt/modules/virtualenv_mod.py b/salt/modules/virtualenv_mod.py
index <HASH>..<HASH> 100644
--- a/salt/modules/virtualenv_mod.py
+++ b/salt/modules/virtualenv_mod.py
@@ -176,7 +176,7 @@ def create(path,
cmd.append('--distribute')
if python is not None and python.strip() != '':
-... | allow lookup of python on system path fix: #<I>
fixes #<I> |
diff --git a/src/playbacks/hls/hls.js b/src/playbacks/hls/hls.js
index <HASH>..<HASH> 100644
--- a/src/playbacks/hls/hls.js
+++ b/src/playbacks/hls/hls.js
@@ -44,6 +44,7 @@ export default class HLS extends HTML5VideoPlayback {
// be ignored. "playableRegionDuration" does not consider this
this.playableRegionD... | hls: Limmit recover attempts. |
diff --git a/mapi/constants.py b/mapi/constants.py
index <HASH>..<HASH> 100644
--- a/mapi/constants.py
+++ b/mapi/constants.py
@@ -1,4 +1,5 @@
# coding=utf-8
+
from datetime import date as _date
ABOUT_AUTHOR = 'Jessy Williams'
@@ -66,4 +67,5 @@ USER_AGENT_EDGE = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebK... | Renames api key environment variable constants |
diff --git a/src/models/event-timeline-set.js b/src/models/event-timeline-set.js
index <HASH>..<HASH> 100644
--- a/src/models/event-timeline-set.js
+++ b/src/models/event-timeline-set.js
@@ -746,6 +746,10 @@ EventTimelineSet.prototype._aggregateRelations = function(event) {
eventType,
this.roo... | Add `Event.relationsCreated` event to listen for future relations collections
If you ask for relations but none currently exist, we return `null` to avoid the
overhead of many empty relations objects in memory. However, we still want some
way to alert consumers when one _is_ later made, so this event level event
provi... |
diff --git a/mock/mock.go b/mock/mock.go
index <HASH>..<HASH> 100644
--- a/mock/mock.go
+++ b/mock/mock.go
@@ -147,7 +147,7 @@ func (c *Call) After(d time.Duration) *Call {
}
// Run sets a handler to be called before returning. It can be used when
-// mocking a method such as unmarshalers that takes a pointer to a ... | Grammatical change in documentation for Run()
There was a switch between singular and plural which made this line a
little bit hard to parse. |
diff --git a/js/ghostdown.js b/js/ghostdown.js
index <HASH>..<HASH> 100644
--- a/js/ghostdown.js
+++ b/js/ghostdown.js
@@ -87,11 +87,11 @@ window.socket = io();
$(e.target).closest('section').addClass('active');
});
- //You're probably looking for this to add functionality when the text
- //changes.
+ ... | Fixed issue where flag wasn't being reset |
diff --git a/plugins/guests/esxi/cap/public_key.rb b/plugins/guests/esxi/cap/public_key.rb
index <HASH>..<HASH> 100644
--- a/plugins/guests/esxi/cap/public_key.rb
+++ b/plugins/guests/esxi/cap/public_key.rb
@@ -24,7 +24,9 @@ module VagrantPlugins
set -e
SSH_DIR="$(grep -q '^AuthorizedKeysFile\... | esxi guest: do not fail when we cannot set the ssh directory permissions in esxi <I> |
diff --git a/SingularityService/src/main/java/com/hubspot/singularity/data/RackManager.java b/SingularityService/src/main/java/com/hubspot/singularity/data/RackManager.java
index <HASH>..<HASH> 100644
--- a/SingularityService/src/main/java/com/hubspot/singularity/data/RackManager.java
+++ b/SingularityService/src/main/... | Delegate to superclass when appropriate. |
diff --git a/systemd/test/test_daemon.py b/systemd/test/test_daemon.py
index <HASH>..<HASH> 100644
--- a/systemd/test/test_daemon.py
+++ b/systemd/test/test_daemon.py
@@ -26,7 +26,7 @@ def closing_socketpair(family):
def test_booted():
- if os.path.exists('/run/systemd'):
+ if os.path.exists('/run/systemd/sy... | tests: mirror is-systemd-running test from systemd |
diff --git a/lib/solve.rb b/lib/solve.rb
index <HASH>..<HASH> 100644
--- a/lib/solve.rb
+++ b/lib/solve.rb
@@ -25,7 +25,10 @@ module Solve
# @param [Array<Solve::Demand>, Array<String, String>] demands
#
# @option options [#say] :ui (nil)
- # a ui object for output
+ # a ui object for output, t... | Allow a user to pass in their own Tracer object so they are not forced
into using the HumanReadable one. |
diff --git a/lib/action_cable_notifications/callbacks.rb b/lib/action_cable_notifications/callbacks.rb
index <HASH>..<HASH> 100644
--- a/lib/action_cable_notifications/callbacks.rb
+++ b/lib/action_cable_notifications/callbacks.rb
@@ -45,8 +45,6 @@ module ActionCableNotifications
end
end
- private
-
... | Allows callbacks to be called directly on the model instance |
diff --git a/src/PackageChangeLogServiceProvider.php b/src/PackageChangeLogServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/PackageChangeLogServiceProvider.php
+++ b/src/PackageChangeLogServiceProvider.php
@@ -12,7 +12,10 @@ class PackageChangeLogServiceProvider extends ServiceProvider
Commands\PC... | run append chk only once |
diff --git a/lib/record.js b/lib/record.js
index <HASH>..<HASH> 100644
--- a/lib/record.js
+++ b/lib/record.js
@@ -1,7 +1,7 @@
var _ = require('lodash');
var Record = function(data) {
-
+
var self = this;
this.attributes = {};
@@ -19,7 +19,7 @@ var Record = function(data) {
self._attachment = val;
... | fixes issue with getFileName and the filename property mismatch #<I> |
diff --git a/tomodachi/protocol/protobuf_base.py b/tomodachi/protocol/protobuf_base.py
index <HASH>..<HASH> 100644
--- a/tomodachi/protocol/protobuf_base.py
+++ b/tomodachi/protocol/protobuf_base.py
@@ -2,6 +2,7 @@ import logging
import uuid
import time
import base64
+import zlib
from typing import Any, Dict, Tuple... | added support for gzipped proto message payload |
diff --git a/server/migrations/04-00400-query-history-to-batch.js b/server/migrations/04-00400-query-history-to-batch.js
index <HASH>..<HASH> 100644
--- a/server/migrations/04-00400-query-history-to-batch.js
+++ b/server/migrations/04-00400-query-history-to-batch.js
@@ -86,7 +86,7 @@ async function up(queryInterface, c... | make view compatible with MSSQL |
diff --git a/uptick/wallet.py b/uptick/wallet.py
index <HASH>..<HASH> 100644
--- a/uptick/wallet.py
+++ b/uptick/wallet.py
@@ -64,14 +64,15 @@ def addkey(ctx, key):
installedKeys = ctx.bitshares.wallet.getPublicKeys()
if len(installedKeys) == 1:
name = ctx.bitshares.wallet.getAccountFromPublicKey(ins... | [addkey] do not set a default_account if no name can be found to the key |
diff --git a/app/lang/fr/cachet.php b/app/lang/fr/cachet.php
index <HASH>..<HASH> 100644
--- a/app/lang/fr/cachet.php
+++ b/app/lang/fr/cachet.php
@@ -4,8 +4,8 @@ return [
// Components
'components' => [
'status' => [
- 1 => 'Opérationel',
- 2 => 'Problèmes de performances',
+ ... | [French] Wording + typo |
diff --git a/Highlight/Language.php b/Highlight/Language.php
index <HASH>..<HASH> 100644
--- a/Highlight/Language.php
+++ b/Highlight/Language.php
@@ -231,7 +231,7 @@ class Language extends Mode
private function expandMode($mode)
{
- if (count($mode->variants) && !count($mode->cachedVariants)) {
+ ... | Allow variants to be nullable |
diff --git a/inginious/frontend/lti/lis_outcome_manager.py b/inginious/frontend/lti/lis_outcome_manager.py
index <HASH>..<HASH> 100644
--- a/inginious/frontend/lti/lis_outcome_manager.py
+++ b/inginious/frontend/lti/lis_outcome_manager.py
@@ -36,8 +36,8 @@ class LisOutcomeManager(threading.Thread):
self._cours... | (probably) fix a race-condition in lis_outcome_manager, forbidding it to start |
diff --git a/Gruntfile.js b/Gruntfile.js
index <HASH>..<HASH> 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -42,9 +42,9 @@ module.exports = function(grunt) {
}
},
watch: {
- test: {
+ build: {
files: ['src/**/*.js', 'test/**/*.js', '*.js'],
- tasks: ['eslint:all', 'browserif... | fix issue with grunt serve not building source when the task first starts |
diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php
index <HASH>..<HASH> 100755
--- a/src/Illuminate/Support/Facades/Blade.php
+++ b/src/Illuminate/Support/Facades/Blade.php
@@ -17,7 +17,7 @@ namespace Illuminate\Support\Facades;
* @method static void compile(string|null $... | Update Blade.php (#<I>) |
diff --git a/lib/json_schemer/schema/base.rb b/lib/json_schemer/schema/base.rb
index <HASH>..<HASH> 100644
--- a/lib/json_schemer/schema/base.rb
+++ b/lib/json_schemer/schema/base.rb
@@ -93,6 +93,8 @@ module JSONSchemer
validate_custom_format(instance, formats.fetch(format), &block)
end
+ d... | Fix keywords option
`data` was referenced before it was assigned. Need some tests... |
diff --git a/Kwc/Shop/Products/Detail/AddToCartGenerator.php b/Kwc/Shop/Products/Detail/AddToCartGenerator.php
index <HASH>..<HASH> 100644
--- a/Kwc/Shop/Products/Detail/AddToCartGenerator.php
+++ b/Kwc/Shop/Products/Detail/AddToCartGenerator.php
@@ -6,12 +6,11 @@ class Kwc_Shop_Products_Detail_AddToCartGenerator exten... | access own child components, don't get them from class settings with fixed generator key |
diff --git a/examples/merge_config.py b/examples/merge_config.py
index <HASH>..<HASH> 100644
--- a/examples/merge_config.py
+++ b/examples/merge_config.py
@@ -37,7 +37,7 @@
# # Ops... assigned twice
# # CONFIG_FOO is not set
#
-# Ops... this symbol doesn't exist
+# # Ops... this symbol doesn't exist
... | merge_config.py: Clean up name_and_loc_str()
- Rename to name_and_loc(), to be consistent with the kconfiglib.py
version
- Use a comment instead of a docstring. Shorten the description a bit
too.
- Piggyback a missing # in conf3 in the module docstring. Typo. |
diff --git a/src/org/parosproxy/paros/model/SiteMap.java b/src/org/parosproxy/paros/model/SiteMap.java
index <HASH>..<HASH> 100644
--- a/src/org/parosproxy/paros/model/SiteMap.java
+++ b/src/org/parosproxy/paros/model/SiteMap.java
@@ -33,6 +33,7 @@
// ZAP: 2014/01/06 Issue 965: Support 'single page' apps and 'non stan... | Changed SiteMap to initialise the root node with a reference to SiteMap itself so the root node can notify SiteMap of changes (through SiteNode#nodeChangedEventHandler()). |
diff --git a/lib/app.js b/lib/app.js
index <HASH>..<HASH> 100644
--- a/lib/app.js
+++ b/lib/app.js
@@ -45,7 +45,13 @@ function App(config) {
}
});
- // this.meteorApp.stdout.pipe(process.stdout);
+ this.meteorApp.stdout.on('data', function(data) {
+ data = data.toString();
+ if(data.match(... | print stdout with error information to the console |
diff --git a/src/python/test/test_dxclient.py b/src/python/test/test_dxclient.py
index <HASH>..<HASH> 100755
--- a/src/python/test/test_dxclient.py
+++ b/src/python/test/test_dxclient.py
@@ -1794,7 +1794,7 @@ dxpy.run()
# download tar.gz file
gen_file_tar("test-file", "test.tar.gz", proj_id)
... | DEVEX-<I> Change assert to fix the OSX test |
diff --git a/Request/ParamFetcher.php b/Request/ParamFetcher.php
index <HASH>..<HASH> 100644
--- a/Request/ParamFetcher.php
+++ b/Request/ParamFetcher.php
@@ -161,7 +161,7 @@ class ParamFetcher implements ParamFetcherInterface
if ('' !== $config->requirements
&& ($param !== $default || null === ... | Update ParamFetcher to handle UTF8 requirements
Added the 'u' modifier to the regex in cleanParamWithRequirements() so that parameters with UTF8 content will work with the regex.
Fixes #<I> |
diff --git a/src/shared/js/ch.Expandable.js b/src/shared/js/ch.Expandable.js
index <HASH>..<HASH> 100644
--- a/src/shared/js/ch.Expandable.js
+++ b/src/shared/js/ch.Expandable.js
@@ -10,7 +10,7 @@
options = {
'content': options
};
- }2
+ }
return options... | # <I> Expandable: Delete number '2' from line <I>. |
diff --git a/gff3/gff3.py b/gff3/gff3.py
index <HASH>..<HASH> 100644
--- a/gff3/gff3.py
+++ b/gff3/gff3.py
@@ -47,7 +47,7 @@ CODON_TABLE = dict(zip(CODONS, AMINO_ACIDS))
def translate(seq):
seq = seq.lower().replace('\n', '').replace(' ', '')
peptide = ''
- for i in xrange(0, len(seq), 3):
+ for i in r... | remove xrange to make it compatible to Python 3 |
diff --git a/src/screenfull.js b/src/screenfull.js
index <HASH>..<HASH> 100644
--- a/src/screenfull.js
+++ b/src/screenfull.js
@@ -6,8 +6,7 @@
var fn = (function () {
var val;
- var valLength;
-
+
var fnMap = [
[
'requestFullscreen',
@@ -62,7 +61,7 @@
for (; i < l; i++) {
val = fnMap[i];
... | Minor code tweak (#<I>) |
diff --git a/lib/ruby-lint/definitions/core/kernel.rb b/lib/ruby-lint/definitions/core/kernel.rb
index <HASH>..<HASH> 100644
--- a/lib/ruby-lint/definitions/core/kernel.rb
+++ b/lib/ruby-lint/definitions/core/kernel.rb
@@ -492,4 +492,13 @@ RubyLint.global_scope.define_constant('Kernel') do |klass|
klass.define_insta... | Properly include Kernel into the global scope.
This code was removed by accident when the definitions for Kernel were
re-generated. |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -73,6 +73,7 @@ setup(
"ukpostcodeparser>=1.1.1",
"mock",
"pytest>=3.8.0,<3.9",
+ "more-itertools<6.0.0",
],
extras_require={
':python_version=="2.7"': [ | Pin more-itertools to a version compatible with py<I> (#<I>) |
diff --git a/azurerm/helpers/validate/api_management.go b/azurerm/helpers/validate/api_management.go
index <HASH>..<HASH> 100644
--- a/azurerm/helpers/validate/api_management.go
+++ b/azurerm/helpers/validate/api_management.go
@@ -71,7 +71,7 @@ func ApiManagementApiName(v interface{}, k string) (ws []string, es []error... | Update path validation for api management api
Adding support for paths that start with the character '.'
This is important for path implementations such as ".well-known" in universal links |
diff --git a/src/FOM/UserBundle/Form/Type/ACLType.php b/src/FOM/UserBundle/Form/Type/ACLType.php
index <HASH>..<HASH> 100644
--- a/src/FOM/UserBundle/Form/Type/ACLType.php
+++ b/src/FOM/UserBundle/Form/Type/ACLType.php
@@ -133,13 +133,13 @@ class ACLType extends AbstractType
$permissions = is_string($options['... | Resolve deprecated CollectionType option usage |
diff --git a/test/integration/rails/dummy/config/application.rb b/test/integration/rails/dummy/config/application.rb
index <HASH>..<HASH> 100644
--- a/test/integration/rails/dummy/config/application.rb
+++ b/test/integration/rails/dummy/config/application.rb
@@ -1,12 +1,12 @@
require File.expand_path('../boot', __FILE... | use slim instead of slim/rails |
diff --git a/src/Chrisguitarguy/Annotation/Tokens.php b/src/Chrisguitarguy/Annotation/Tokens.php
index <HASH>..<HASH> 100644
--- a/src/Chrisguitarguy/Annotation/Tokens.php
+++ b/src/Chrisguitarguy/Annotation/Tokens.php
@@ -43,8 +43,10 @@ final class Tokens
const T_WHITESPACE = 'T_WHITESPACE';
const T_EOF... | ignore Tokens::__construct on code coverage reports |
diff --git a/packages/veritone-react-common/src/helpers/withMuiThemeProvider.js b/packages/veritone-react-common/src/helpers/withMuiThemeProvider.js
index <HASH>..<HASH> 100644
--- a/packages/veritone-react-common/src/helpers/withMuiThemeProvider.js
+++ b/packages/veritone-react-common/src/helpers/withMuiThemeProvider.... | fix theme colors, bring in button override from vda |
diff --git a/build/fn.js b/build/fn.js
index <HASH>..<HASH> 100644
--- a/build/fn.js
+++ b/build/fn.js
@@ -60,7 +60,7 @@ fn.concat = function () {
var args = fn.toArray(arguments);
var first = args[ 0 ];
- if (!fn.is(first, 'array') && !fn.is(first, 'string')) {
+ if (!fn.is('array', first) && !fn.is('string', fi... | The order of arguments has changed for 'is' |
diff --git a/tests/CollectionExtendedTest.php b/tests/CollectionExtendedTest.php
index <HASH>..<HASH> 100644
--- a/tests/CollectionExtendedTest.php
+++ b/tests/CollectionExtendedTest.php
@@ -607,8 +607,11 @@ class CollectionExtendedTest extends
$exampleDocument = Document::createFromArray(array('someNewA... | Extended test with getCount() for byExample() |
diff --git a/config.js b/config.js
index <HASH>..<HASH> 100644
--- a/config.js
+++ b/config.js
@@ -14,7 +14,10 @@ config.items =
, invalidRequestMessage:
{ def: "Invalid request. Make sure you are respecting the sprite maker api (https://github.com/vigour-io/vigour-img/blob/master/README.md#user-content-api) and t... | Add command-line option to change port |
diff --git a/src/bin/nca-release.js b/src/bin/nca-release.js
index <HASH>..<HASH> 100644
--- a/src/bin/nca-release.js
+++ b/src/bin/nca-release.js
@@ -28,7 +28,8 @@ export default function run() {
console.log(chalk.green(`The tag "${version}" was successfully released.`))
}
else {
- console.lo... | show how to release in circleci when release fails |
diff --git a/phpsec/phpsec.crypt.php b/phpsec/phpsec.crypt.php
index <HASH>..<HASH> 100644
--- a/phpsec/phpsec.crypt.php
+++ b/phpsec/phpsec.crypt.php
@@ -140,12 +140,12 @@ class phpsecCrypt {
*/
public static function pbkdf2($p, $s, $c, $dkLen, $a = 'sha256') {
$hLen = strlen(hash($a, null, true)); /* Hash... | Fixed typo in error message in phpsecCrypt::pbkdf2(), and also made
some coding style improvements. |
diff --git a/simulator/src/main/java/com/hazelcast/simulator/protocol/registry/ComponentRegistry.java b/simulator/src/main/java/com/hazelcast/simulator/protocol/registry/ComponentRegistry.java
index <HASH>..<HASH> 100644
--- a/simulator/src/main/java/com/hazelcast/simulator/protocol/registry/ComponentRegistry.java
+++ ... | Added tests to cluster layout: fix #<I> |
diff --git a/src/Datachore.php b/src/Datachore.php
index <HASH>..<HASH> 100644
--- a/src/Datachore.php
+++ b/src/Datachore.php
@@ -504,10 +504,10 @@ class Datachore
break;
}
}
+
+ $this->_where($property, $chain, $operator, $value);
+ return $this;
}
-
- $this->_where($property, $ch... | FIX: move call to _where in _call to avoid an undefined property variable error. |
diff --git a/tests/spec/fs.stat.spec.js b/tests/spec/fs.stat.spec.js
index <HASH>..<HASH> 100644
--- a/tests/spec/fs.stat.spec.js
+++ b/tests/spec/fs.stat.spec.js
@@ -91,4 +91,33 @@ describe('fs.stat', function() {
});
});
});
+
+ it('(promise) should be a function', function() {
+ var fs = util.fs()... | Fix #<I>: added proimse support for fs.stat (#<I>)
* added promise support to fs.stat
* restored package lock
* fixed lint issues
* made tests more promise freindly
* removed .catch statement from promise and fixed style issues
* removed .catch statement from promise and fixed style issues |
diff --git a/lib/chef_zero/cookbook_data.rb b/lib/chef_zero/cookbook_data.rb
index <HASH>..<HASH> 100644
--- a/lib/chef_zero/cookbook_data.rb
+++ b/lib/chef_zero/cookbook_data.rb
@@ -36,7 +36,7 @@ module ChefZero
file = filename(directory, 'metadata.rb') || "(#{name}/metadata.rb)"
metadata.instanc... | Support attribute() and grouping() in cookbook metadata |
diff --git a/src/layer/tile/TileLayer.js b/src/layer/tile/TileLayer.js
index <HASH>..<HASH> 100644
--- a/src/layer/tile/TileLayer.js
+++ b/src/layer/tile/TileLayer.js
@@ -12,8 +12,8 @@
Z.TileLayer = Z.Layer.extend(/** @lends maptalks.TileLayer.prototype */{
options: {
- 'errorTileUrl' : 'images/system/t... | change TileLayer's renderSpanWhenPanning to -1 on mobile devices. |
diff --git a/lib/fog/aws/models/storage/file.rb b/lib/fog/aws/models/storage/file.rb
index <HASH>..<HASH> 100644
--- a/lib/fog/aws/models/storage/file.rb
+++ b/lib/fog/aws/models/storage/file.rb
@@ -1,6 +1,5 @@
require 'fog/core/model'
require 'fog/aws/models/storage/versions'
-require 'digest/md5'
module Fog
m... | Whoops, don't need to require digest/md5 |
diff --git a/spec/httparty/request_spec.rb b/spec/httparty/request_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/httparty/request_spec.rb
+++ b/spec/httparty/request_spec.rb
@@ -86,7 +86,7 @@ describe HTTParty::Request do
end
it "should use digest auth when configured" do
- FakeWeb.register_uri(:head,... | Update test to use correct method instead of always using HEAD |
diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -20,7 +20,7 @@ function Rela(opts){
opts = {};
this.clients = opts.dummies || [];
- this.server = opts.server || new Server(handler.bind(this));
+ this.server = opts.server || new Server(handler);
... | Change back to no bind, changed to arrow function. |
diff --git a/linkcheck/checker/urlbase.py b/linkcheck/checker/urlbase.py
index <HASH>..<HASH> 100644
--- a/linkcheck/checker/urlbase.py
+++ b/linkcheck/checker/urlbase.py
@@ -920,7 +920,7 @@ class UrlBase (object):
try:
app = winutil.get_word_app()
try:
- doc = winutil.... | Fix errors in Word file parsing. |
diff --git a/mmcv/cnn/builder.py b/mmcv/cnn/builder.py
index <HASH>..<HASH> 100644
--- a/mmcv/cnn/builder.py
+++ b/mmcv/cnn/builder.py
@@ -1,5 +1,4 @@
-import torch.nn as nn
-
+from ..runner import Sequential
from ..utils import Registry, build_from_cfg
@@ -22,7 +21,7 @@ def build_model_from_cfg(cfg, registry, def... | Use Sequential rather than nn.Sequential in build_model_from_cfg. (#<I>) |
diff --git a/plan/column_pruning.go b/plan/column_pruning.go
index <HASH>..<HASH> 100644
--- a/plan/column_pruning.go
+++ b/plan/column_pruning.go
@@ -165,10 +165,6 @@ func (ds *DataSource) PruneColumns(parentUsedCols []*expression.Column) {
}
// PruneColumns implements LogicalPlan interface.
-func (p *LogicalTable... | plan: remove unneeded lines of code (#<I>) |
diff --git a/src/Container/AbstractProjectionManagerFactory.php b/src/Container/AbstractProjectionManagerFactory.php
index <HASH>..<HASH> 100644
--- a/src/Container/AbstractProjectionManagerFactory.php
+++ b/src/Container/AbstractProjectionManagerFactory.php
@@ -87,7 +87,7 @@ abstract class AbstractProjectionManagerFac... | event_store is not mandatory (because of defaults) |
diff --git a/src/effects.js b/src/effects.js
index <HASH>..<HASH> 100644
--- a/src/effects.js
+++ b/src/effects.js
@@ -363,9 +363,17 @@ jQuery.fx.prototype = {
t.elem = this.elem;
if ( t() && jQuery.timers.push(t) && !timerId ) {
- timerId = jQuery.support.requestAnimationFrame ?
- !window[jQuery.support.r... | reduce impact of requestAnimationFrame on incompatible browsers by minimizing number of lookups |
diff --git a/src/Resource/Source.php b/src/Resource/Source.php
index <HASH>..<HASH> 100644
--- a/src/Resource/Source.php
+++ b/src/Resource/Source.php
@@ -13,4 +13,94 @@ use Nails\Common\Resource;
class Source extends Resource
{
+ /**
+ * The ID of the source
+ *
+ * @var int
+ */
+ public $id... | Adds field information to the Source Resource |
diff --git a/src/Category.php b/src/Category.php
index <HASH>..<HASH> 100644
--- a/src/Category.php
+++ b/src/Category.php
@@ -78,7 +78,8 @@ class Category implements SerializableInterface, JsonLdSerializableInterface
}
/**
- * {@inheritdoc}
+ * @param array $data
+ * @return Category
*/
... | Document return types where it's impossible to set one because of bad inheritance behaviour |
diff --git a/src/io/bt.js b/src/io/bt.js
index <HASH>..<HASH> 100644
--- a/src/io/bt.js
+++ b/src/io/bt.js
@@ -19,7 +19,7 @@ class BT extends JSONRPCWebSocket {
this._ws = ws;
this._ws.onopen = this.requestPeripheral.bind(this); // only call request peripheral after socket opens
- this._ws.on... | On websocket error, use sendRequestError instead of disconnect (#<I>) |
diff --git a/pytodoist/test/api.py b/pytodoist/test/api.py
index <HASH>..<HASH> 100644
--- a/pytodoist/test/api.py
+++ b/pytodoist/test/api.py
@@ -1,6 +1,7 @@
#!/usr/bin/env python
"""This module contains unit tests for the pytodoist.api module."""
+from __future__ import print_function
import sys
import unittest... | make api test run under Python 3 |
diff --git a/src/Illuminate/Foundation/Testing/TestResponse.php b/src/Illuminate/Foundation/Testing/TestResponse.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Foundation/Testing/TestResponse.php
+++ b/src/Illuminate/Foundation/Testing/TestResponse.php
@@ -73,7 +73,7 @@ class TestResponse
{
PHPUnit:... | Apply fixes from StyleCI (#<I>) |
diff --git a/src/Tweech/Chat/Chat.php b/src/Tweech/Chat/Chat.php
index <HASH>..<HASH> 100644
--- a/src/Tweech/Chat/Chat.php
+++ b/src/Tweech/Chat/Chat.php
@@ -59,7 +59,7 @@ class Chat
$this->client->listen('tick.second', function(){
$this->secondsElapsed++;
- if ($this->secondsElapsed... | Wait 2 seconds before calculating mps |
diff --git a/cloudsmith_cli/cli/validators.py b/cloudsmith_cli/cli/validators.py
index <HASH>..<HASH> 100644
--- a/cloudsmith_cli/cli/validators.py
+++ b/cloudsmith_cli/cli/validators.py
@@ -145,7 +145,8 @@ def validate_optional_tokens(ctx, param, value):
for token in value.split(","):
if not toke... | Removed Python3-only f-strings |
diff --git a/cmd/util/deps/deps.go b/cmd/util/deps/deps.go
index <HASH>..<HASH> 100644
--- a/cmd/util/deps/deps.go
+++ b/cmd/util/deps/deps.go
@@ -66,7 +66,7 @@ func LoadDeps(pkgs ...Pkg) (*Deps, error) {
}
// get all dependencies for applications defined above
- dependencies := set.New()
+ dependencies := set.Ne... | fix set usage in deps.go |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -78,10 +78,10 @@ setup(
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
- "Programming Language :: Python :: 3.3",
... | Add Python <I> support, remove Python <I> support
As of #<I>, Python <I> is supported, so reflect that in the Trove
classifiers.
As of <I>-<I>-<I>, Python <I> is end-of-life and no longer receives
updates of any kind (including security fixes), so remove it from the
list of supported versions. |
diff --git a/test/environments.js b/test/environments.js
index <HASH>..<HASH> 100644
--- a/test/environments.js
+++ b/test/environments.js
@@ -63,10 +63,6 @@ class ReplicaSetEnvironment extends EnvironmentBase {
genReplsetConfig(31004, { arbiter: true })
];
- this.manager = new ReplSetManager('mongod',... | test: add `enableMajorityReadConcern` before starting nodes |
diff --git a/src/Application.php b/src/Application.php
index <HASH>..<HASH> 100644
--- a/src/Application.php
+++ b/src/Application.php
@@ -9,7 +9,6 @@ use Limber\Exceptions\NotFoundHttpException;
use Limber\Middleware\CallableMiddleware;
use Limber\Middleware\PrepareHttpResponse;
use Limber\Middleware\RequestHandler... | Removing unused import statements. |
diff --git a/core/src/main/java/com/google/bitcoin/crypto/MnemonicCode.java b/core/src/main/java/com/google/bitcoin/crypto/MnemonicCode.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/com/google/bitcoin/crypto/MnemonicCode.java
+++ b/core/src/main/java/com/google/bitcoin/crypto/MnemonicCode.java
@@ -67,7 +67,... | Fix for Android ART vs Dalvik difference. |
diff --git a/grimoire_elk/elastic_items.py b/grimoire_elk/elastic_items.py
index <HASH>..<HASH> 100644
--- a/grimoire_elk/elastic_items.py
+++ b/grimoire_elk/elastic_items.py
@@ -81,6 +81,11 @@ class ElasticItems():
from .utils import get_connector_name
return get_connector_name(type(self))
+ def... | [ocean] Filter always the raw items using the backend_name field to support
that in a raw index there are items from different data sources (arthur). |
diff --git a/cluster_analyticsquery.go b/cluster_analyticsquery.go
index <HASH>..<HASH> 100644
--- a/cluster_analyticsquery.go
+++ b/cluster_analyticsquery.go
@@ -425,7 +425,7 @@ func (c *Cluster) doAnalyticsQuery(tracectx opentracing.SpanContext, b *Bucket,
return nil, err
}
- if !retryBehavior.CanRetry(ret... | Check that retrybehavior is not nil before using.
Motivation
----------
It's possible for a user to provide a retrybehavior for search or
analytics so we should check that they aren't nil before use.
Changes
-------
Added nil checks before use in search and analytics query execution.
Change-Id: I8c<I>b9bf<I>fded<I>b... |
diff --git a/src-gwt/org/opencms/gwt/client/ui/CmsListItemWidget.java b/src-gwt/org/opencms/gwt/client/ui/CmsListItemWidget.java
index <HASH>..<HASH> 100644
--- a/src-gwt/org/opencms/gwt/client/ui/CmsListItemWidget.java
+++ b/src-gwt/org/opencms/gwt/client/ui/CmsListItemWidget.java
@@ -139,7 +139,7 @@ HasClickHandlers,... | Changed additional info lines in resource info boxes to escape HTML. |
diff --git a/twitter_bot/since_id/redis_provider.py b/twitter_bot/since_id/redis_provider.py
index <HASH>..<HASH> 100644
--- a/twitter_bot/since_id/redis_provider.py
+++ b/twitter_bot/since_id/redis_provider.py
@@ -6,11 +6,11 @@ from twitter_bot.since_id.base_provider import BaseSinceIdProvider
class RedisSinceIdPro... | Default redis_url to empty string, not None |
diff --git a/uproot/_connect/to_pandas.py b/uproot/_connect/to_pandas.py
index <HASH>..<HASH> 100644
--- a/uproot/_connect/to_pandas.py
+++ b/uproot/_connect/to_pandas.py
@@ -137,7 +137,7 @@ def futures2df(futures, outputtype, entrystart, entrystop, flatten, flatname, aw
index = array.index
... | try to improve error message for common TTree.pandas.df() failure |
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index <HASH>..<HASH> 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,9 +1,14 @@
-require "coveralls"
-Coveralls.wear!
-
require "bundler"
Bundler.setup(:default, :development)
+require "simplecov"
+require "coveralls"
+
+SimpleCov.formatter = C... | tell coverall to ignore spec support files |
diff --git a/src/Services/Database.php b/src/Services/Database.php
index <HASH>..<HASH> 100644
--- a/src/Services/Database.php
+++ b/src/Services/Database.php
@@ -19,7 +19,7 @@ class Database extends BaseService {
/**
* @var array
*/
- protected $configurations;
+ protected $configurations = [];
/**
* @v... | Fix database service for reading configuration file when it is not exist |
diff --git a/source/Parser.php b/source/Parser.php
index <HASH>..<HASH> 100755
--- a/source/Parser.php
+++ b/source/Parser.php
@@ -15,7 +15,7 @@ define(
class Parser
{
- private $macro = [];
+ private $macros = [];
private $compilers = [];
public function addMacro($macro) | Fix typeo in Parser
discovered by @phpstan
Fixes #<I> |
diff --git a/flask_oidc/__init__.py b/flask_oidc/__init__.py
index <HASH>..<HASH> 100644
--- a/flask_oidc/__init__.py
+++ b/flask_oidc/__init__.py
@@ -254,11 +254,15 @@ class OpenIDConnect(object):
def _get_cookie_id_token(self):
try:
- id_token_cookie = request.cookies[current_app.config[
- ... | Do not complain if the user has no cookie |
diff --git a/lib/audited/auditor.rb b/lib/audited/auditor.rb
index <HASH>..<HASH> 100644
--- a/lib/audited/auditor.rb
+++ b/lib/audited/auditor.rb
@@ -175,12 +175,13 @@ module Audited
private
def audited_changes
+ all_changes = respond_to?(:attributes_in_database) ? attributes_in_database : chang... | Use updated AR::Dirty API to find changed attributes |
diff --git a/packages/teraslice/lib/storage/assets.js b/packages/teraslice/lib/storage/assets.js
index <HASH>..<HASH> 100644
--- a/packages/teraslice/lib/storage/assets.js
+++ b/packages/teraslice/lib/storage/assets.js
@@ -234,7 +234,7 @@ module.exports = async function assetsStore(context) {
logger.info(`... | Don't block in the asset save now |
diff --git a/lib/engine.go b/lib/engine.go
index <HASH>..<HASH> 100644
--- a/lib/engine.go
+++ b/lib/engine.go
@@ -72,6 +72,7 @@ loop:
e.Status.Running = false
e.Status.VUs = 0
e.Status.Pooled = 0
+ e.reportInternalStats()
return nil
} | [fix] Stopped tests should report 0/0 VUs |
diff --git a/tests/integration/modules/config.py b/tests/integration/modules/config.py
index <HASH>..<HASH> 100644
--- a/tests/integration/modules/config.py
+++ b/tests/integration/modules/config.py
@@ -32,7 +32,7 @@ class ConfigTest(integration.ModuleCase):
# interpereter is breaking it for remote calls
... | Disable failing config.manage_mode test, we will need to clean this |
diff --git a/ezp/Persistence/Content/Type/Interfaces/Handler.php b/ezp/Persistence/Content/Type/Interfaces/Handler.php
index <HASH>..<HASH> 100644
--- a/ezp/Persistence/Content/Type/Interfaces/Handler.php
+++ b/ezp/Persistence/Content/Type/Interfaces/Handler.php
@@ -84,12 +84,22 @@ interface Handler
public functio... | Added link method
Added a link method to make it possible to associate groups with content
types. |
diff --git a/lib/combine_pdf/renderer.rb b/lib/combine_pdf/renderer.rb
index <HASH>..<HASH> 100644
--- a/lib/combine_pdf/renderer.rb
+++ b/lib/combine_pdf/renderer.rb
@@ -107,7 +107,7 @@ module CombinePDF
end
end
# remove extra page references.
- object[:Contents].delete(is_reference_only: t... | object[:Contents] needs to be an Array
This line is used to remove "empty" edits to PDF pages. This means that pages were expected to have data added to them but where eventually left alone (or the data added was another PDF page instead of a text object). |
diff --git a/src/PhpPact/Standalone/Runner/ProcessRunner.php b/src/PhpPact/Standalone/Runner/ProcessRunner.php
index <HASH>..<HASH> 100644
--- a/src/PhpPact/Standalone/Runner/ProcessRunner.php
+++ b/src/PhpPact/Standalone/Runner/ProcessRunner.php
@@ -193,27 +193,17 @@ class ProcessRunner
*/
public function s... | fix: simplify ProcessRunner::stop() to work on windows systems |
diff --git a/filterpy/__init__.py b/filterpy/__init__.py
index <HASH>..<HASH> 100644
--- a/filterpy/__init__.py
+++ b/filterpy/__init__.py
@@ -14,4 +14,4 @@ This is licensed under an MIT license. See the readme.MD file
for more information.
"""
-__version__ = "1.2.0"
+__version__ = "1.2.1"
diff --git a/filterpy/com... | Fixed import error
For some reason I was trying to do an absolute import
for kalman. |
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index <HASH>..<HASH> 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -15,6 +15,10 @@ class User
def send_create_notification; end
end
+class ActionView::TestCase::TestController
+ include Rails.application.routes.url_helpers
+end
+
# Requires ... | Allow stand-alone running of view specs |
diff --git a/bokeh/core/compat/bokeh_renderer.py b/bokeh/core/compat/bokeh_renderer.py
index <HASH>..<HASH> 100644
--- a/bokeh/core/compat/bokeh_renderer.py
+++ b/bokeh/core/compat/bokeh_renderer.py
@@ -402,7 +402,8 @@ class BokehRenderer(Renderer):
widths = get_props_cycled(col, col.get_linewidth())
... | don't set colors and alphas to None explicity! (use default instead) |
diff --git a/falafel/mappers/multinode.py b/falafel/mappers/multinode.py
index <HASH>..<HASH> 100644
--- a/falafel/mappers/multinode.py
+++ b/falafel/mappers/multinode.py
@@ -8,7 +8,12 @@ def _metadata(context, product_filter=None):
md = marshalling.unmarshal("\n".join(context.content))
produc... | Ensure multinode mappers don't fire on single-node metadata.json |
diff --git a/lib/ticket_evolution/version.rb b/lib/ticket_evolution/version.rb
index <HASH>..<HASH> 100644
--- a/lib/ticket_evolution/version.rb
+++ b/lib/ticket_evolution/version.rb
@@ -1,3 +1,3 @@
module TicketEvolution
- VERSION = '0.7.12'
+ VERSION = '0.7.13'
end | Bump minor version for ShippingSettings endpoint addition |
diff --git a/test/test_platform.rb b/test/test_platform.rb
index <HASH>..<HASH> 100644
--- a/test/test_platform.rb
+++ b/test/test_platform.rb
@@ -43,14 +43,14 @@ class TestPlatform < Test::Unit::TestCase
end
def test_copy_command_windows
- Boom::Platform.stubs(:windows?).returns(true)
- Boom::Platform.st... | fixed error in test_platform.rb |
diff --git a/src/Pagination/Paginator.php b/src/Pagination/Paginator.php
index <HASH>..<HASH> 100644
--- a/src/Pagination/Paginator.php
+++ b/src/Pagination/Paginator.php
@@ -128,6 +128,7 @@ class Paginator extends AbstractSettablePaginator
protected function getPagesCount()
{
$query = $this->getQuer... | Use ResultCache for count too |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.