hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
0abb54b3d2d9476097fc46837502d192098ae6f7
diff --git a/pybooru/pybooru.py b/pybooru/pybooru.py index <HASH>..<HASH> 100755 --- a/pybooru/pybooru.py +++ b/pybooru/pybooru.py @@ -31,6 +31,7 @@ except ImportError: #pyborru resources imports from resources import http_status_codes +from resources import api_base_url from resources import site_list diff --...
Added dict with API base URLs
LuqueDaniel_pybooru
train
533a92b8d7584f7bf3b91fd7943faea452f61eec
diff --git a/src/oceanBigOne/MajorityJudgment/Ballot.php b/src/oceanBigOne/MajorityJudgment/Ballot.php index <HASH>..<HASH> 100644 --- a/src/oceanBigOne/MajorityJudgment/Ballot.php +++ b/src/oceanBigOne/MajorityJudgment/Ballot.php @@ -313,10 +313,10 @@ class Ballot //create a key with majority ment...
check ex-eaquo on full key
oceanBigOne_MajorityJudgment
train
1ad2ba1becfc8a8c3914cb16dd8e5e178db28663
diff --git a/src/Repo/Query/Criteria/Def/Mapper.php b/src/Repo/Query/Criteria/Def/Mapper.php index <HASH>..<HASH> 100644 --- a/src/Repo/Query/Criteria/Def/Mapper.php +++ b/src/Repo/Query/Criteria/Def/Mapper.php @@ -21,6 +21,11 @@ class Mapper } } + public function add($key, $value) + { + $t...
MOBI-<I> - Code review for admin grids
praxigento_mobi_mod_core
train
b22797dfdcb7a8f23a8938f52366d468695c1b6e
diff --git a/config/default.json b/config/default.json index <HASH>..<HASH> 100644 --- a/config/default.json +++ b/config/default.json @@ -42,6 +42,7 @@ {"width": 485, "height": 300, "quality": 30}, {"width": 1000, "height": 200, "quality": 70}, + {"width": 1000, "height": 100, "q...
Added padding for images where AOI cropping is not able to fit the requested format.
berlinonline_converjon
train
337500f374bdd14c739fc07c8e3968e52aeb8608
diff --git a/builder/dockerfile/copy.go b/builder/dockerfile/copy.go index <HASH>..<HASH> 100644 --- a/builder/dockerfile/copy.go +++ b/builder/dockerfile/copy.go @@ -251,19 +251,6 @@ func (o *copier) calcCopyInfo(origPath string, allowWildcards bool) ([]copyInfo, return newCopyInfos(newCopyInfoFromSource(o.source, o...
builder/dockerfile: make containsWildcards() platform-specific again
moby_moby
train
d4f7a2bc99ac11b56d9b6c30204e19576b29a6ee
diff --git a/pkg/tsdb/influxdb/query.go b/pkg/tsdb/influxdb/query.go index <HASH>..<HASH> 100644 --- a/pkg/tsdb/influxdb/query.go +++ b/pkg/tsdb/influxdb/query.go @@ -34,18 +34,13 @@ func (query *Query) Build(queryContext *tsdb.QueryContext) (string, error) { return "", err } - res = replaceVariable(res, "$timeF...
minor code style: use `strings.Replace` fourth argument in influxdb (#<I>) Remove 5 lines from the codebase and an unecessary function, by calling `strings.Replace` with -1 for the fourth argument. A better alternative to what was merged in #<I>
grafana_grafana
train
db1350963c63108f4e941d2c6405f98dee7a2e81
diff --git a/iota/crypto/types.py b/iota/crypto/types.py index <HASH>..<HASH> 100644 --- a/iota/crypto/types.py +++ b/iota/crypto/types.py @@ -189,8 +189,8 @@ class PrivateKey(TryteString): sponge.absorb(key_fragment) sponge.squeeze(hash_trits) - fragment_start = i * FRAGMENT_LENGTH - fragmen...
Fixed Array Bounds for Fragment Fixed array bound from FRAGMENT_LENGTH (which is <I> in trytes) to HASH_LENGTH (which is <I> in trits).
iotaledger_iota.lib.py
train
8ebdf13a182ffadaa4c19539bef53bb520b94a29
diff --git a/src/main/java/de/btobastian/javacord/entity/channel/VoiceChannel.java b/src/main/java/de/btobastian/javacord/entity/channel/VoiceChannel.java index <HASH>..<HASH> 100644 --- a/src/main/java/de/btobastian/javacord/entity/channel/VoiceChannel.java +++ b/src/main/java/de/btobastian/javacord/entity/channel/Voi...
Add missing unchecked warning suppression
Javacord_Javacord
train
3be495e23bfe5345217f16fc3fa4aab0d4e14846
diff --git a/src/java/com/threerings/io/BasicStreamers.java b/src/java/com/threerings/io/BasicStreamers.java index <HASH>..<HASH> 100644 --- a/src/java/com/threerings/io/BasicStreamers.java +++ b/src/java/com/threerings/io/BasicStreamers.java @@ -227,7 +227,7 @@ public class BasicStreamers } } - /** ...
Added a note indicating that only references to streamable classes can be streamed. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@<I> <I>f4-<I>e9-<I>-aa3c-eee0fc<I>fb1
threerings_narya
train
e0d7a959cae0891cce0192c353bb05904ece7c45
diff --git a/src/main/java/net/snowflake/client/jdbc/SnowflakeConnectionV1.java b/src/main/java/net/snowflake/client/jdbc/SnowflakeConnectionV1.java index <HASH>..<HASH> 100644 --- a/src/main/java/net/snowflake/client/jdbc/SnowflakeConnectionV1.java +++ b/src/main/java/net/snowflake/client/jdbc/SnowflakeConnectionV1.ja...
SNOW-<I> suppress illegal reflective access warnings (#<I>)
snowflakedb_snowflake-jdbc
train
158f1cd06013201f7a7686d92794d1351609bc74
diff --git a/src/sos/parser.py b/src/sos/parser.py index <HASH>..<HASH> 100755 --- a/src/sos/parser.py +++ b/src/sos/parser.py @@ -36,7 +36,7 @@ class ParsingError(Error): Error.__init__( self, f'File contains parsing errors: {filename if filename != "<string>" else ""}') self.filename = ...
Added a few type hints
vatlab_SoS
train
5c64bf36bd27c57d4acba21262fc42d0f36aae00
diff --git a/src/Behat/Behat/Definition/ServiceContainer/DefinitionExtension.php b/src/Behat/Behat/Definition/ServiceContainer/DefinitionExtension.php index <HASH>..<HASH> 100644 --- a/src/Behat/Behat/Definition/ServiceContainer/DefinitionExtension.php +++ b/src/Behat/Behat/Definition/ServiceContainer/DefinitionExtensi...
Ensure the RegexPatternPolicy has a higher priority than the turnip one Given that the turnip policy always return true in supportsPattern(), the priority needs to be lower to ensure that it always runs after.
Behat_Behat
train
fdb361490954c734268a0979534a0eb25d3565cc
diff --git a/spec/usage/components/object_spec.rb b/spec/usage/components/object_spec.rb index <HASH>..<HASH> 100644 --- a/spec/usage/components/object_spec.rb +++ b/spec/usage/components/object_spec.rb @@ -24,8 +24,8 @@ describe 'Object Component', type: :feature, js: true do static_output = page.html expe...
Change single to double quotes in HTML snippet
basemate_matestack-ui-core
train
25c776de9d5bb5791a9c40030b1be7cfa26c1ead
diff --git a/lib/async.js b/lib/async.js index <HASH>..<HASH> 100644 --- a/lib/async.js +++ b/lib/async.js @@ -406,7 +406,6 @@ }); _forEach(keys, function (k) { - var fired = false; var task = (tasks[k] instanceof Function) ? [tasks[k]]: tasks[k]; var taskCallbac...
force nextTick on auto calls to prevent double task execution when synchronous
caolan_async
train
f67d8c53c64b293f68b0c4eec7422b6fc708b7ee
diff --git a/loompy/metadata_loaders.py b/loompy/metadata_loaders.py index <HASH>..<HASH> 100644 --- a/loompy/metadata_loaders.py +++ b/loompy/metadata_loaders.py @@ -11,7 +11,7 @@ def load_gene_metadata(gtf_file : str) -> Dict[str, Dict[str, Union[int, str]]]: gtf_file (str): path to GTF file Retur...
Update metadata_loaders.py Corrected doc for gtf gene_id is accession, not genename
linnarsson-lab_loompy
train
8d057221cfb1ecef20cb58fdba94ec950e1ed980
diff --git a/README.md b/README.md index <HASH>..<HASH> 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,13 @@ # Nomadize +Some utilities for managing migrations with postgres (without requiring an entire ORM) + +This is nowhere near done; still needs: +- [ ] an actual config setup / object +- [ ] sql cleaning (get...
tidy up a few things; update readme
piisalie_nomadize
train
ec61c861060ba9effc08f4fb850d92ed9372116f
diff --git a/src/Transient_Command.php b/src/Transient_Command.php index <HASH>..<HASH> 100644 --- a/src/Transient_Command.php +++ b/src/Transient_Command.php @@ -272,7 +272,7 @@ class Transient_Command extends WP_CLI_Command { } // The above queries delete the transient and the transient timeout - // thus eac...
When deleting transients, also delete site transients.
wp-cli_cache-command
train
a7e98397ae09ea95cdf6206603e664a98b8cb75a
diff --git a/docs/peewee/api.rst b/docs/peewee/api.rst index <HASH>..<HASH> 100644 --- a/docs/peewee/api.rst +++ b/docs/peewee/api.rst @@ -2621,7 +2621,7 @@ Fields Accepts a special ``coerce`` parameter, a function that takes a value coming from the database and converts it into the appropriate Python type. ...
Add option to control when FK constraints are enforced.
coleifer_peewee
train
73dd23082890db30fb9325edd0220d2d205ddda0
diff --git a/ib_insync/flexreport.py b/ib_insync/flexreport.py index <HASH>..<HASH> 100644 --- a/ib_insync/flexreport.py +++ b/ib_insync/flexreport.py @@ -23,8 +23,8 @@ class FlexReport: Download and parse IB account statements via the Flex Web Service. https://www.interactivebrokers.com/en/software/am/am/rep...
Clarify to use XML query for FlexReport
erdewit_ib_insync
train
d6fbd7df22e7bd7904d2b9cb94539cd8aa0fda7a
diff --git a/library/HTMLPurifier/AttrValidator.php b/library/HTMLPurifier/AttrValidator.php index <HASH>..<HASH> 100644 --- a/library/HTMLPurifier/AttrValidator.php +++ b/library/HTMLPurifier/AttrValidator.php @@ -9,17 +9,13 @@ class HTMLPurifier_AttrValidator { /** - * Validates the attributes of a token,...
Remove some unnecessary pass-by-reference.
Masterjoa_HTMLPurifier-standalone
train
70ac098a6bed68f2e1938000d5123dc803980493
diff --git a/state/actionresult.go b/state/actionresult.go index <HASH>..<HASH> 100644 --- a/state/actionresult.go +++ b/state/actionresult.go @@ -6,6 +6,7 @@ package state import ( "fmt" "strings" + "time" "github.com/juju/names" "gopkg.in/mgo.v2/txn" @@ -53,6 +54,9 @@ type actionResultDoc struct { // R...
Actions :: Add Completion time to ActionResults
juju_juju
train
534eb96d747be007057a06496dc176883ac376f1
diff --git a/lib/rocket_pants/controller/respondable.rb b/lib/rocket_pants/controller/respondable.rb index <HASH>..<HASH> 100644 --- a/lib/rocket_pants/controller/respondable.rb +++ b/lib/rocket_pants/controller/respondable.rb @@ -32,6 +32,12 @@ module RocketPants self.response_body = json end ...
Add in not_implemented as an error, add a respond_with raw response.
Sutto_rocket_pants
train
e8a47b3921a9bd1a432d3423fef26e83c04cce18
diff --git a/lib/Doctrine/ORM/EntityRepository.php b/lib/Doctrine/ORM/EntityRepository.php index <HASH>..<HASH> 100644 --- a/lib/Doctrine/ORM/EntityRepository.php +++ b/lib/Doctrine/ORM/EntityRepository.php @@ -117,7 +117,7 @@ class EntityRepository implements ObjectRepository } $sortedId[$ide...
DDC-<I> - Fix bug in merging of entities that contain foreign identifiers
doctrine_orm
train
424c8276b01f7b0d291c485ae51aa4fee0798bc7
diff --git a/es/tx/epoch.js b/es/tx/epoch.js index <HASH>..<HASH> 100644 --- a/es/tx/epoch.js +++ b/es/tx/epoch.js @@ -30,27 +30,51 @@ import {salt} from '../utils/crypto' const createSalt = salt async function spendTx ({ senderId, recipientId, amount, fee, ttl, nonce, payload }) { - return (await this.api.postSpe...
Try to make StandardJS linter happy in pipeline
aeternity_aepp-sdk-js
train
a49b6131247c80e6efe019f9443e264a173c20f0
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -4,37 +4,37 @@ module.exports = exports = function define (definition) { var methodNames = getMethodNames(definition); var mixinable = createMixinable(definition, methodNames); return function mixin () { - var defi...
feat: add override strategy, refactor and simplify
untool_mixinable
train
3b399fb3d32852d1568f321394f3a87f34019caf
diff --git a/demo/index.js b/demo/index.js index <HASH>..<HASH> 100644 --- a/demo/index.js +++ b/demo/index.js @@ -3,3 +3,4 @@ const reportIssue = document.querySelector('report-issue'); const templates = ReportIssue.templates; customElements.define('report-issue', ReportIssue); +reportIssue.reportIssueURL = 'https...
report-issue: implement sending issue to specifed url
electron-elements_send-feedback
train
c96ba0124d551d001b33e4696f45a9aeeb3e8ca6
diff --git a/BackofficeBundle/Resources/public/ecmascript/OpenOrchestra/Application/Router/Site/SitePlatformRouter.js b/BackofficeBundle/Resources/public/ecmascript/OpenOrchestra/Application/Router/Site/SitePlatformRouter.js index <HASH>..<HASH> 100644 --- a/BackofficeBundle/Resources/public/ecmascript/OpenOrchestra/Ap...
fix site form (#<I>)
open-orchestra_open-orchestra-cms-bundle
train
1550ba8f08ee161f884f75a07c2bc64737686d50
diff --git a/src/App.php b/src/App.php index <HASH>..<HASH> 100644 --- a/src/App.php +++ b/src/App.php @@ -139,16 +139,16 @@ final class App // load core app globals if (is_file($file = APP_DIR .'/app/global/def.php')) { - require_once($file); + include $file; } ...
Remove parens from include's & require's.
froq_froq
train
d66cd789b972d41f726b3da3474920aff79cc5a7
diff --git a/holoviews/plotting/plotly/chart3d.py b/holoviews/plotting/plotly/chart3d.py index <HASH>..<HASH> 100644 --- a/holoviews/plotting/plotly/chart3d.py +++ b/holoviews/plotting/plotly/chart3d.py @@ -5,6 +5,11 @@ from plotly import colors from plotly.tools import FigureFactory as FF from plotly.graph_objs impo...
Fixed Trisurface plot in latest versions of plotly
pyviz_holoviews
train
2784e7a12930496288bcef22ff0dafa7b90c4273
diff --git a/worker.go b/worker.go index <HASH>..<HASH> 100644 --- a/worker.go +++ b/worker.go @@ -303,22 +303,22 @@ func (w *WorkerConfig) worker(id string) { func (w *WorkerConfig) scheduleRetry(job *Job, err error) { w.ReportError(err, job) + now := time.Now().UTC().Format(TimestampFormat) + if job.FailedAt == ...
Correct how retries are counted
cupcake_gokiq
train
cff4c6f1ce724306facb72be96cc6d464821e9ce
diff --git a/crnk-data/crnk-data-jpa/src/main/java/io/crnk/data/jpa/meta/internal/JpaMetaFilter.java b/crnk-data/crnk-data-jpa/src/main/java/io/crnk/data/jpa/meta/internal/JpaMetaFilter.java index <HASH>..<HASH> 100644 --- a/crnk-data/crnk-data-jpa/src/main/java/io/crnk/data/jpa/meta/internal/JpaMetaFilter.java +++ b/c...
reduce log level for primitive jpa types #<I>
crnk-project_crnk-framework
train
7ee892a7e2f59e547162eabc9c148921d162b6ce
diff --git a/lib/rabl/version.rb b/lib/rabl/version.rb index <HASH>..<HASH> 100644 --- a/lib/rabl/version.rb +++ b/lib/rabl/version.rb @@ -1,3 +1,3 @@ module Rabl - VERSION = "0.5.5.h" + VERSION = "0.5.5.i" end
Bump to version <I>.i
nesquena_rabl
train
ff11e429b28b22ac1354177ba62a12f9fb62f049
diff --git a/lib/pg/em.rb b/lib/pg/em.rb index <HASH>..<HASH> 100644 --- a/lib/pg/em.rb +++ b/lib/pg/em.rb @@ -421,11 +421,11 @@ module PG returned_df.errback { |ex| deferrable.fail ex } elsif returned_df.is_a?(Exception) # tha handler returned an exception object,...
auto re-connect - remove unnecessary next_tick calls
royaltm_ruby-em-pg-client
train
f14eb1998525d0899ad47d3d4379afda67c0ae73
diff --git a/pipenv/core.py b/pipenv/core.py index <HASH>..<HASH> 100644 --- a/pipenv/core.py +++ b/pipenv/core.py @@ -1218,6 +1218,7 @@ def activate_virtualenv(source=True): # Support for csh shell. if PIPENV_SHELL and 'csh' in PIPENV_SHELL: suffix = '.csh' + command = 'source' # Escap...
Correct csh syntax in activate_virtualenv In csh, the . operator executes a directory, which is the wrong behaviour here. At best, when pipenv is installed system-wide (preferably via the operating system package manager), the result is a permission denied error from the shell. As csh uses the source command, reflect...
pypa_pipenv
train
fb00ab5963dd07a0faae6e0f6fd8e923c52a23cb
diff --git a/qa/integration-tests/src/test/java/com/camunda/fox/platform/test/functional/ejb/remote/RemoteSingletonBeanInvocationTest.java b/qa/integration-tests/src/test/java/com/camunda/fox/platform/test/functional/ejb/remote/RemoteSingletonBeanInvocationTest.java index <HASH>..<HASH> 100755 --- a/qa/integration-test...
Increased time for JobExecutor
camunda_camunda-bpm-platform
train
b8e06a86746e063b9dd8cbfddc9bdf173329a6cd
diff --git a/support/webpack.config.js b/support/webpack.config.js index <HASH>..<HASH> 100644 --- a/support/webpack.config.js +++ b/support/webpack.config.js @@ -11,7 +11,7 @@ module.exports = { filename: "engine.io.js", library: "eio", libraryTarget: "umd", - globalObject: "this" + globalObject: ...
refactor: use globalObject "self" in webpack configuration
socketio_engine.io-client
train
5a4d436fb9acfac881a36b178b539479c955cd3f
diff --git a/plugins/datebox/src/main/java/com/sksamuel/jqm4gwt/plugins/datebox/JQMCalBox.java b/plugins/datebox/src/main/java/com/sksamuel/jqm4gwt/plugins/datebox/JQMCalBox.java index <HASH>..<HASH> 100644 --- a/plugins/datebox/src/main/java/com/sksamuel/jqm4gwt/plugins/datebox/JQMCalBox.java +++ b/plugins/datebox/src...
JQMCalBox.getDayNames() added
jqm4gwt_jqm4gwt
train
e9a7adae813bcd4a89804ad47d1c0f1cf6861fd6
diff --git a/greenmail-core/src/main/java/com/icegreen/greenmail/util/ServerSetup.java b/greenmail-core/src/main/java/com/icegreen/greenmail/util/ServerSetup.java index <HASH>..<HASH> 100644 --- a/greenmail-core/src/main/java/com/icegreen/greenmail/util/ServerSetup.java +++ b/greenmail-core/src/main/java/com/icegreen/g...
ServerSetup always returns <I> as localhost address. Other methods such as InetAddress.getLocalHost().getHostAddress() are unreliable.
greenmail-mail-test_greenmail
train
4e27efa823965a88d8ed51ba742f3d8941e895e1
diff --git a/cloudvolume/lib.py b/cloudvolume/lib.py index <HASH>..<HASH> 100644 --- a/cloudvolume/lib.py +++ b/cloudvolume/lib.py @@ -38,16 +38,29 @@ COLORS = { MACHINE_EPSILON = (7. / 3) - (4. / 3) - 1 class NumpyEncoder(json.JSONEncoder): - def default(self, obj): - if isinstance(obj, np.ndarray): - ...
feat(lib): add first and update implementation of toiter
seung-lab_cloud-volume
train
f33881b7af84065df45034f925a98fd520115f6b
diff --git a/code/CropperField.php b/code/CropperField.php index <HASH>..<HASH> 100644 --- a/code/CropperField.php +++ b/code/CropperField.php @@ -4,6 +4,7 @@ use CropperField\Cropper\GD as GDCropper; use CropperField\AdapterInterface; use DataObjectInterface; use Requirements; +use DataObject; use FormField; use ...
Get/Set record (borrowed from UploadField)
willmorgan_silverstripe-cropperfield
train
ba458143e39da7a29a8430e1c3316da606beab2f
diff --git a/mod/lesson/locallib.php b/mod/lesson/locallib.php index <HASH>..<HASH> 100644 --- a/mod/lesson/locallib.php +++ b/mod/lesson/locallib.php @@ -1765,25 +1765,21 @@ function lesson_print_mediafile_block($cmid, $lesson) { * @return void **/ function lesson_print_clock_block($cmid, $lesson, $timer) { - ...
mod-lesson MDL-<I> Removed inline scripts and modified timer to take obj args
moodle_moodle
train
d08e0bfbdb2f511bd218403e1322b56d64fe4168
diff --git a/lib/hawkular/inventory/inventory_api_v4.rb b/lib/hawkular/inventory/inventory_api_v4.rb index <HASH>..<HASH> 100644 --- a/lib/hawkular/inventory/inventory_api_v4.rb +++ b/lib/hawkular/inventory/inventory_api_v4.rb @@ -57,14 +57,26 @@ module Hawkular::InventoryV4 # @return [Array<Resource>] List of res...
Adds a generic resources endpoint for querying
hawkular_hawkular-client-ruby
train
e63c305d854cd08ff9e6145f16f2a824b1c17093
diff --git a/tests/conftest.py b/tests/conftest.py index <HASH>..<HASH> 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -39,15 +39,12 @@ def engine(request): engine = sqlalchemy.create_engine(db_uri) - def del_db(): - if sqlalchemy_utils.functions.database_exists(db_uri): - sqlal...
Fix engine pytest fixture. This commit makes the engine to create the database once and remove the datas between tests without removing the entire database. This to avoid some race conditions when using start_api.sh. It also use a fixed value for the test's database name. Change-Id: I<I>c9b3ac9e4efd<I>fcb<I>af5f<I>c...
redhat-cip_dci-control-server
train
76d15a99ab9212dca6999bdf0b21bac0d8055c47
diff --git a/packages/vaex-core/vaex/dataset.py b/packages/vaex-core/vaex/dataset.py index <HASH>..<HASH> 100644 --- a/packages/vaex-core/vaex/dataset.py +++ b/packages/vaex-core/vaex/dataset.py @@ -4035,6 +4035,25 @@ class Dataset(object): ds[name] = ds.func.fillna(ds[name], value, fill_nan=fill_nan, fill_masked=...
new: materialize, to turn virtual columns into real ones (not <I>% convinced of this API)
vaexio_vaex
train
3ae379ab7234528c95e831b6cd2dc206f225f2ac
diff --git a/lib/metasploit/model/architecture.rb b/lib/metasploit/model/architecture.rb index <HASH>..<HASH> 100644 --- a/lib/metasploit/model/architecture.rb +++ b/lib/metasploit/model/architecture.rb @@ -15,6 +15,7 @@ module Metasploit 'cbea', 'cbea64', 'cmd', + 'dalvik', ...
Add dalvik as an architecture. [#<I>]
rapid7_metasploit-model
train
e4740d2109375afa3c5a87b1041c051c4270689a
diff --git a/CHANGELOG.md b/CHANGELOG.md index <HASH>..<HASH> 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,7 @@ * [#3286](https://github.com/bbatsov/rubocop/issues/3286): Allow `self.a, self.b = b, a` in `Style/ParallelAssignment`. ([@jonas054][]) * [#3419](https://github.com/bbatsov/rubocop/issues/3419)...
[Fix #<I>] Fix false positive for space literal in UnneededCapitalW
rubocop-hq_rubocop
train
184fb7da7b8e4ffefe7cee0a94a2106387dfdfc3
diff --git a/src/FluentDOM/Element.php b/src/FluentDOM/Element.php index <HASH>..<HASH> 100644 --- a/src/FluentDOM/Element.php +++ b/src/FluentDOM/Element.php @@ -271,7 +271,8 @@ namespace FluentDOM { * @return int */ public function count() { - return ($this->childNodes instanceOf \DOMNodeList) ?...
Validate the property $childNodes, replacing call to hasChildNodes()
ThomasWeinert_FluentDOM
train
aa014a472a39c12cf3141dd337ecc2ed1ea2cd55
diff --git a/django_summernote/test_settings.py b/django_summernote/test_settings.py index <HASH>..<HASH> 100644 --- a/django_summernote/test_settings.py +++ b/django_summernote/test_settings.py @@ -1,5 +1,3 @@ -import django - DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', @@ -7,7 +5...
Drop old django version support (<I>)
summernote_django-summernote
train
bc3c802a59f42caa2c4d8e65b14064f9137dc13b
diff --git a/spec/dummy/config/environments/test.rb b/spec/dummy/config/environments/test.rb index <HASH>..<HASH> 100644 --- a/spec/dummy/config/environments/test.rb +++ b/spec/dummy/config/environments/test.rb @@ -13,7 +13,7 @@ Rails.application.configure do config.eager_load = false # Configure static asset s...
removed deprecated message for 'serve_static_assets'
CultivateLabs_storytime
train
c08939098eb1adcc5fe1143c8f91baf076a871f8
diff --git a/_osmtogtfs/osm_processor.py b/_osmtogtfs/osm_processor.py index <HASH>..<HASH> 100644 --- a/_osmtogtfs/osm_processor.py +++ b/_osmtogtfs/osm_processor.py @@ -105,9 +105,6 @@ class GTFSPreprocessor(o.SimpleHandler): if rel.tags.get('type') == 'route' and self._is_public_transport(rel.tags.get('rout...
Fix stop extraction for routes. Previously, we were missing many stops, because they were already added to the list of stops in another route. Former-commit-id: c<I>fbc<I>c<I>ae<I>baa1a<I>c<I>f
hiposfer_o2g
train
173fb41114d9521dbd323eafcd9a20e284baa530
diff --git a/eventsourcing/examples/searchabletimestamps/application.py b/eventsourcing/examples/searchabletimestamps/application.py index <HASH>..<HASH> 100644 --- a/eventsourcing/examples/searchabletimestamps/application.py +++ b/eventsourcing/examples/searchabletimestamps/application.py @@ -5,8 +5,8 @@ from uuid imp...
Fixed cast to abstract record type in "searchable timestamps" application example.
johnbywater_eventsourcing
train
bcbb28e29c9d924314b06489e152dab9efba834e
diff --git a/lib/write_xlsx/workbook.rb b/lib/write_xlsx/workbook.rb index <HASH>..<HASH> 100644 --- a/lib/write_xlsx/workbook.rb +++ b/lib/write_xlsx/workbook.rb @@ -1212,7 +1212,7 @@ module Writexlsx # Check for Print Area settings. if !sheet.print_area.empty? - range = sheet.print_area +...
* delete attr_reader :print_area in Worksheet, and add Worksheet#get_print_area
cxn03651_write_xlsx
train
adcd2008ab69271b1446a7579634b40a2b1a1758
diff --git a/tensorflow_datasets/rl_unplugged/rlu_dmlab_seekavoid_arena01/rlu_dmlab_seekavoid_arena01_test.py b/tensorflow_datasets/rl_unplugged/rlu_dmlab_seekavoid_arena01/rlu_dmlab_seekavoid_arena01_test.py index <HASH>..<HASH> 100644 --- a/tensorflow_datasets/rl_unplugged/rlu_dmlab_seekavoid_arena01/rlu_dmlab_seekav...
Remove outdated TODO. PiperOrigin-RevId: <I>
tensorflow_datasets
train
1fb77d42e46142ad88479fbfff8ac117744b983b
diff --git a/rake-tasks/crazy_fun/mappings/javascript.rb b/rake-tasks/crazy_fun/mappings/javascript.rb index <HASH>..<HASH> 100644 --- a/rake-tasks/crazy_fun/mappings/javascript.rb +++ b/rake-tasks/crazy_fun/mappings/javascript.rb @@ -245,10 +245,9 @@ module Javascript def handle(fun, dir, args) name = exp...
SimonStewart: If the first target of the build is clean, the result of mkdir will fail. Fixing this. r<I>
SeleniumHQ_selenium
train
ac39d5f3a5b86ccc9d49fb4af5961376c81244ed
diff --git a/lib/repo/config.rb b/lib/repo/config.rb index <HASH>..<HASH> 100644 --- a/lib/repo/config.rb +++ b/lib/repo/config.rb @@ -63,16 +63,11 @@ module Ronin config_doc = Document.new(File.new(path)) config_doc.elements.each('/config/repos/repo') do |repo| - if repo.has_attribute?('type') - repo_type ...
* Fixed some xml parsing bugs.
ronin-ruby_ronin
train
63af11f0d453a7108f306a20f373081f4e15298a
diff --git a/lib/dicom/DWrite.rb b/lib/dicom/DWrite.rb index <HASH>..<HASH> 100644 --- a/lib/dicom/DWrite.rb +++ b/lib/dicom/DWrite.rb @@ -215,7 +215,13 @@ module DICOM end # If this particular element has children, write these (recursively) before proceeding with elements at the current level: ...
Fixed an issue when DWrite did not handle delimiter tags after the recent rewrite.
dicom_ruby-dicom
train
ffb85e4cdb3f298b0a792fddd8f55c71db7b986f
diff --git a/src/Speed.py b/src/Speed.py index <HASH>..<HASH> 100644 --- a/src/Speed.py +++ b/src/Speed.py @@ -5,17 +5,17 @@ class Speed(Observation): between farenheight and celsius, yay ''' METERSPERSECOND = 1 MILESPERHOUR = 1 - MISSING = 999 + MISSING = [999, 9999, 999.9] def get_miles(self): ''...
adding support for missing values in speeds & unittest
haydenth_ish_parser
train
68b70c34794c9828cea421cc17b7032e242994d4
diff --git a/generators/server/templates/src/main/java/package/service/dto/_UserDTO.java b/generators/server/templates/src/main/java/package/service/dto/_UserDTO.java index <HASH>..<HASH> 100644 --- a/generators/server/templates/src/main/java/package/service/dto/_UserDTO.java +++ b/generators/server/templates/src/main/...
fix many-to-many relationship when User is the target Entity
jhipster_generator-jhipster
train
7e06ecf6a72be902faee222dbd344914b563bae5
diff --git a/annotations/cypher.go b/annotations/cypher.go index <HASH>..<HASH> 100644 --- a/annotations/cypher.go +++ b/annotations/cypher.go @@ -131,6 +131,7 @@ func (s service) Write(contentUUID string, thing interface{}) (err error) { } queries := append([]*neoism.CypherQuery{}, dropAllAnnotationsQuery(contentU...
changed to take first provenance in list, added log to file
Financial-Times_annotations-rw-neo4j
train
ec55728f1e5d283ac3c05a385d63c08cde2eb12f
diff --git a/blox/compile.py b/blox/compile.py index <HASH>..<HASH> 100644 --- a/blox/compile.py +++ b/blox/compile.py @@ -91,7 +91,7 @@ def to_python(dom, factory=factory, indent=' '): compile_node(nested_child_node, parent=attached_child) attached_text = (child_node.text or ""...
Continue work toward correct setting nested text bloks
timothycrosley_blox
train
5a30e3583fe390c1d35e5630e298565d6194d801
diff --git a/uproot/write/objects/TTree.py b/uproot/write/objects/TTree.py index <HASH>..<HASH> 100644 --- a/uproot/write/objects/TTree.py +++ b/uproot/write/objects/TTree.py @@ -36,7 +36,7 @@ def divide_flush(branchdict, flushsize): sizes = 0 for name in branchdict.keys(): sizes += numpy.dtype(branc...
Fixed for python 2
scikit-hep_uproot
train
2b37bdf2538849112d7b250e285b53051501e455
diff --git a/src/Psalm/Internal/Analyzer/Statements/Expression/Fetch/ClassConstFetchAnalyzer.php b/src/Psalm/Internal/Analyzer/Statements/Expression/Fetch/ClassConstFetchAnalyzer.php index <HASH>..<HASH> 100644 --- a/src/Psalm/Internal/Analyzer/Statements/Expression/Fetch/ClassConstFetchAnalyzer.php +++ b/src/Psalm/Int...
get rid of the final check that was there only for static:: before
vimeo_psalm
train
a08356072047c93f3b4e63ccade02d72be2940aa
diff --git a/envy/application.py b/envy/application.py index <HASH>..<HASH> 100644 --- a/envy/application.py +++ b/envy/application.py @@ -68,7 +68,8 @@ def edit(args): full_package_path = get_venv_full_package_path(pkg_name_given_in_arg) - file_path = args.path[0].split("/")[-1] + split_file_path = args...
Fix finding nested files in a package
shaunvxc_envy
train
392ef23526f175614042292db35a990ca4e91871
diff --git a/src/Illuminate/Queue/RedisQueue.php b/src/Illuminate/Queue/RedisQueue.php index <HASH>..<HASH> 100644 --- a/src/Illuminate/Queue/RedisQueue.php +++ b/src/Illuminate/Queue/RedisQueue.php @@ -88,7 +88,16 @@ class RedisQueue extends Queue implements QueueContract */ public function push($job, $data...
Make the redis queue blocking pop atomic Use a separate list `queues:{{name}}:notify` to allow us to use the BLPOP command without risking lost jobs.
laravel_framework
train
02263f8ded58e153dc22f27cd98663b1d5593a8a
diff --git a/modules/cij/__init__.py b/modules/cij/__init__.py index <HASH>..<HASH> 100644 --- a/modules/cij/__init__.py +++ b/modules/cij/__init__.py @@ -8,7 +8,7 @@ import os VERSION_MAJOR = 0 VERSION_MINOR = 2 -VERSION_PATCH = 1 +VERSION_PATCH = 2 VERSION = "%d.%d.%d" % (VERSION_MAJOR, VERSION_MINOR, VERSION_PA...
ver: bump to <I>
refenv_cijoe
train
cb06598fae4a85e2ffe90dbf3db00e2129f8405d
diff --git a/src/Bkwld/Decoy/Controllers/Base.php b/src/Bkwld/Decoy/Controllers/Base.php index <HASH>..<HASH> 100644 --- a/src/Bkwld/Decoy/Controllers/Base.php +++ b/src/Bkwld/Decoy/Controllers/Base.php @@ -427,6 +427,41 @@ class Base extends Controller { } + // Update an item + public function update($id) { + +...
The POST update responses are working in decoy, closes #<I>
BKWLD_decoy
train
3070f0b6c538f273c503c3bcdf86fcd26761e871
diff --git a/GPy/kern/kern.py b/GPy/kern/kern.py index <HASH>..<HASH> 100644 --- a/GPy/kern/kern.py +++ b/GPy/kern/kern.py @@ -182,7 +182,7 @@ class kern(parameterised): X2 = X slices1, slices2 = self._process_slices(slices1,slices2) target = np.zeros_like(X) - [p.dK_dX(partial[s1,...
removed some redundant looping in kern.py
SheffieldML_GPy
train
794f2f6b627781cdf9086f84d0839140407a06f8
diff --git a/cpuinfo.py b/cpuinfo.py index <HASH>..<HASH> 100644 --- a/cpuinfo.py +++ b/cpuinfo.py @@ -62,6 +62,15 @@ def is_bit_set(reg, bit): def run_asm(*byte_code): byte_code = b''.join(byte_code) + # Check for brain damage + has_brain_damage = False + try: + import selinux + if selinux.is_selinux_enabled() ...
Updated the asm runner to not mprotect on SE Linux.
workhorsy_py-cpuinfo
train
f55e8049375268852cc44fa846511fd4692b5f59
diff --git a/montblanc/util/__init__.py b/montblanc/util/__init__.py index <HASH>..<HASH> 100644 --- a/montblanc/util/__init__.py +++ b/montblanc/util/__init__.py @@ -21,6 +21,8 @@ import numpy as np import math +import montblanc + from ary_dim_eval import eval_expr, eval_expr_names_and_nrs from sky_model_parser ...
Warn on attempts to register unknown source types. This also catches typos.
ska-sa_montblanc
train
c7f8bfa0010f6f92c875e0c11df7ecd397eca35c
diff --git a/libnetwork/drivers/ipvlan/ipvlan_network.go b/libnetwork/drivers/ipvlan/ipvlan_network.go index <HASH>..<HASH> 100644 --- a/libnetwork/drivers/ipvlan/ipvlan_network.go +++ b/libnetwork/drivers/ipvlan/ipvlan_network.go @@ -194,12 +194,9 @@ func parseNetworkOptions(id string, option options.Generic) (*config...
Fix internal ipvlan network to work in swarm Using dummy interface allows communication beween containers only if they are running on the same node in swarm.
moby_moby
train
7a9847e519dd7f1cce3f59d88d0361cadb5f1bb1
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -26,6 +26,10 @@ function Trimp (config) { config.rest = parseInt(config.rest, 10); config.max = parseInt(config.max, 10); + if (config.rest > config.max) { + throw new TrimpException('resting heart rate ...
resting heart rate can't be more than maximum heart rate
beeplove_node-trimp
train
7ae2cd2d618395d2ce3b715d829f0959ce19c462
diff --git a/tests/MY_Model_test.php b/tests/MY_Model_test.php index <HASH>..<HASH> 100644 --- a/tests/MY_Model_test.php +++ b/tests/MY_Model_test.php @@ -684,6 +684,23 @@ class MY_Model_tests extends PHPUnit_Framework_TestCase $this->assertEquals($this->model->with_deleted()->get(2), 'fake_record_here'); ...
Adding tests for only_delete
jamierumbelow_codeigniter-base-model
train
bdb959dced2756b131d492654613aa3aefde1003
diff --git a/lib/secure_headers/headers/content_security_policy_config.rb b/lib/secure_headers/headers/content_security_policy_config.rb index <HASH>..<HASH> 100644 --- a/lib/secure_headers/headers/content_security_policy_config.rb +++ b/lib/secure_headers/headers/content_security_policy_config.rb @@ -52,8 +52,9 @@ mod...
Speed up `to_h` on dynamic config by performing a single loop through attrs Avoid initializing the hash with a `nil` value just to reject it later.
twitter_secure_headers
train
472084b206017cc27d06a5c472ce8fbd7d7d8c2b
diff --git a/Lib/fontbakery/testrunner.py b/Lib/fontbakery/testrunner.py index <HASH>..<HASH> 100644 --- a/Lib/fontbakery/testrunner.py +++ b/Lib/fontbakery/testrunner.py @@ -170,6 +170,17 @@ class FailedConditionError(FontBakeryRunnerError): self.traceback = traceback super(FailedConditionError, self).__init...
Catch and handle wrong/missing condition names properly.
googlefonts_fontbakery
train
1a5b7c10f4ae8d4dec1216afc6c9f0c3c3ae424a
diff --git a/modules/pipeloop.py b/modules/pipeloop.py index <HASH>..<HASH> 100644 --- a/modules/pipeloop.py +++ b/modules/pipeloop.py @@ -34,7 +34,7 @@ def pipe_loop(context, _INPUT, conf, embed=None, **kwargs): for item in _INPUT: if loop_with: - inp = item[loop_with] #todo: ge...
Allow a loop's with to be complex
ggaughan_pipe2py
train
94b4ca9f132ac6147cd6734a67738541a391d3e8
diff --git a/plugins/fontsize/trumbowyg.fontsize.js b/plugins/fontsize/trumbowyg.fontsize.js index <HASH>..<HASH> 100644 --- a/plugins/fontsize/trumbowyg.fontsize.js +++ b/plugins/fontsize/trumbowyg.fontsize.js @@ -201,16 +201,21 @@ function setFontSize(trumbowyg, size) { trumbowyg.$ed.focus(); t...
Fix(plugin/fontsize): Change how font-size is applied to retain child tags.
Alex-D_Trumbowyg
train
54c7c13b25cdcc05fd54387bfef58da30905a711
diff --git a/worker/provisioner/lxc-broker.go b/worker/provisioner/lxc-broker.go index <HASH>..<HASH> 100644 --- a/worker/provisioner/lxc-broker.go +++ b/worker/provisioner/lxc-broker.go @@ -7,6 +7,7 @@ import ( "bufio" "bytes" "fmt" + "math/rand" "net" "os" "strings" @@ -498,9 +499,19 @@ func discoverPrima...
Generate random MAC addresses for interfaces
juju_juju
train
cd1e38936016b7163fc504cb8fe0a79fab2b6378
diff --git a/commands/files/serialfile.go b/commands/files/serialfile.go index <HASH>..<HASH> 100644 --- a/commands/files/serialfile.go +++ b/commands/files/serialfile.go @@ -14,12 +14,12 @@ import ( // No more than one file will be opened at a time (directories will advance // to the next file when NextFile() is cal...
rename hidden field License: MIT
ipfs_go-ipfs
train
431417752f98d3899ef6386da228bc53630fb7aa
diff --git a/oscrypto/_osx/_core_foundation_cffi.py b/oscrypto/_osx/_core_foundation_cffi.py index <HASH>..<HASH> 100644 --- a/oscrypto/_osx/_core_foundation_cffi.py +++ b/oscrypto/_osx/_core_foundation_cffi.py @@ -8,6 +8,7 @@ from .._ffi import ( byte_string_from_buffer, deref, FFIEngineError, + is_n...
Fix an error on OS X with cffi and null values returned by CFStringGetCStringPtr
wbond_oscrypto
train
285d7fee487c65b80b3d969fc21495079b294403
diff --git a/ircd/local_user.go b/ircd/local_user.go index <HASH>..<HASH> 100644 --- a/ircd/local_user.go +++ b/ircd/local_user.go @@ -402,6 +402,10 @@ func (u *LocalUser) nickCommand(m irc.Message) { // Finally, make the update. Do this last as we need to ensure we act // as the old nick when crafting messages. ...
ircd: Set nick ts when changing nick
horgh_irc
train
5214b87c3bf8a100f3d60d2295e16bca2d6707aa
diff --git a/wikidataintegrator/wdi_fastrun.py b/wikidataintegrator/wdi_fastrun.py index <HASH>..<HASH> 100644 --- a/wikidataintegrator/wdi_fastrun.py +++ b/wikidataintegrator/wdi_fastrun.py @@ -1,11 +1,8 @@ import copy from collections import defaultdict -from datetime import datetime +from functools import lru_cach...
fix fastrun on wikibase for references, same issue as <I>ec<I>dde0cde9dd9e<I>af5d<I>f<I>ee<I>f<I>
SuLab_WikidataIntegrator
train
a29432163e9aa936513a467bdbc6bb148f97b3b6
diff --git a/test/e2e_node/e2e_service.go b/test/e2e_node/e2e_service.go index <HASH>..<HASH> 100644 --- a/test/e2e_node/e2e_service.go +++ b/test/e2e_node/e2e_service.go @@ -145,6 +145,7 @@ func (es *e2eService) startKubeletServer() (*exec.Cmd, error) { "--hostname-override", es.nodeName, // Required because hostna...
node_e2e: disable serialized image pulls and increase test timeout
kubernetes_kubernetes
train
ea9fc15d53e23cd6e82fc2553ba993ce1edb90fe
diff --git a/pwnypack/main.py b/pwnypack/main.py index <HASH>..<HASH> 100644 --- a/pwnypack/main.py +++ b/pwnypack/main.py @@ -159,7 +159,7 @@ def main(): dest='no_newline', action='store_const', const=True, - help='inhibit newline after output' + help='inhibit newline after out...
Inhibit newline when output is piped.
edibledinos_pwnypack
train
a068b2ff74b2c62bdc167522e7bae292632544f8
diff --git a/distributed/src/main/java/com/orientechnologies/orient/server/distributed/impl/ODistributedAbstractPlugin.java b/distributed/src/main/java/com/orientechnologies/orient/server/distributed/impl/ODistributedAbstractPlugin.java index <HASH>..<HASH> 100755 --- a/distributed/src/main/java/com/orientechnologies/o...
moved storage replace in session on background to avoid deadlocks
orientechnologies_orientdb
train
867d435ab372f76a807ad272384befe17899142d
diff --git a/lib/db/index.js b/lib/db/index.js index <HASH>..<HASH> 100644 --- a/lib/db/index.js +++ b/lib/db/index.js @@ -177,6 +177,25 @@ class Db extends EventEmitter { if (!auth.hasReadAccess(storeDesc.access, user)) { throw new Error("Unauthorized"); } + let fi...
Now forEach can takes filters from storeDesc
getblank_blank-node-worker
train
e18e9fc5e5ffa967c64286bde47bbd925d6ba524
diff --git a/lib/ox/version.rb b/lib/ox/version.rb index <HASH>..<HASH> 100644 --- a/lib/ox/version.rb +++ b/lib/ox/version.rb @@ -1,5 +1,5 @@ module Ox # Current version of the module. - VERSION = '1.6.8a1' + VERSION = '1.6.8' end
changed extconf.rb to use RUBY_PLATFORM
ohler55_ox
train
b9cba26ef39179f716df1005200bdceaea6a32c9
diff --git a/mustache_test.go b/mustache_test.go index <HASH>..<HASH> 100644 --- a/mustache_test.go +++ b/mustache_test.go @@ -1,7 +1,6 @@ package raymond import ( - "fmt" "io/ioutil" "path" "regexp" @@ -46,7 +45,7 @@ func TestMustache(t *testing.T) { for _, fileName := range mustacheTestFiles() { if s...
Decreases tests verbosity
aymerick_raymond
train
5e11cdcdd7b930024910b86918a9440a06c5d650
diff --git a/tsdb/engine/tsm1/reader.go b/tsdb/engine/tsm1/reader.go index <HASH>..<HASH> 100644 --- a/tsdb/engine/tsm1/reader.go +++ b/tsdb/engine/tsm1/reader.go @@ -895,7 +895,7 @@ func (d *indirectIndex) OverlapsTimeRange(min, max int64) bool { // OverlapsKeyRange returns true if the min and max keys of the file ...
Fix incorrect condition in OverlapsKeyRange The min key was not used in OverlapsKeyRange which caused it to return false when it should be true. This causes a bug where deletes would not write tombstones for files that actually contained the data it was supposed to delete.
influxdata_influxdb
train
0ecafb8a6909f5d342246aefb9ac97350cef6558
diff --git a/pkg/tarsum/tarsum.go b/pkg/tarsum/tarsum.go index <HASH>..<HASH> 100644 --- a/pkg/tarsum/tarsum.go +++ b/pkg/tarsum/tarsum.go @@ -81,7 +81,7 @@ func (ts tarSum) selectHeaders(h *tar.Header, v Version) (set [][2]string) { {"devmajor", strconv.Itoa(int(h.Devmajor))}, {"devminor", strconv.Itoa(int(h.Dev...
tarsum: version the addition of xattrs Now that TarSum can be versioned, move the addition of xattr headers in to the next version of TarSum
containers_storage
train
7fd66c6b56376bee13680cf3c3586e7bdc3dbbdd
diff --git a/nomenclate/version.py b/nomenclate/version.py index <HASH>..<HASH> 100644 --- a/nomenclate/version.py +++ b/nomenclate/version.py @@ -1 +1 @@ -__version__ = '1.3.3' +__version__ = '2.0.0'
Versioned up to <I>
AndresMWeber_Nomenclate
train
eb1a6204df2698a94faddca035a37cb61b591cce
diff --git a/client/image_load.go b/client/image_load.go index <HASH>..<HASH> 100644 --- a/client/image_load.go +++ b/client/image_load.go @@ -18,7 +18,8 @@ func (cli *Client) ImageLoad(ctx context.Context, input io.Reader, quiet bool) ( if quiet { v.Set("quiet", "1") } - resp, err := cli.postRaw(ctx, "/images/l...
Correctly set content type for image load The default content type is `text/plain`, which, if authz plugins are in use will cause the entire body to be read (and fail because of another bug that will be fixed in docker/docker separately). Given the content type should really be binary format anyway, this is a good cha...
docker_engine-api
train
d04668d1bf141d1b9084a82f31bc7c90dcf4660f
diff --git a/cider/core.py b/cider/core.py index <HASH>..<HASH> 100755 --- a/cider/core.py +++ b/cider/core.py @@ -254,10 +254,10 @@ def _make_symlink(source, target, debug=None): os.path.realpath(source) ): linked = True - print(tty.progress("Already linked...
Reduce verbosity of `cider relink`
msanders_cider
train
0b95e4265c8c9843edacb8d6eac54caa9ee761f0
diff --git a/src/Bluz/Application.php b/src/Bluz/Application.php index <HASH>..<HASH> 100644 --- a/src/Bluz/Application.php +++ b/src/Bluz/Application.php @@ -1216,4 +1216,15 @@ class Application return $apiPath; } + + /** + * Finally method + * + * @return Application + */ + ...
Added log to file for all errors Check BLUZ_LOG environment variable
bluzphp_framework
train
13297ac71cb45241c7de6b9716ae48f523a824f7
diff --git a/src/transformers/pipelines/automatic_speech_recognition.py b/src/transformers/pipelines/automatic_speech_recognition.py index <HASH>..<HASH> 100644 --- a/src/transformers/pipelines/automatic_speech_recognition.py +++ b/src/transformers/pipelines/automatic_speech_recognition.py @@ -154,24 +154,21 @@ class A...
Fic docstring of ASR pipeline (#<I>)
huggingface_pytorch-pretrained-BERT
train
2b76a68a901d832af52b967ac321395bd1330f93
diff --git a/test/tokens/StdDaoTokenTests.js b/test/tokens/StdDaoTokenTests.js index <HASH>..<HASH> 100644 --- a/test/tokens/StdDaoTokenTests.js +++ b/test/tokens/StdDaoTokenTests.js @@ -184,8 +184,21 @@ require('chai') const votingID = events.filter(e => e.args._address == creator)[0].args._votingID; await...
Adding new test. NOT WORKING
Thetta_Thetta-DAO-Framework
train
8566b5899dc55e60074dfaaf28017654df5d3df5
diff --git a/src/Type/Introspection.php b/src/Type/Introspection.php index <HASH>..<HASH> 100644 --- a/src/Type/Introspection.php +++ b/src/Type/Introspection.php @@ -167,7 +167,10 @@ EOD; return array_key_exists($type->name, self::getTypes()); } - public static function getTypes() + /** + * @...
Stronger types for schema related code (#<I>)
webonyx_graphql-php
train
751c7b0d4042ed56ef1eb7ed2b5728bb158d0be4
diff --git a/smack-core/src/main/java/org/jivesoftware/smack/util/ArrayBlockingQueueWithShutdown.java b/smack-core/src/main/java/org/jivesoftware/smack/util/ArrayBlockingQueueWithShutdown.java index <HASH>..<HASH> 100644 --- a/smack-core/src/main/java/org/jivesoftware/smack/util/ArrayBlockingQueueWithShutdown.java +++ ...
Improve ArrayBlockingQueueWithShutdown.tryPut() to return the internal state when the operation is performed.
igniterealtime_Smack
train
e59a854ca51654567e7165032af143f67f589899
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -2,9 +2,6 @@ var env = {}; var specs = {}; -// TODO: recommended/required support -// TODO: support help argument - var EnvError = exports.EnvError = function EnvError() {}; // Validate a single field. Expects a field...
Better support for required/recommended/help validation parameters.
af_envalid
train
684e89d7327f82ebf21f83cebbd212026d51cc33
diff --git a/lore/env.py b/lore/env.py index <HASH>..<HASH> 100644 --- a/lore/env.py +++ b/lore/env.py @@ -43,14 +43,14 @@ TEST = 'test' DEVELOPMENT = 'development' PRODUCTION = 'production' -ascii_locale = False -ascii_upgraded = False -if 'ascii' in locale.getpreferredencoding().lower(): +unicode_locale = True +u...
Use a whitelist of unicode locales, rather than a blacklist
instacart_lore
train
3e4ebac26b263fd2bba069b9dad4270ee750cc16
diff --git a/rb/lib/selenium/webdriver/common/action_builder.rb b/rb/lib/selenium/webdriver/common/action_builder.rb index <HASH>..<HASH> 100644 --- a/rb/lib/selenium/webdriver/common/action_builder.rb +++ b/rb/lib/selenium/webdriver/common/action_builder.rb @@ -343,6 +343,8 @@ module Selenium @actions.each { ...
JariBakken: Fix the return value of ActionBuilder#perform. No need to return all the internal state, even by accident. r<I>
SeleniumHQ_selenium
train