diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/pyGenClean/LaTeX/auto_report.py b/pyGenClean/LaTeX/auto_report.py
index <HASH>..<HASH> 100644
--- a/pyGenClean/LaTeX/auto_report.py
+++ b/pyGenClean/LaTeX/auto_report.py
@@ -119,6 +119,17 @@ def create_report(outdirname, report_filename, **kwargs):
volume="81",
number="3",
pages=... | Added the bafRegress reference | py |
diff --git a/src/aspectlib/test.py b/src/aspectlib/test.py
index <HASH>..<HASH> 100644
--- a/src/aspectlib/test.py
+++ b/src/aspectlib/test.py
@@ -87,6 +87,8 @@ class LogCapture(object):
... logger.error("Message from error: %s", 'somearg')
>>> logs.calls
[('Message from info: %s', ('some... | Add example with ``messages``. | py |
diff --git a/compliance_checker/ioos.py b/compliance_checker/ioos.py
index <HASH>..<HASH> 100644
--- a/compliance_checker/ioos.py
+++ b/compliance_checker/ioos.py
@@ -451,8 +451,6 @@ class IOOS1_2Check(IOOSNCCheck):
self.rec_atts = [
('contributor_email', base.EmailValidator()),
'cont... | Ioos 1 2 redundant msgs (#<I>) * Remove redundant messaging for contributor_role and contributor_role_vocabulary By removing contributor_role and contributor_role_vocabulary from the recommended attributes, the explcitly implemented checks put out the correct number of messages. * Remove redundant messaging ... | py |
diff --git a/telethon_generator/tl_generator.py b/telethon_generator/tl_generator.py
index <HASH>..<HASH> 100644
--- a/telethon_generator/tl_generator.py
+++ b/telethon_generator/tl_generator.py
@@ -314,11 +314,11 @@ class TLGenerator:
for ra in repeated_args.values():
if len(ra) > 1:
- ... | Fix assert condition on generated code with flags involved The specific case was SendMessageRequest with InputMessageEntityMentionName, failing with bot/bot_info | py |
diff --git a/cobra/test/flux_analysis.py b/cobra/test/flux_analysis.py
index <HASH>..<HASH> 100644
--- a/cobra/test/flux_analysis.py
+++ b/cobra/test/flux_analysis.py
@@ -64,9 +64,18 @@ class TestCobraFluxAnalysis(TestCase):
modify.revert_to_reversible(model3)
self.assertAlmostEqual(model1.solution.f,... | add unit test to catch #<I> Checks that convert_to_irreversible works with negative upper bounds. | py |
diff --git a/indra/literature/crossref_client.py b/indra/literature/crossref_client.py
index <HASH>..<HASH> 100644
--- a/indra/literature/crossref_client.py
+++ b/indra/literature/crossref_client.py
@@ -138,6 +138,9 @@ def doi_query(pmid, search_limit=10):
xref_doi_url = result['doi']
# Strip the URL ... | Handle case where DOI doesn't match pattern | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -29,6 +29,7 @@ setup(
"django-appconf>=1.0.1",
"django-test-plus>=1.0.11",
"mock>=1.3.0",
+ "django-user-accounts>=1.3.1",
"pinax-theme-bootstrap>=7.2.0",
],
install_require... | Adding django-user-accounts for testing. | py |
diff --git a/delphi/utils.py b/delphi/utils.py
index <HASH>..<HASH> 100644
--- a/delphi/utils.py
+++ b/delphi/utils.py
@@ -131,7 +131,7 @@ def foldl(f: Callable[[T, U], T], x: T, xs: Iterable[U]) -> T:
of an iterable.
.. math::
- foldl(f, x_0, [x_1, x_2, x_3]) = f(f(f(f(x_0), x_1), x_2), x_3)
+ ... | Fixed documentation for foldl and foldl1 functions | py |
diff --git a/minio/__version__.py b/minio/__version__.py
index <HASH>..<HASH> 100644
--- a/minio/__version__.py
+++ b/minio/__version__.py
@@ -17,7 +17,7 @@
# (major, minor, micro, alpha/beta/rc/final, #)
# (1, 1, 2, 'alpha', 0) => "1.1.2.dev"
# (1, 2, 0, 'beta', 2) => "1.2b2"
-version_info = (0, 2, 7, 'final', 0)
+... | Bump to new version <I> | py |
diff --git a/tests/test_jujupy.py b/tests/test_jujupy.py
index <HASH>..<HASH> 100644
--- a/tests/test_jujupy.py
+++ b/tests/test_jujupy.py
@@ -291,7 +291,7 @@ class FakeBackend:
if backing_state is None:
backing_state = self._backing_state
return self.__class__(backing_state, set(self._fe... | Fix clone overrides. | py |
diff --git a/version.py b/version.py
index <HASH>..<HASH> 100755
--- a/version.py
+++ b/version.py
@@ -1,2 +1,2 @@
#/usr/bin/env python
-VERSION = '1.2.9-s841'
+VERSION = '1.2.9-s852' | Ready for release New release s<I> | py |
diff --git a/Lib/glyphsLib/classes.py b/Lib/glyphsLib/classes.py
index <HASH>..<HASH> 100755
--- a/Lib/glyphsLib/classes.py
+++ b/Lib/glyphsLib/classes.py
@@ -1127,7 +1127,7 @@ class GSComponent(GSBase):
"alignment": int,
"anchor": str,
"locked": bool,
- "name": str,
+ "name": u... | classes: GSComponent.name and GSAnchor.name as unicode | py |
diff --git a/PyFileMaker/FMServer.py b/PyFileMaker/FMServer.py
index <HASH>..<HASH> 100644
--- a/PyFileMaker/FMServer.py
+++ b/PyFileMaker/FMServer.py
@@ -678,6 +678,9 @@ class FMServer:
request = '&'.join(request)
url = "%s?%s" % (self._buildUrl(), request)
+ if self._debug:
+ print '[PyFileMaker DEBUG] '... | Add missing functionality to debug query when debug mode is True | py |
diff --git a/api/models.py b/api/models.py
index <HASH>..<HASH> 100644
--- a/api/models.py
+++ b/api/models.py
@@ -549,10 +549,7 @@ class App(UuidAuditedModel):
release = self.release_set.order_by('-created')[0]
# prepare ssh command
version = release.version
- docker_args = ' '.join(
... | change run to use build.image instead of a slug mount | py |
diff --git a/agentarchives/archivesspace/client.py b/agentarchives/archivesspace/client.py
index <HASH>..<HASH> 100644
--- a/agentarchives/archivesspace/client.py
+++ b/agentarchives/archivesspace/client.py
@@ -417,6 +417,8 @@ class ArchivesSpaceClient(object):
"type": "accessrestrict",
... | AS: publish file versions if there are no restrictions | py |
diff --git a/angr/analyses/binary_optimizer.py b/angr/analyses/binary_optimizer.py
index <HASH>..<HASH> 100644
--- a/angr/analyses/binary_optimizer.py
+++ b/angr/analyses/binary_optimizer.py
@@ -160,6 +160,22 @@ class BinaryOptimizer(Analysis):
func_kb = KnowledgeBase(self.project, self.project.loader.main_o... | BinaryOptimizer: add some explanations on why we need to specify iropt_level as 0. | py |
diff --git a/psiturk/models.py b/psiturk/models.py
index <HASH>..<HASH> 100644
--- a/psiturk/models.py
+++ b/psiturk/models.py
@@ -34,7 +34,7 @@ class Participant(Base):
endhit = Column(DateTime)
bonus = Column(Float, default = 0)
status = Column(Integer, default = 1)
- datastring = Column(UnicodeText... | Fix bug encoding non-unicode strings This lets it just save the ascii strings, which seems to work. | py |
diff --git a/anyconfig/cli.py b/anyconfig/cli.py
index <HASH>..<HASH> 100644
--- a/anyconfig/cli.py
+++ b/anyconfig/cli.py
@@ -55,7 +55,10 @@ Examples:
%prog '/etc/foo.d/*.json' -M noreplace
# Get/set part of input config
%prog '/etc/foo.d/*.json' --get a.b.c
- %prog '/etc/foo.d/*.json' --set a.b.c=1"""
+ %p... | enhancement: show validation related examples in usage | py |
diff --git a/blockstack_cli_0.14.1/blockstack_client/storage.py b/blockstack_cli_0.14.1/blockstack_client/storage.py
index <HASH>..<HASH> 100644
--- a/blockstack_cli_0.14.1/blockstack_client/storage.py
+++ b/blockstack_cli_0.14.1/blockstack_client/storage.py
@@ -192,10 +192,12 @@ def parse_mutable_data( mutable_data_js... | verify JWT is a dict or a list | py |
diff --git a/pyasn1/type/univ.py b/pyasn1/type/univ.py
index <HASH>..<HASH> 100644
--- a/pyasn1/type/univ.py
+++ b/pyasn1/type/univ.py
@@ -325,9 +325,10 @@ class OctetString(base.AbstractSimpleAsn1Item):
if sys.version_info[0] <= 2:
def __str__(self): return str(self._value)
- def __unicode__(sel... | ignore possible failures on bytes-to-string convertion at OctetString | py |
diff --git a/eve_elastic/elastic.py b/eve_elastic/elastic.py
index <HASH>..<HASH> 100644
--- a/eve_elastic/elastic.py
+++ b/eve_elastic/elastic.py
@@ -107,7 +107,10 @@ class Elastic(DataLayer):
mapping[datasource[0]] = {'properties': properties}
self.es.put_mapping(self.index, datasource[0], m... | Add sub_resource_lookup to find method. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -8,7 +8,7 @@ except ImportError:
setup(
name='relay.runner',
- version='0.1.8',
+ version='0.1.9.dev0',
description=(
'A smart thermostat. Given a metric, or some timeseries that should'
'... | Back to development: <I> | py |
diff --git a/niworkflows/utils/misc.py b/niworkflows/utils/misc.py
index <HASH>..<HASH> 100644
--- a/niworkflows/utils/misc.py
+++ b/niworkflows/utils/misc.py
@@ -263,5 +263,28 @@ def pass_dummy_scans(algo_dummy_scans, dummy_scans=None):
return dummy_scans
+def check_valid_fs_license():
+ """Quickly runs mr... | ENH: Add utility function to quickly check FS license | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -37,7 +37,7 @@ setup(
# Details
url="https://github.com/kayak/pypika",
- description="A query builder API for Python",
+ description="A SQL query builder API for Python",
long_description=readme(),
... | Added "SQL" to description To avoid confusion with, and inferred relation to, pika, the query builder for AMPQ. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -21,11 +21,12 @@ if any([v < (2, 6), (3,) < v < (3, 3)]):
import os
from os.path import abspath
import sys
+import numpy as np
from setuptools import setup, Extension, find_packages
# Sources & libraries
-inc_dirs = [... | setup in clude numpy bette | py |
diff --git a/Mixtape/lumping/pcca.py b/Mixtape/lumping/pcca.py
index <HASH>..<HASH> 100644
--- a/Mixtape/lumping/pcca.py
+++ b/Mixtape/lumping/pcca.py
@@ -44,6 +44,7 @@ class PCCA(mixtape.markovstatemodel.MarkovStateModel):
return self
def _do_lumping(self):
+ """Does the actual lumping part, cha... | Fixed from_msm and docstring | py |
diff --git a/pipeline/finders.py b/pipeline/finders.py
index <HASH>..<HASH> 100644
--- a/pipeline/finders.py
+++ b/pipeline/finders.py
@@ -45,13 +45,10 @@ class CachedFileFinder(BaseFinder):
"""
try:
start, _, extn = path.rsplit('.', 2)
- path = '.'.join((start, extn))
- ... | Narrow the scope of try: except clause | py |
diff --git a/ircbot.py b/ircbot.py
index <HASH>..<HASH> 100644
--- a/ircbot.py
+++ b/ircbot.py
@@ -58,6 +58,9 @@ class SingleServerIRCBot(SimpleIRCClient):
reconnection_interval -- How long the bot should wait
before trying to reconnect.
+
+ dcc_connection... | Added dcc_connections attribute to doc string again. | py |
diff --git a/delphi/utils/indra.py b/delphi/utils/indra.py
index <HASH>..<HASH> 100644
--- a/delphi/utils/indra.py
+++ b/delphi/utils/indra.py
@@ -42,15 +42,19 @@ def influence_stmt_from_dict(d: Dict) -> Influence:
return st
+def get_statements_from_json_dict(_dict: Dict) -> List[Influence]:
+ return [
+ ... | Refactored delphi.utils.indra.get_statements_from_json_file into two functions, one dealing with I/O, and the other not. | py |
diff --git a/hwt/hdl/types/bitsVal.py b/hwt/hdl/types/bitsVal.py
index <HASH>..<HASH> 100644
--- a/hwt/hdl/types/bitsVal.py
+++ b/hwt/hdl/types/bitsVal.py
@@ -408,13 +408,17 @@ class BitsVal(Bits3val, EventCapableVal, HValue):
return b
else:
a = toHVal(a)
- b = toHVal(b... | early report of type mismatch in Bits _ternary | py |
diff --git a/doc/conf.py b/doc/conf.py
index <HASH>..<HASH> 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -12,6 +12,7 @@
# serve to show the default.
import sys, os
+import alabaster
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the ... | Added path for alabaster theme in doc config. | py |
diff --git a/pymc3/tests/test_stats.py b/pymc3/tests/test_stats.py
index <HASH>..<HASH> 100644
--- a/pymc3/tests/test_stats.py
+++ b/pymc3/tests/test_stats.py
@@ -61,6 +61,27 @@ def test_dic_warns_on_transformed_rv():
assert(len(w) == 1)
+def test_waic():
+ """Test widely available information criterion... | add test for waic based on test for dic | py |
diff --git a/peewee.py b/peewee.py
index <HASH>..<HASH> 100644
--- a/peewee.py
+++ b/peewee.py
@@ -649,22 +649,25 @@ class QueryResultWrapper(object):
pass
self.__idx = idx
+ def iterate(self):
+ row = self.cursor.fetchone()
+ if row:
+ return self.constru... | Moving parts of the next() logic into a simple iterate function | py |
diff --git a/anonymoususage/anonymoususage.py b/anonymoususage/anonymoususage.py
index <HASH>..<HASH> 100644
--- a/anonymoususage/anonymoususage.py
+++ b/anonymoususage/anonymoususage.py
@@ -261,7 +261,7 @@ class AnonymousUsageTracker(object):
cfg.readfp(_f)
if cfg.has_section('General'):
... | read data base filepath from kwargs first, then search the config file | py |
diff --git a/geomdl/tessellate.py b/geomdl/tessellate.py
index <HASH>..<HASH> 100644
--- a/geomdl/tessellate.py
+++ b/geomdl/tessellate.py
@@ -31,4 +31,4 @@ class TriangularTessellate(Abstract.Tessellate):
super(TriangularTessellate, self).tessellate(points, size_u, size_v, **kwargs)
# Apply default... | Should pass kwargs too | py |
diff --git a/fancy_getopt.py b/fancy_getopt.py
index <HASH>..<HASH> 100644
--- a/fancy_getopt.py
+++ b/fancy_getopt.py
@@ -47,16 +47,24 @@ def fancy_getopt (options, object, args):
attr_name = {}
takes_arg = {}
- for (long, short, help) in options:
+ for option in options:
+ try:
+ (... | Better detection of bad entries in option table. Better error messages for bad entries in option table. | py |
diff --git a/features/txt.py b/features/txt.py
index <HASH>..<HASH> 100644
--- a/features/txt.py
+++ b/features/txt.py
@@ -31,3 +31,17 @@ class GeneGotermMap(Resource):
parts =[part.strip() for part in line.split('\t')]
self.parser[parts[0]].add((parts[1], parts[2]))
fhndl.close()
+
... | added gene id iterator feature | py |
diff --git a/dataswim/data/text.py b/dataswim/data/text.py
index <HASH>..<HASH> 100644
--- a/dataswim/data/text.py
+++ b/dataswim/data/text.py
@@ -8,6 +8,23 @@ class Text():
Class to process text
"""
+ def flat_(self, col, nums=True):
+ """
+ Returns a flat representation of a column's valu... | Add the flat_ method to represent a column | py |
diff --git a/bin/pip_constraint_helpers.py b/bin/pip_constraint_helpers.py
index <HASH>..<HASH> 100644
--- a/bin/pip_constraint_helpers.py
+++ b/bin/pip_constraint_helpers.py
@@ -53,7 +53,7 @@ def get_constraint_file_path(req_dir, toxenv, python_tag):
"""
sys_platform = sys.platform
# pylint: disable=pos... | Lowercase the machine arch in constraints files | py |
diff --git a/fedmsg/text/tagger.py b/fedmsg/text/tagger.py
index <HASH>..<HASH> 100644
--- a/fedmsg/text/tagger.py
+++ b/fedmsg/text/tagger.py
@@ -22,7 +22,7 @@ from fedmsg.text.fasshim import gravatar_url
class TaggerProcessor(BaseProcessor):
- __name__ = "Tagger"
+ __name__ = "fedoratagger"
__descript... | Rename 'Tagger' text processor to 'fedoratagger' to be consistent with the topic | py |
diff --git a/src/satosa/wsgi.py b/src/satosa/wsgi.py
index <HASH>..<HASH> 100644
--- a/src/satosa/wsgi.py
+++ b/src/satosa/wsgi.py
@@ -7,8 +7,8 @@ import sys
from werkzeug.debug import DebuggedApplication
from werkzeug.serving import run_simple
-from .proxy_server import ToBytesMiddleware, WsgiApplication
-from .sa... | Don't use relative imports in main module. It will result in error: 'SystemError: Parent module '' not loaded, cannot perform relative import'. | py |
diff --git a/pyemma/coordinates/data/_base/iterable.py b/pyemma/coordinates/data/_base/iterable.py
index <HASH>..<HASH> 100644
--- a/pyemma/coordinates/data/_base/iterable.py
+++ b/pyemma/coordinates/data/_base/iterable.py
@@ -60,6 +60,8 @@ class Iterable(six.with_metaclass(ABCMeta, ProgressReporter, Loggable)):
@... | [Iterable] if in_memory has not yet been set, return False. | py |
diff --git a/ignite/handlers/checkpoint.py b/ignite/handlers/checkpoint.py
index <HASH>..<HASH> 100644
--- a/ignite/handlers/checkpoint.py
+++ b/ignite/handlers/checkpoint.py
@@ -220,9 +220,12 @@ class Checkpoint(Serializable):
return engine.state.metrics['accuracy']
to_save = {'model': ... | Update checkpoint.py (#<I>) | py |
diff --git a/AndroidViewClient/src/com/dtmilano/android/viewclient.py b/AndroidViewClient/src/com/dtmilano/android/viewclient.py
index <HASH>..<HASH> 100644
--- a/AndroidViewClient/src/com/dtmilano/android/viewclient.py
+++ b/AndroidViewClient/src/com/dtmilano/android/viewclient.py
@@ -1016,6 +1016,7 @@ class ViewClien... | Fixed '\r' at end of serialno in Windows XP - Reported and fix suggested by Diogo Bilkes | py |
diff --git a/address/models.py b/address/models.py
index <HASH>..<HASH> 100644
--- a/address/models.py
+++ b/address/models.py
@@ -210,4 +210,7 @@ class AddressField(models.ForeignKey):
return super(models.ForeignKey, self).formfield(**defaults)
def value_from_object(self, obj):
- return unicode(... | Making sure we don't get any 'none' values turning up. | py |
diff --git a/test_pal.py b/test_pal.py
index <HASH>..<HASH> 100644
--- a/test_pal.py
+++ b/test_pal.py
@@ -1623,14 +1623,17 @@ class TestPAL(unittest.TestCase):
np.testing.assert_array_almost_equal(amprms, expected, decimal=12)
def test_mapqkz(self):
+ """
+ Run inputs through mapqk with z... | Update mapqkz test to match the new version in PAL | py |
diff --git a/avatar/models.py b/avatar/models.py
index <HASH>..<HASH> 100644
--- a/avatar/models.py
+++ b/avatar/models.py
@@ -31,7 +31,8 @@ from avatar.settings import (AVATAR_STORAGE_DIR, AVATAR_RESIZE_METHOD,
AVATAR_MAX_AVATARS_PER_USER, AVATAR_THUMB_FORMAT,
... | Add a get_absolute_url() method to help implementors (it needs to exists for projects to overwrite it) Conflicts: avatar/models.py | py |
diff --git a/buildutils/detect.py b/buildutils/detect.py
index <HASH>..<HASH> 100644
--- a/buildutils/detect.py
+++ b/buildutils/detect.py
@@ -120,6 +120,8 @@ def detect_version(basedir, compiler=None, **compiler_attrs):
cc = ccompiler.new_compiler(compiler=compiler)
cc.output_dir = basedir
i... | Fix problem with detect libcapnp function | py |
diff --git a/libaio/__init__.py b/libaio/__init__.py
index <HASH>..<HASH> 100644
--- a/libaio/__init__.py
+++ b/libaio/__init__.py
@@ -323,6 +323,19 @@ class AIOContext(object):
raise
return self._eventToPython(event)
+ def cancelAll(self):
+ """
+ Cancel all submitted IO blocks... | libaio: Add cancelAll method. Useful to properly finalise all submitted transfers without having to keep track outside of this class (which already has to keep track of submitted transfers). | py |
diff --git a/hdf5storage/Marshallers.py b/hdf5storage/Marshallers.py
index <HASH>..<HASH> 100644
--- a/hdf5storage/Marshallers.py
+++ b/hdf5storage/Marshallers.py
@@ -709,7 +709,7 @@ class NumpyScalarArrayMarshaller(TypeMarshaller):
try:
dt = h5py.special_dtype(vlen=np.dtype('S1'))... | Fixed bug in MATLAB_fields Attribute generation for NumpyScalarArrayMarshaller. | py |
diff --git a/stanza/models/tokenize/utils.py b/stanza/models/tokenize/utils.py
index <HASH>..<HASH> 100644
--- a/stanza/models/tokenize/utils.py
+++ b/stanza/models/tokenize/utils.py
@@ -124,7 +124,7 @@ def output_predictions(output_file, trainer, data_generator, vocab, mwt_dict, ma
oov_count = 0
doc = []
-... | Account for orig_text is None | py |
diff --git a/suds/__init__.py b/suds/__init__.py
index <HASH>..<HASH> 100644
--- a/suds/__init__.py
+++ b/suds/__init__.py
@@ -27,7 +27,7 @@ import sys
#
__version__ = '0.4'
-__build__="(beta) R685-20100513"
+__build__="(beta) R686-20100817"
#
# Exceptions | bump to revision: R<I>-<I>. | py |
diff --git a/vex/make.py b/vex/make.py
index <HASH>..<HASH> 100644
--- a/vex/make.py
+++ b/vex/make.py
@@ -1,5 +1,6 @@
import os
import sys
+import distutils.spawn
from vex.run import run
from vex import exceptions
@@ -45,6 +46,10 @@ def handle_make(environ, options, make_path):
ve = 'virtualenv'
ar... | use distutils.spawn.find_executable to resolve --python arg on win vex isn't even processing the argument, so virtualenv itself is failing here. This is a terrible workaround for the failures of Windows and virtualenv to resolve arguments for convenience of Windows users. Windows users should probably be used to speci... | py |
diff --git a/hydra_base/lib/objects.py b/hydra_base/lib/objects.py
index <HASH>..<HASH> 100644
--- a/hydra_base/lib/objects.py
+++ b/hydra_base/lib/objects.py
@@ -19,11 +19,12 @@
import json
import six
+import enum
from datetime import datetime
from ..exceptions import HydraError
-from .HydraTypes.Registry im... | Add support for enums in the JSONObject by checking if a value is an instance of an enum and setting its value if so | py |
diff --git a/gyp/pylib/gyp/generator/make.py b/gyp/pylib/gyp/generator/make.py
index <HASH>..<HASH> 100644
--- a/gyp/pylib/gyp/generator/make.py
+++ b/gyp/pylib/gyp/generator/make.py
@@ -1888,11 +1888,13 @@ $(obj).$(TOOLSET)/$(TARGET)/%%.o: $(obj)/%%%s FORCE_DO_CMD
"""Returns the location of the final output for a... | gyp: always install into $PRODUCT_DIR | py |
diff --git a/troposphere/acmpca.py b/troposphere/acmpca.py
index <HASH>..<HASH> 100644
--- a/troposphere/acmpca.py
+++ b/troposphere/acmpca.py
@@ -55,7 +55,7 @@ class Validity(AWSProperty):
}
-class Certificate(AWSProperty):
+class Certificate(AWSObject):
resource_type = "AWS::ACMPCA::Certificate"
... | Fixes to acmpca (#<I>) * Update acmpca.py * Update Certificate to AWSObject | py |
diff --git a/lib/acstools/PixCteCorr.py b/lib/acstools/PixCteCorr.py
index <HASH>..<HASH> 100644
--- a/lib/acstools/PixCteCorr.py
+++ b/lib/acstools/PixCteCorr.py
@@ -353,7 +353,10 @@ def YCte(inFits, outFits='', noise=1, intermediateFiles=False):
# Update header
pf_out['PRIMARY'].header.update('PCTECORR', 'C... | Updated PixCteCorr.YCte so that PCTERNCL header keyword is set to 0 when read noise smoothing is turned off. git-svn-id: <URL> | py |
diff --git a/mongo_connector/connector.py b/mongo_connector/connector.py
index <HASH>..<HASH> 100755
--- a/mongo_connector/connector.py
+++ b/mongo_connector/connector.py
@@ -352,7 +352,7 @@ class Connector(threading.Thread):
cause = "The system only uses replica sets!"
... | fix issue : self.doc_managers used as a function | py |
diff --git a/pyfc4/models.py b/pyfc4/models.py
index <HASH>..<HASH> 100644
--- a/pyfc4/models.py
+++ b/pyfc4/models.py
@@ -46,7 +46,7 @@ class Repository(object):
username,
password,
context=None,
- default_response_format='application/ld+json'
+ default_response_format='application/rdf+xml'
):
... | defaulting to rdf+xml, breaks tests | py |
diff --git a/pymrio/tools/ioparser.py b/pymrio/tools/ioparser.py
index <HASH>..<HASH> 100644
--- a/pymrio/tools/ioparser.py
+++ b/pymrio/tools/ioparser.py
@@ -676,6 +676,13 @@ def parse_exiobase3(path):
"""
io = load_all(path)
+ # need to rename the final demand satellite,
+ # wrong name in the standa... | Parsing exio3 now renames F_hh to FY This was necessary since in the exio3 distribution the satellite account for final demand are named F_hh. In pymrio FY is used as the standard name. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -4,7 +4,7 @@ from setuptools import setup, find_packages
setupopts = dict(
name="automate",
- version='0.10.0.dev0',
+ version='0.10.0',
packages=find_packages('src'),
include_package_data=True,
pa... | Preparing release <I> | py |
diff --git a/safe/impact_functions/loader.py b/safe/impact_functions/loader.py
index <HASH>..<HASH> 100644
--- a/safe/impact_functions/loader.py
+++ b/safe/impact_functions/loader.py
@@ -67,6 +67,8 @@ from safe.impact_functions.volcanic.volcano_point_population\
# Volcanic Ash
from safe.impact_functions.ash.ash_raste... | Add ash raster IF to loader. | py |
diff --git a/revproxy/utils.py b/revproxy/utils.py
index <HASH>..<HASH> 100644
--- a/revproxy/utils.py
+++ b/revproxy/utils.py
@@ -43,15 +43,24 @@ IGNORE_HEADERS = (
'HTTP_ACCEPT_ENCODING', # We want content to be uncompressed so
# we remove the Accept-Encoding from
... | Adding content-type to request headers | py |
diff --git a/torchvision/utils.py b/torchvision/utils.py
index <HASH>..<HASH> 100644
--- a/torchvision/utils.py
+++ b/torchvision/utils.py
@@ -39,7 +39,8 @@ def make_grid(tensor, nrow=8, padding=2,
if tensor.dim() == 3: # single image
if tensor.size(0) == 1: # if single-channel, convert to 3-channel
... | Normalize single images to make_grid (#<I>) | py |
diff --git a/rstcheck.py b/rstcheck.py
index <HASH>..<HASH> 100755
--- a/rstcheck.py
+++ b/rstcheck.py
@@ -156,24 +156,30 @@ class IgnoredDirective(docutils.parsers.rst.Directive):
return []
# Ignore Sphinx directives.
-for _directive in [
- 'attribute',
- 'centered',
- 'deprecated',
- ... | Add new directive from sphinx.ext.autosummary and role :class: | py |
diff --git a/quilt/db.py b/quilt/db.py
index <HASH>..<HASH> 100644
--- a/quilt/db.py
+++ b/quilt/db.py
@@ -37,7 +37,6 @@ class InvalidPatchError(QuiltError):
class PatchSeries(object):
def __init__(self, dirname, filename):
- self._patches = []
self.dirname = dirname
self.filename = fil... | Reset patches if they are re-read from the series file | py |
diff --git a/wpull/version.py b/wpull/version.py
index <HASH>..<HASH> 100644
--- a/wpull/version.py
+++ b/wpull/version.py
@@ -6,4 +6,4 @@
A string conforming to `Semantic Versioning
Guidelines <http://semver.org/>`_
'''
-__version__ = '0.30a1'
+__version__ = '0.31a1' | Bumps version to <I>a1. | py |
diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -62,12 +62,12 @@ link_files = {
url='{GH}/jaraco/setuptools_svn/issues/{setuptools_svn}',
),
dict(
- pattern=r'pypa/distutils#(?P<distutils>\d+)',
- ... | Extend matching of issue/commit links to all PyPA repositories Currently the link for the pypa/get-pip issue was rendering wrongly. This change extends the matching for issues and commits (currently only handling `distutils`) to any PyPA repository. | py |
diff --git a/master/buildbot/process/botmaster.py b/master/buildbot/process/botmaster.py
index <HASH>..<HASH> 100644
--- a/master/buildbot/process/botmaster.py
+++ b/master/buildbot/process/botmaster.py
@@ -387,7 +387,7 @@ class BuildRequestDistributor(service.Service):
# start the activity loop, if we are... | only catch Exception, and specifically not GeneratorExit, inside inlineCallbacks Refs #<I>. | py |
diff --git a/pyghmi/ipmi/oem/lenovo/imm.py b/pyghmi/ipmi/oem/lenovo/imm.py
index <HASH>..<HASH> 100644
--- a/pyghmi/ipmi/oem/lenovo/imm.py
+++ b/pyghmi/ipmi/oem/lenovo/imm.py
@@ -1476,7 +1476,7 @@ class XCCClient(IMMClient):
self._refresh_token()
rsp = self.wc.grab_json_response('/api/providers/fwupda... | Report <I> as temporary error <I> is a transient condition that requires the update procedure to be done again. Change-Id: Icf<I>dda2ef<I>ac8fcd<I>c3e<I>c<I>dfdeee | py |
diff --git a/safe/gui/tools/test/test_wizard_dialog.py b/safe/gui/tools/test/test_wizard_dialog.py
index <HASH>..<HASH> 100644
--- a/safe/gui/tools/test/test_wizard_dialog.py
+++ b/safe/gui/tools/test/test_wizard_dialog.py
@@ -1396,9 +1396,9 @@ class WizardDialogTest(unittest.TestCase):
'Please update expe... | Fixing broken tests. Conflicts: safe/test/data/other/issue<I>.qml | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -29,7 +29,7 @@ else:
setup(name="polysquare-setuptools-lint",
- version="0.0.48",
+ version="0.0.46",
description="""Provides a 'polysquarelint' command for setuptools""",
long_description_markdown... | setup: Lock flake8-todo to <I> It looks like this was causing the version conflict | py |
diff --git a/bhmm/hmm/generic_sampled_hmm.py b/bhmm/hmm/generic_sampled_hmm.py
index <HASH>..<HASH> 100644
--- a/bhmm/hmm/generic_sampled_hmm.py
+++ b/bhmm/hmm/generic_sampled_hmm.py
@@ -92,7 +92,7 @@ class SampledHMM(HMM):
@property
def stationary_distribution_samples(self):
r""" Samples of the stat... | changes self._stationary to self.is_stationary | py |
diff --git a/analytical/templatetags/google_analytics.py b/analytical/templatetags/google_analytics.py
index <HASH>..<HASH> 100644
--- a/analytical/templatetags/google_analytics.py
+++ b/analytical/templatetags/google_analytics.py
@@ -36,6 +36,15 @@ CUSTOM_VAR_CODE = "_gaq.push(['_setCustomVar', %(index)s, '%(name)s', ... | added python <I> compatibility to google_analytics | py |
diff --git a/lavalink/AudioTrack.py b/lavalink/AudioTrack.py
index <HASH>..<HASH> 100644
--- a/lavalink/AudioTrack.py
+++ b/lavalink/AudioTrack.py
@@ -9,8 +9,8 @@ class TrackNotBuilt(Exception):
class AudioTrack:
- __slots__ = ("track", "identifier", "can_seek", "author", "duration", "stream", "title", "uri"... | As said before, () is eww P.S. -> Devoxin is a bulli | py |
diff --git a/beprof/curve.py b/beprof/curve.py
index <HASH>..<HASH> 100644
--- a/beprof/curve.py
+++ b/beprof/curve.py
@@ -105,7 +105,7 @@ class Curve(np.ndarray):
print('Error2')
return self
y = np.interp(domain, self.x, self.y)
- obj = Curve(np.stack((domain, y), axis=1), **s... | Minor changes major effect Didn't see it before, now it works ok. | py |
diff --git a/autofit/tools/edenise/structure/item.py b/autofit/tools/edenise/structure/item.py
index <HASH>..<HASH> 100644
--- a/autofit/tools/edenise/structure/item.py
+++ b/autofit/tools/edenise/structure/item.py
@@ -80,12 +80,6 @@ class Item(ABC):
"""
return self.parent.path
- # def __str__(se... | fixed test by reimplementing str and repr | py |
diff --git a/glassdoor/gd.py b/glassdoor/gd.py
index <HASH>..<HASH> 100644
--- a/glassdoor/gd.py
+++ b/glassdoor/gd.py
@@ -33,7 +33,7 @@ def parse_satisfaction(soup):
if _soups:
_soup = _soups[0]
_data['reviews'] = tryelse(lambda: intify(soup.findAll('span', {'itemprop': 'reviewCount'})[0].text),... | fixed bug, extra comma | py |
diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -57,7 +57,7 @@ master_doc = 'index'
# General information about the project.
project = 'empymod'
-copyright = '2016, Dieter Werthmüller'
+copyright = '2016-2017, Dieter Werthmüller'
author = 'Dieter Werthm... | docs/conf.py; issue with readthedocs | py |
diff --git a/openid/server/trustroot.py b/openid/server/trustroot.py
index <HASH>..<HASH> 100644
--- a/openid/server/trustroot.py
+++ b/openid/server/trustroot.py
@@ -305,7 +305,11 @@ class TrustRoot(object):
is this a sane trust root?
"""
- return cls.parse(trust_root_string).isSane()
+ ... | [project @ TrustRoot.checkSanity: handle trust roots that do not parse gracefully] | py |
diff --git a/umap/umap_.py b/umap/umap_.py
index <HASH>..<HASH> 100644
--- a/umap/umap_.py
+++ b/umap/umap_.py
@@ -2292,7 +2292,7 @@ class UMAP(BaseEstimator):
random_state = check_random_state(self.random_state)
if self.verbose:
- print("Construct fuzzy simplicial set")
+ prin... | fixed a minor bug not related to this PR. timestamp was missing in a print statement | py |
diff --git a/django_prometheus/tests/end2end/testapp/test_migrations.py b/django_prometheus/tests/end2end/testapp/test_migrations.py
index <HASH>..<HASH> 100644
--- a/django_prometheus/tests/end2end/testapp/test_migrations.py
+++ b/django_prometheus/tests/end2end/testapp/test_migrations.py
@@ -30,7 +30,7 @@ class TestM... | use assertEqual() - assertEquals is deprecated | py |
diff --git a/jax/numpy/lax_numpy.py b/jax/numpy/lax_numpy.py
index <HASH>..<HASH> 100644
--- a/jax/numpy/lax_numpy.py
+++ b/jax/numpy/lax_numpy.py
@@ -256,6 +256,8 @@ def update_numpydoc(docstr, fun, op):
#Some numpy functions have an extra tab at the beginning of each line,
#If this function is one of those we... | Fix some missing docstrings for Numpy functions. (#<I>) | py |
diff --git a/emma2/msm/analysis/api.py b/emma2/msm/analysis/api.py
index <HASH>..<HASH> 100644
--- a/emma2/msm/analysis/api.py
+++ b/emma2/msm/analysis/api.py
@@ -876,9 +876,5 @@ def tpt(T, A, B):
if not is_transition_matrix(T):
raise ValueError('given matrix T is not a transition matrix')
- from... | [msm.estimation.api] reference to stallone_available removed (is always available now) | py |
diff --git a/salt/config.py b/salt/config.py
index <HASH>..<HASH> 100644
--- a/salt/config.py
+++ b/salt/config.py
@@ -255,7 +255,7 @@ DEFAULT_MINION_OPTS = {
DEFAULT_MASTER_OPTS = {
'interface': '0.0.0.0',
'publish_port': '4505',
- 'pub_hwm': 1000,
+ 'pub_hwm': 100,
'auth_mode': 1,
'user': '... | Change pub_hwm default to <I> (should be enough) | py |
diff --git a/sc2/units.py b/sc2/units.py
index <HASH>..<HASH> 100644
--- a/sc2/units.py
+++ b/sc2/units.py
@@ -96,6 +96,11 @@ class Units(list):
position = position.position
return min(self, key=lambda unit: unit.position.to2.distance_to(position.to2))
+ def furthest_to(self, position):
+ ... | Add furthest_to filter mainly for units stutter stepping backwards | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,6 +1,6 @@
config = {
"name": "bxml",
- "version": "1.0.0",
+ "version": "1.1.0",
"description": "XML library",
"url": "https://github.com/BlackEarth/bxml",
"author": "Sean Harrison", | <I> for the rem | py |
diff --git a/src/hamster/widgets/facttree.py b/src/hamster/widgets/facttree.py
index <HASH>..<HASH> 100644
--- a/src/hamster/widgets/facttree.py
+++ b/src/hamster/widgets/facttree.py
@@ -312,7 +312,8 @@ class FactTree(graphics.Scene, gtk.Scrollable):
self.set_current_fact(self.facts[-1])
elif ev... | ignore Enter when there is no self.current_fact | py |
diff --git a/src/pymoca/backends/casadi/model.py b/src/pymoca/backends/casadi/model.py
index <HASH>..<HASH> 100644
--- a/src/pymoca/backends/casadi/model.py
+++ b/src/pymoca/backends/casadi/model.py
@@ -355,7 +355,7 @@ class Model:
old_vars = getattr(self, l)
new_vars = []
... | Improve scalar detection in expand vectors We can now detect a 1 by 1 matrix as a matrix, e.g. Real x[1,1]" will result in a similarly named symbol. We however still cannot distinguish between "Real x[1]" and "Real x", and both will result in a symbol named "Real x" at the moment. | py |
diff --git a/neutronclient/shell.py b/neutronclient/shell.py
index <HASH>..<HASH> 100644
--- a/neutronclient/shell.py
+++ b/neutronclient/shell.py
@@ -686,6 +686,7 @@ class NeutronShell(app.App):
formatter = logging.Formatter(self.DEBUG_MESSAGE_FORMAT)
else:
formatter = logging.Format... | Silences the output in CLI for connection info This change try to reduce the useless urllib3 connection info in CLI by set the log level of urllib3.connectionpool. Change-Id: I9d<I>d<I>ae<I>dd<I>a<I>e<I>d<I>ffe<I> Closes-Bug: #<I> | py |
diff --git a/rwa/hdf5.py b/rwa/hdf5.py
index <HASH>..<HASH> 100644
--- a/rwa/hdf5.py
+++ b/rwa/hdf5.py
@@ -322,7 +322,21 @@ class HDF5Store(FileStore):
return None # don't know; should `tryPokeAny` instead
def tryPokeAny(self, objname, obj, record, visited=None):
+ # `pokeNative` may not ra... | non-registered non-native iterables are properly routed through defaultStorable/pokeStorable | py |
diff --git a/tests/conftest.py b/tests/conftest.py
index <HASH>..<HASH> 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -1135,6 +1135,8 @@ def sshd_server(salt_factories, sshd_config_dir, salt_master):
factory.listen_port, RUNTIME_VARS.RUNNING_TESTS_USER
)
)
+ if salt.utils.platf... | We need to `set_path` for macOS, see #<I> for more info | py |
diff --git a/tests/test_config.py b/tests/test_config.py
index <HASH>..<HASH> 100644
--- a/tests/test_config.py
+++ b/tests/test_config.py
@@ -17,7 +17,7 @@ class TestConfig(unittest.TestCase):
self.assertEqual(c.db['pass'], 'test password')
def test_config_load_without_gpg(self):
- figgypy.confi... | Modify to set GPG_IMPORTED in correct module | py |
diff --git a/tests/test_postfetch_lastrowid.py b/tests/test_postfetch_lastrowid.py
index <HASH>..<HASH> 100644
--- a/tests/test_postfetch_lastrowid.py
+++ b/tests/test_postfetch_lastrowid.py
@@ -3,8 +3,7 @@ from rs_sqla_test_utils import models
def test_postfetch_lastrowid(redshift_session):
session = redshift_... | Fix integration tests. Pep-8 line length | py |
diff --git a/tests/tests_plugin_sqlite.py b/tests/tests_plugin_sqlite.py
index <HASH>..<HASH> 100644
--- a/tests/tests_plugin_sqlite.py
+++ b/tests/tests_plugin_sqlite.py
@@ -204,6 +204,6 @@ class PluginSqliteTestCase(utils.RowsTestMixIn, unittest.TestCase):
rows.export_to_sqlite(table, ':memory:', callback=my... | Fix sqlite callback test (API changed) | py |
diff --git a/traffic/data/adsb/opensky.py b/traffic/data/adsb/opensky.py
index <HASH>..<HASH> 100644
--- a/traffic/data/adsb/opensky.py
+++ b/traffic/data/adsb/opensky.py
@@ -211,7 +211,7 @@ class OpenSky(Impala):
return StateVectors(r, self)
- def api_tracks(self, icao24: str) -> Flight:
+ def api_t... | - Add time to api_tracks (#<I>) | py |
diff --git a/cocaine/services/base.py b/cocaine/services/base.py
index <HASH>..<HASH> 100644
--- a/cocaine/services/base.py
+++ b/cocaine/services/base.py
@@ -93,7 +93,7 @@ class AbstractService(object):
self._writableStream = None
self._readableStream = None
- self._counter = itertools.count... | Set user session base ID to 1. Session 0 is now reserved for Service Presence Control, a special service allocated for every connection to manage it. As of today, it has a single 'heartbeat' method. | py |
diff --git a/pyciss/opusapi.py b/pyciss/opusapi.py
index <HASH>..<HASH> 100644
--- a/pyciss/opusapi.py
+++ b/pyciss/opusapi.py
@@ -362,15 +362,19 @@ class OPUS(object):
def download_and_calibrate(img_id, map_project=True):
opus = OPUS()
opus.query_image_id(img_id)
-
- # if query returned satisfying result... | Added existance checks for download and calibrate | py |
diff --git a/simpleai/search/traditional.py b/simpleai/search/traditional.py
index <HASH>..<HASH> 100644
--- a/simpleai/search/traditional.py
+++ b/simpleai/search/traditional.py
@@ -70,6 +70,9 @@ def iterative_limited_depth_first(problem, graph_search=False, viewer=None):
viewer... | Iterative deeping search raises no_more_runs event | py |
diff --git a/nclib/netcat.py b/nclib/netcat.py
index <HASH>..<HASH> 100644
--- a/nclib/netcat.py
+++ b/nclib/netcat.py
@@ -421,14 +421,20 @@ class Netcat(object):
Send a shutdown signal for reading - you may no longer read from this
socket.
"""
- return self.shutdown(socket.SHUT_RD)
+ ... | When duplexing, shutdown == close half | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.