diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ version = "0.4.1" readme = open('README.rst').read() setup(name='jicbioimage.core', - packages=['jicbioimage.core', 'jicbioimage.core.util'], + packages=['jicbioimage', 'jicbioimage.core', 'jicbioi...
Included namespace package in setup.py.
py
diff --git a/py/selenium/webdriver/chrome/options.py b/py/selenium/webdriver/chrome/options.py index <HASH>..<HASH> 100644 --- a/py/selenium/webdriver/chrome/options.py +++ b/py/selenium/webdriver/chrome/options.py @@ -17,7 +17,6 @@ import base64 import os -import platform from selenium.webdriver.common.desired_...
[py] Deleting unused import
py
diff --git a/vncdotool/rfb.py b/vncdotool/rfb.py index <HASH>..<HASH> 100644 --- a/vncdotool/rfb.py +++ b/vncdotool/rfb.py @@ -11,6 +11,7 @@ http://www.realvnc.com/docs/rfbproto.pdf MIT License """ +# flake8: noqa import sys import math
rfb: flake8 ignore, externally sourced file
py
diff --git a/keepkeylib/transport_hid.py b/keepkeylib/transport_hid.py index <HASH>..<HASH> 100644 --- a/keepkeylib/transport_hid.py +++ b/keepkeylib/transport_hid.py @@ -4,6 +4,7 @@ from hashlib import sha256 import time, json, base64, struct from .transport import Transport, ConnectionError import binascii +import...
Be more picky about when we use path detection
py
diff --git a/pyes/utils.py b/pyes/utils.py index <HASH>..<HASH> 100644 --- a/pyes/utils.py +++ b/pyes/utils.py @@ -133,8 +133,7 @@ class ResultSet(object): del hl[key] def __getattr__(self, name): - if name in self._results: - return self._results[name] + return ...
Clean and simple fix for access to attributes of the _results['hits'][name] - the lookup was pointing just at the top level dict, and thus not returning a value for max_score, and causing tests/utils.py to fail in test_TermQuery
py
diff --git a/niworkflows/interfaces/cifti.py b/niworkflows/interfaces/cifti.py index <HASH>..<HASH> 100644 --- a/niworkflows/interfaces/cifti.py +++ b/niworkflows/interfaces/cifti.py @@ -318,7 +318,9 @@ def _create_cifti_image(bold_file, label_file, bold_surfs, annotation_files, tr, warnings.warn("Resampling b...
ENH: Ensure subcortical CIFTI is in LAS orientation
py
diff --git a/nodeconductor/billing/backend/whmcs.py b/nodeconductor/billing/backend/whmcs.py index <HASH>..<HASH> 100644 --- a/nodeconductor/billing/backend/whmcs.py +++ b/nodeconductor/billing/backend/whmcs.py @@ -324,6 +324,8 @@ class WHMCSAPI(object): configoptions=urlsafe_base64_encode(php_dumps(option...
Disable immediate invoice creation on adding order - NC-<I>
py
diff --git a/arboretum/core.py b/arboretum/core.py index <HASH>..<HASH> 100644 --- a/arboretum/core.py +++ b/arboretum/core.py @@ -312,13 +312,15 @@ class EarlyStopMonitor: """ self.window_length = window_length - def __call__(self, i, regressor, args): + def __call__(self, current_round, regr...
minimum nr of rounds = window length
py
diff --git a/src/ossos-pipeline/ossos/downloads/cutouts/source.py b/src/ossos-pipeline/ossos/downloads/cutouts/source.py index <HASH>..<HASH> 100644 --- a/src/ossos-pipeline/ossos/downloads/cutouts/source.py +++ b/src/ossos-pipeline/ossos/downloads/cutouts/source.py @@ -145,7 +145,7 @@ class SourceCutout(object): ...
Updating the RA/DEC for a source cutout now calls xy2sky with the pixel coordinates in the cutout since the FITS header values of CRPIX1 and CRPIX2 are adjusted when the cutout is retrieved.
py
diff --git a/pyontutils/ontutils.py b/pyontutils/ontutils.py index <HASH>..<HASH> 100755 --- a/pyontutils/ontutils.py +++ b/pyontutils/ontutils.py @@ -42,7 +42,7 @@ from joblib import Parallel, delayed from git.repo import Repo from pyontutils.core import makeGraph, createOntology from pyontutils.utils import noneMe...
ontutils removed deprected locate_config_file
py
diff --git a/pygsp/filters/filter.py b/pygsp/filters/filter.py index <HASH>..<HASH> 100644 --- a/pygsp/filters/filter.py +++ b/pygsp/filters/filter.py @@ -1,5 +1,7 @@ # -*- coding: utf-8 -*- +from __future__ import division + from math import log from copy import deepcopy
filters: float division for python 2
py
diff --git a/zipline/transforms/vwap.py b/zipline/transforms/vwap.py index <HASH>..<HASH> 100644 --- a/zipline/transforms/vwap.py +++ b/zipline/transforms/vwap.py @@ -73,6 +73,7 @@ class VWAPEventWindow(EventWindow): """ def __init__(self, market_aware=True, window_length=None, delta=None): EventWind...
BUG: Prevent crash in vwap transform due to non-existent member. The WrongDataForTransform was referencing a `self.fields` member, which did not exist. Add a self.fields member set to `price` and `volume` and use it to iterate over during the check.
py
diff --git a/cli/sawtooth_cli/rest_client.py b/cli/sawtooth_cli/rest_client.py index <HASH>..<HASH> 100644 --- a/cli/sawtooth_cli/rest_client.py +++ b/cli/sawtooth_cli/rest_client.py @@ -82,7 +82,7 @@ class RestClient(object): self._base_url + path + self._format_queries(queries)) # concat any a...
Fix CLI failing unexpectedly when getting a string from Rest Api
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -58,11 +58,23 @@ setup(name='html5lib', 'six', ], extras_require={ + # A empty extra that only has a conditional marker will be + # unconditonally installed when the condition matches...
Comment the extras syntax to make it clearer what is going on
py
diff --git a/orb/core/collection.py b/orb/core/collection.py index <HASH>..<HASH> 100644 --- a/orb/core/collection.py +++ b/orb/core/collection.py @@ -741,7 +741,10 @@ class Collection(object): if isinstance(field, orb.ReferenceColumn): ref_model = field.referenceMo...
ensuring reference value exists before trying to inflate it
py
diff --git a/mimesis/providers/internet.py b/mimesis/providers/internet.py index <HASH>..<HASH> 100755 --- a/mimesis/providers/internet.py +++ b/mimesis/providers/internet.py @@ -207,7 +207,7 @@ class Internet(BaseDataProvider): def home_page(self, tld_type: Optional[TLDType] = None) -> str: """Generate a...
Removed types from docstrings
py
diff --git a/salt/modules/aptpkg.py b/salt/modules/aptpkg.py index <HASH>..<HASH> 100644 --- a/salt/modules/aptpkg.py +++ b/salt/modules/aptpkg.py @@ -99,7 +99,7 @@ def __virtual__(): ''' Confirm this module is on a Debian based system ''' - if __grains__.get('os_family') in ('Kali', 'Debian', 'neon')...
Make aptpkg work with Deepin Linux Simple change, but it bugs me having to add this every time I update. Also I never contribute so proposing this change here is probably the wrong place to do it. Sue me if you want I'm super broke.
py
diff --git a/pyeapi/client.py b/pyeapi/client.py index <HASH>..<HASH> 100644 --- a/pyeapi/client.py +++ b/pyeapi/client.py @@ -637,6 +637,14 @@ class Node(object): """ commands = make_iterable(commands) + # Some commands are multiline commands. These are banner commands and SSL commands. So w...
Added support for multiline commands without having to pass them as a dictionary
py
diff --git a/tests/output_hazard_test.py b/tests/output_hazard_test.py index <HASH>..<HASH> 100644 --- a/tests/output_hazard_test.py +++ b/tests/output_hazard_test.py @@ -459,7 +459,7 @@ class GmfDBWriterTestCase(GmfDBBaseTestCase): # After calling the function under test we see the expected map data. ...
updated test as we have changed the relation between output and hazard curve to 1-1 Former-commit-id: a<I>a5d4a<I>f<I>b6ac0dcec8eccefbeb9a<I>
py
diff --git a/termdown.py b/termdown.py index <HASH>..<HASH> 100755 --- a/termdown.py +++ b/termdown.py @@ -279,6 +279,7 @@ def countdown( try: while seconds_left > 0 or blink or text: + figlet.width = stdscr.getmaxyx()[1] if alt_format: countdown_text = format_se...
Update figlet width before each re-render By doing this, Figlet will happily wrap when the text is bigger than the screen size. Fixes trehn/termdown#<I>
py
diff --git a/jax/numpy/linalg.py b/jax/numpy/linalg.py index <HASH>..<HASH> 100644 --- a/jax/numpy/linalg.py +++ b/jax/numpy/linalg.py @@ -68,6 +68,7 @@ def _jvp_slogdet(g, ans, x): @_wraps(onp.linalg.slogdet) @custom_transforms +@jit def slogdet(a): a = _promote_arg_dtypes(np.asarray(a)) dtype = lax.dtype(a...
Added jit to slogdet This resolves the prior merge conflict
py
diff --git a/python/ray/tune/integration/wandb.py b/python/ray/tune/integration/wandb.py index <HASH>..<HASH> 100644 --- a/python/ray/tune/integration/wandb.py +++ b/python/ray/tune/integration/wandb.py @@ -221,9 +221,10 @@ class _WandbLoggingProcess(Process): self._trial_name = self.kwargs.get("name", "unknow...
[tune] rolling back wandb service. replacing deprecated wandb methods (#<I>) Follow up: #<I> Briefly, wandb service is still in experimental stage, and is not ready to be released as an integration without extensive testing. Hence, we are interested in rolling back the update to the integration we made recently, un...
py
diff --git a/salt/utils/schedule.py b/salt/utils/schedule.py index <HASH>..<HASH> 100644 --- a/salt/utils/schedule.py +++ b/salt/utils/schedule.py @@ -498,6 +498,11 @@ class Schedule(object): jobcount = 0 for basefilename in os.listdir(salt.minion.get_proc_dir(self.opts['cachedir'])): ...
Fixing a bug that pops up randomly if you have multiple jobs with multiple threads, jobs would be processed in one thread but an attempt to process in another thread would be attempted. The cache file would be removed after the other thread had gotten the list of cache file. Adding some code to bypass the processing ...
py
diff --git a/luigi/hadoop.py b/luigi/hadoop.py index <HASH>..<HASH> 100644 --- a/luigi/hadoop.py +++ b/luigi/hadoop.py @@ -707,14 +707,22 @@ class JobTask(BaseHadoopJobTask): def _setup_links(self): if hasattr(self, '_links'): + missing = [] for src, dst in self._links: ...
Check for missing files in distributed cache setup
py
diff --git a/test/test_rpc.py b/test/test_rpc.py index <HASH>..<HASH> 100644 --- a/test/test_rpc.py +++ b/test/test_rpc.py @@ -95,7 +95,7 @@ def test_rpc_queue_and_connection_creation(container_factory, rabbit_config, rpc_queue = rabbit_manager.get_queue(vhost, "rpc-exampleservice") assert len(rpc_queue['cons...
Updated test for change in parent branch
py
diff --git a/pythran/dist.py b/pythran/dist.py index <HASH>..<HASH> 100644 --- a/pythran/dist.py +++ b/pythran/dist.py @@ -5,7 +5,11 @@ This modules contains a distutils extension mechanism for Pythran import pythran.config as cfg -from collections import defaultdict, Iterable +from collections import defaultdict ...
Iterable imported from collections.abc
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -18,11 +18,14 @@ # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS # IN THE SOFTWARE. - +import os.path from setuptools import setup, find_packages -with open('README.rst') as f: - long_d...
Avoid installation problems if documentation file is not found.
py
diff --git a/openquake/hazardlib/gsim/__init__.py b/openquake/hazardlib/gsim/__init__.py index <HASH>..<HASH> 100644 --- a/openquake/hazardlib/gsim/__init__.py +++ b/openquake/hazardlib/gsim/__init__.py @@ -51,6 +51,6 @@ def get_portable_gsims(): ''' portable = {} for cls in registry.values(): - i...
Changed portable_gsims to show the non-vectorized GMPEs [ci skip]
py
diff --git a/twython/twython.py b/twython/twython.py index <HASH>..<HASH> 100644 --- a/twython/twython.py +++ b/twython/twython.py @@ -402,6 +402,22 @@ class Twython(object): return urllib2.urlopen(r).read() except HTTPError, e: raise TwythonError("updateProfileImage() failed with a %d error code." % e.code,...
Added getProfileImageUrl() to handle "users/profile_image" api call
py
diff --git a/openquake/commonlib/readinput.py b/openquake/commonlib/readinput.py index <HASH>..<HASH> 100644 --- a/openquake/commonlib/readinput.py +++ b/openquake/commonlib/readinput.py @@ -733,7 +733,8 @@ class Exposure(object): @classmethod def read(cls, fname, calculation_mode='', insured_losses=False, ...
Added a way to read the nodes [skip CI] Former-commit-id: b5ed<I>f0cf7addfc8fb<I>e<I>ed<I>f<I>ee6b
py
diff --git a/authorization_django/middleware.py b/authorization_django/middleware.py index <HASH>..<HASH> 100644 --- a/authorization_django/middleware.py +++ b/authorization_django/middleware.py @@ -115,8 +115,9 @@ def authorization_middleware(get_response): # For now support old tokens for HR with onl...
Only log exception for HR when there is a exception
py
diff --git a/stitches/connection.py b/stitches/connection.py index <HASH>..<HASH> 100644 --- a/stitches/connection.py +++ b/stitches/connection.py @@ -229,19 +229,24 @@ t.start() Close the connection """ if hasattr(self, '_lazy_sftp'): - self.sftp.close() + if self.sftp ...
fix cases were attr exists but is None
py
diff --git a/jobs/config_test.py b/jobs/config_test.py index <HASH>..<HASH> 100755 --- a/jobs/config_test.py +++ b/jobs/config_test.py @@ -789,6 +789,13 @@ class JobTest(unittest.TestCase): 'ci-kubernetes-node-kubelet-conformance': 'ci-kubernetes-node-kubelet-*', 'ci-kubernetes-node-kubelet-be...
Fix the test. * Need to add to allowed list so that we can use the same project for multiple tests.
py
diff --git a/pycbc/vetoes/chisq.py b/pycbc/vetoes/chisq.py index <HASH>..<HASH> 100644 --- a/pycbc/vetoes/chisq.py +++ b/pycbc/vetoes/chisq.py @@ -319,7 +319,7 @@ class SingleDetPowerChisq(object): @staticmethod def parse_option(row, arg): - safe_dict = {} + safe_dict = {'max': max, 'min': min...
allow min/max in chisq bin calculation (#<I>)
py
diff --git a/openquake/engine/db/models.py b/openquake/engine/db/models.py index <HASH>..<HASH> 100644 --- a/openquake/engine/db/models.py +++ b/openquake/engine/db/models.py @@ -381,8 +381,7 @@ class OqJob(djm.Model): # ordering no ruptures are generated and the test # qa_tests/hazard/disagg/...
lon and lat are now truncated to 5 digits Former-commit-id: e<I>c<I>fb<I>a<I>dffe5c<I>b5f7fb6f2f<I>e
py
diff --git a/src/infi/projector/plugins/builtins/version/__init__.py b/src/infi/projector/plugins/builtins/version/__init__.py index <HASH>..<HASH> 100644 --- a/src/infi/projector/plugins/builtins/version/__init__.py +++ b/src/infi/projector/plugins/builtins/version/__init__.py @@ -126,7 +126,7 @@ class VersionPlugin(C...
HOSTDEV-<I> fixing previous commit
py
diff --git a/test/test_solver.py b/test/test_solver.py index <HASH>..<HASH> 100644 --- a/test/test_solver.py +++ b/test/test_solver.py @@ -77,6 +77,17 @@ class Submission(_QueryTest): """Submit some sample problems.""" @unittest.skipIf(skip_live, "No live server available.") + def test_result_structure(s...
Add tests for Future.result() structure, including aliases
py
diff --git a/app.py b/app.py index <HASH>..<HASH> 100644 --- a/app.py +++ b/app.py @@ -8,7 +8,8 @@ client = Client(host=os.environ.get('HOST'), headers=headers ) headers = {'X-Mock': 200} -response = client.api_keys.get(headers=headers) +params = {'limit': 100} +response = client.api_...
Added example with query params
py
diff --git a/examples/targets.py b/examples/targets.py index <HASH>..<HASH> 100644 --- a/examples/targets.py +++ b/examples/targets.py @@ -49,6 +49,7 @@ class Bullet(MoverMixin, ppb.BaseSprite): def on_update(self, update, signal): super().on_update(update, signal) # Execute movement + scene =...
Revert minor changes made during fix.
py
diff --git a/d1_mn_generic/src/service/mn/urls.py b/d1_mn_generic/src/service/mn/urls.py index <HASH>..<HASH> 100644 --- a/d1_mn_generic/src/service/mn/urls.py +++ b/d1_mn_generic/src/service/mn/urls.py @@ -69,7 +69,7 @@ urlpatterns = patterns( # MNAuthorization.isAuthorized() - GET /isAuthorized/{pid} url(r'^v1/...
- Fixed API endpoint for MNStorage.systemMetadataChanged(). Bug introduced by search/replace in previous version.
py
diff --git a/trezorlib/client.py b/trezorlib/client.py index <HASH>..<HASH> 100644 --- a/trezorlib/client.py +++ b/trezorlib/client.py @@ -180,8 +180,11 @@ class ProtocolMixin(object): raise exceptions.TrezorException("Unexpected initial response") else: self.features = resp - ...
client: do not coerce self.features.vendor to string There is no good reason to do that and it hides situations when the field mistakenly doesn't exist. Added comment explains that missing "vendor" field might by caused by trezor-common mismatch, which fixes #<I>
py
diff --git a/spikeextractors/extractors/nwbextractors/nwbextractors.py b/spikeextractors/extractors/nwbextractors/nwbextractors.py index <HASH>..<HASH> 100644 --- a/spikeextractors/extractors/nwbextractors/nwbextractors.py +++ b/spikeextractors/extractors/nwbextractors/nwbextractors.py @@ -206,7 +206,7 @@ class NwbReco...
do not add (rel_x, rel_y) as properties of channels
py
diff --git a/nrefocus/_propagate.py b/nrefocus/_propagate.py index <HASH>..<HASH> 100644 --- a/nrefocus/_propagate.py +++ b/nrefocus/_propagate.py @@ -52,7 +52,7 @@ def refocus(field, d, nm, res, method="helmholtz", num_cpus=1): vardict = dict() for name in names: - if loc.has_key(name): + if ...
pythonic "key in dict"
py
diff --git a/quilt/cli/push.py b/quilt/cli/push.py index <HASH>..<HASH> 100644 --- a/quilt/cli/push.py +++ b/quilt/cli/push.py @@ -32,8 +32,8 @@ class PushCommand(Command): action="store_true") def run(self, options, args): - push.applying.connect(self.applying) push = ...
Correct signal/slot connection for push
py
diff --git a/metal/mmtl/scorer.py b/metal/mmtl/scorer.py index <HASH>..<HASH> 100644 --- a/metal/mmtl/scorer.py +++ b/metal/mmtl/scorer.py @@ -86,15 +86,15 @@ class Scorer(object): batch = place_on_gpu(batch) Xb, Yb = batch - Y.append(utils.to_numpy(Yb)) + ...
Convert to numpy before scoring in Scorer
py
diff --git a/codecov/__init__.py b/codecov/__init__.py index <HASH>..<HASH> 100644 --- a/codecov/__init__.py +++ b/codecov/__init__.py @@ -229,17 +229,15 @@ def _add_env_if_not_empty(lst, value): def generate_toc(root): - return ( - str( - ( - try_to_run(["git", "ls-files"], cwd...
Fixing command for when neither hg or git are available Sometimes not hg or git are available to run. On those cases, 'try_to_run' will return None, and we need to not stringify that None
py
diff --git a/pluggy/hooks.py b/pluggy/hooks.py index <HASH>..<HASH> 100644 --- a/pluggy/hooks.py +++ b/pluggy/hooks.py @@ -234,6 +234,7 @@ class _HookCaller(object): raise ValueError("plugin %r not found" % (plugin,)) def get_hookimpls(self): + # Order is important for _hookexec ...
Added comment to make order importance more explicit.
py
diff --git a/osbs/cli/main.py b/osbs/cli/main.py index <HASH>..<HASH> 100644 --- a/osbs/cli/main.py +++ b/osbs/cli/main.py @@ -43,10 +43,8 @@ def cmd_list_builds(args, osbs): for build in sorted(builds, key=lambda x: x.get_time_created_in_seconds()): image = build.get_...
cli,list-builds: make filtering more generic
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -132,21 +132,15 @@ class MyBuildPy(build_py): else: base = modname basedir = os.path.join(self.build_lib, base) - if sys.platform == 'win32': - two_to_three ...
backport pylint fix on setup.py for py3k windows/cross-compiliation install issue
py
diff --git a/src/edeposit/amqp/aleph/marcxml.py b/src/edeposit/amqp/aleph/marcxml.py index <HASH>..<HASH> 100755 --- a/src/edeposit/amqp/aleph/marcxml.py +++ b/src/edeposit/amqp/aleph/marcxml.py @@ -874,9 +874,10 @@ class MARCXMLRecord: if "c" in other_subfields: surname = ",".jo...
Fixed bug in Marc XML parsing (titles of author).
py
diff --git a/cherrypy/_cpconfig.py b/cherrypy/_cpconfig.py index <HASH>..<HASH> 100644 --- a/cherrypy/_cpconfig.py +++ b/cherrypy/_cpconfig.py @@ -303,7 +303,7 @@ def _engine_namespace_handler(k, v): elif k == 'autoreload_match': engine.autoreload.match = v elif k == 'reload_files': - engine.a...
Fix for #<I> (Bug in cherrypy/process/plugins.py).
py
diff --git a/beakerx/beakerx/easyform/easyform.py b/beakerx/beakerx/easyform/easyform.py index <HASH>..<HASH> 100644 --- a/beakerx/beakerx/easyform/easyform.py +++ b/beakerx/beakerx/easyform/easyform.py @@ -133,7 +133,8 @@ class EasyForm(Box): arguments = dict(target_name='beaker.tag.run') com...
#<I> EasyForm Python buttons not working (#<I>)
py
diff --git a/visidata/vdtui.py b/visidata/vdtui.py index <HASH>..<HASH> 100755 --- a/visidata/vdtui.py +++ b/visidata/vdtui.py @@ -1425,7 +1425,9 @@ class Sheet: col = self.visibleCols[vcolidx] if col.width is None and self.visibleRows: # handle delayed column width-finding - ...
[vdtui] last column auto-width does not max out
py
diff --git a/tests/test_esmarc.py b/tests/test_esmarc.py index <HASH>..<HASH> 100644 --- a/tests/test_esmarc.py +++ b/tests/test_esmarc.py @@ -141,11 +141,11 @@ class MarcDocTest(unittest.TestCase): def test_DOC_03692895X(self): em = marcx.marcdoc(DOC_03692895X) self.assertNotEquals(None, em) - ...
replaced nice names with more cryptic ones
py
diff --git a/txaws/reactor.py b/txaws/reactor.py index <HASH>..<HASH> 100644 --- a/txaws/reactor.py +++ b/txaws/reactor.py @@ -1,5 +1,6 @@ '''Reactor utilities.''' + def get_exitcode_reactor(): """ This is only neccesary until a fix like the one outlined here is
Added missing blank line before module-level code.
py
diff --git a/bin/split-pext.py b/bin/split-pext.py index <HASH>..<HASH> 100755 --- a/bin/split-pext.py +++ b/bin/split-pext.py @@ -61,7 +61,7 @@ def getpextfnames(path): if mnpext <= k <= mxpext]; pextfnames = [ i for path in opts['<dirs>'] for i in getpextfnames(path)]; #get headers from the first dire...
neext to add testing locally omg
py
diff --git a/samcli/commands/local/cli_common/options.py b/samcli/commands/local/cli_common/options.py index <HASH>..<HASH> 100644 --- a/samcli/commands/local/cli_common/options.py +++ b/samcli/commands/local/cli_common/options.py @@ -153,13 +153,25 @@ def warm_containers_common_options(f): warm_containers_options...
chore: update the warm-containers & debug-function options help wording (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -10,13 +10,13 @@ with open(path.join(here, 'README.rst'), encoding='utf-8') as f: setup( name='jira-metrics-extract', - version='0.13', + version='0.14', description='Extract agile metrics data from JIRA', ...
update setup.py for new version number
py
diff --git a/latexmk.py b/latexmk.py index <HASH>..<HASH> 100644 --- a/latexmk.py +++ b/latexmk.py @@ -99,7 +99,6 @@ class LatexMaker(object): if (re.search('No file %s.bbl.' % self.project_name, self.out) or re.search('LaTeX Warning: Citation .* undefined', self.out) or cite_counte...
debug print removed :-)
py
diff --git a/benchmarks/memory/test_curves.py b/benchmarks/memory/test_curves.py index <HASH>..<HASH> 100644 --- a/benchmarks/memory/test_curves.py +++ b/benchmarks/memory/test_curves.py @@ -29,10 +29,7 @@ SUCCESS_TEMPLATE = 'Memory usage: {:g}KB.' def get_bounds(): # NOTE: These bounds assume **just** the interp...
Remove memory benchmark "special" bounds for CircleCI. The builds that have run so far seem to be in the observed range on my **own** install of Ubuntu <I>: - <I>KB (<URL>) - <I>KB (<URL>) - <I> KB (<URL>)
py
diff --git a/satpy/_config.py b/satpy/_config.py index <HASH>..<HASH> 100644 --- a/satpy/_config.py +++ b/satpy/_config.py @@ -79,7 +79,7 @@ if _satpy_config_path is not None: # colon-separated are ordered by builtins -> custom # i.e. first/lowest priority to last/highest priority _satpy_config_path = _s...
Fix SATPY_CONFIG_PATH getting a non-string assigned
py
diff --git a/cufflinks/plotlytools.py b/cufflinks/plotlytools.py index <HASH>..<HASH> 100644 --- a/cufflinks/plotlytools.py +++ b/cufflinks/plotlytools.py @@ -819,9 +819,9 @@ def _iplot(self,kind='scatter',data=None,layout=None,filename='',sharing=None,ti y=self[y].values.tolist() z=size if size else z r...
changed whitespace to tabs to match existing code
py
diff --git a/lib/reda/configs/configManager.py b/lib/reda/configs/configManager.py index <HASH>..<HASH> 100644 --- a/lib/reda/configs/configManager.py +++ b/lib/reda/configs/configManager.py @@ -126,20 +126,26 @@ class ConfigManager(object): ---------- filename: string absolute or relativ...
reformatted for pep8-coding and changed switched current injection filter
py
diff --git a/blimpy/filterbank.py b/blimpy/filterbank.py index <HASH>..<HASH> 100755 --- a/blimpy/filterbank.py +++ b/blimpy/filterbank.py @@ -730,7 +730,7 @@ class Filterbank(object): # Reverse oder if vertical orientation. if orientation is not None: if 'v' in orientation: - ...
Bugfix. Also related to the time flip bug. Former-commit-id: <I>df0eb<I>d8e6fa<I>f7bac6ad
py
diff --git a/beetle/base.py b/beetle/base.py index <HASH>..<HASH> 100644 --- a/beetle/base.py +++ b/beetle/base.py @@ -73,10 +73,13 @@ class Writer(object): def write(self): for destination, content in self.files(): - destination_folder = os.path.dirname(destination) + self.write_f...
Splitted actual writing to a new function.
py
diff --git a/src/transformers/trainer_utils.py b/src/transformers/trainer_utils.py index <HASH>..<HASH> 100644 --- a/src/transformers/trainer_utils.py +++ b/src/transformers/trainer_utils.py @@ -676,6 +676,8 @@ class RemoveColumnsCollator: self.message_logged = False def _remove_columns(self, feature: d...
Fix Trainer for Datasets that don't have dict items (#<I>)
py
diff --git a/great_expectations/util.py b/great_expectations/util.py index <HASH>..<HASH> 100644 --- a/great_expectations/util.py +++ b/great_expectations/util.py @@ -1401,11 +1401,16 @@ def get_sqlalchemy_selectable(selectable: Union[Table, Select]) -> Union[Table, without explicitly turning the inner select() i...
[BUGFIX] Update helper to add explicit alias to subqueries for SQLA version < <I> (#<I>) * Update helper to add explicit alias to subqueries for SQLA version < <I> Implicit conversion of a nested select into a subquery failed when running on SQLA <I> against Postgres - update the existing helper to also handle ol...
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -28,7 +28,7 @@ setup( # 3 - Alpha # 4 - Beta # 5 - Production/Stable - "Development Status :: 3 - Alpha", + "Development Status :: 4 - Beta", # Indicate who your project ...
Change status to 'beta' in setup.py
py
diff --git a/torchvision/datasets/phototour.py b/torchvision/datasets/phototour.py index <HASH>..<HASH> 100644 --- a/torchvision/datasets/phototour.py +++ b/torchvision/datasets/phototour.py @@ -10,7 +10,17 @@ from .utils import download_url class PhotoTour(VisionDataset): - """`Learning Local Image Descriptors...
add version information to docstring of Phototour dataset (#<I>)
py
diff --git a/nodeconductor/iaas/serializers.py b/nodeconductor/iaas/serializers.py index <HASH>..<HASH> 100644 --- a/nodeconductor/iaas/serializers.py +++ b/nodeconductor/iaas/serializers.py @@ -518,11 +518,11 @@ class InstanceCreateSerializer(structure_serializers.PermissionFieldFilteringMix membership = vali...
Use a more reliable lookup method - ITACLOUD-<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ setup( name=NAME, version=VERSION, description='Yet another IRC bot library', - long_description=open(os.path.join(CURRENT_DIR, 'README.md')).read().strip(), + long_description=open(os.path....
reflect README extension change in setup.py
py
diff --git a/mpldatacursor.py b/mpldatacursor.py index <HASH>..<HASH> 100644 --- a/mpldatacursor.py +++ b/mpldatacursor.py @@ -343,7 +343,13 @@ class DataCursor(object): def enable(self): """Connects callbacks and makes artists pickable. If the datacursor has already been enabled, this function h...
Workaround for matplotlib bug when disconnecting and reconnecting events
py
diff --git a/kettle/update.py b/kettle/update.py index <HASH>..<HASH> 100755 --- a/kettle/update.py +++ b/kettle/update.py @@ -73,12 +73,12 @@ def main(): call(f'{bq_cmd} k8s-gubernator:build.all build_all.json.gz schema.json') call(f'python3 stream.py --poll {SUB_PATH} ' \ - '--dataset k...
Missing multi-line on f-string
py
diff --git a/python_modules/dagster/dagster/cli/workspace/workspace.py b/python_modules/dagster/dagster/cli/workspace/workspace.py index <HASH>..<HASH> 100644 --- a/python_modules/dagster/dagster/cli/workspace/workspace.py +++ b/python_modules/dagster/dagster/cli/workspace/workspace.py @@ -66,6 +66,11 @@ class Workspac...
Add overridable method to workspace that allows for changing the logic for turning origins into handles Summary: This will be useful in places where we want to take the same origins but load the underlying repositories differently. Test Plan: BK Reviewers: sashank Reviewed By: sashank Differential Revision: <URL>
py
diff --git a/tensor2tensor/utils/decoding.py b/tensor2tensor/utils/decoding.py index <HASH>..<HASH> 100644 --- a/tensor2tensor/utils/decoding.py +++ b/tensor2tensor/utils/decoding.py @@ -70,6 +70,7 @@ def decode_hparams(overrides=""): shards=1, # How many shards of data to decode (treating 1 as None). ...
Fix sharded decoding name convention. PiperOrigin-RevId: <I>
py
diff --git a/cassiopeia/core/summoner.py b/cassiopeia/core/summoner.py index <HASH>..<HASH> 100644 --- a/cassiopeia/core/summoner.py +++ b/cassiopeia/core/summoner.py @@ -203,3 +203,8 @@ class Summoner(CassiopeiaGhost): def league_positions(self) -> "LeagueEntries": from .league import LeagueEntries ...
added a `rank_last_season` property to Summoners
py
diff --git a/microsoftbotframework/activity.py b/microsoftbotframework/activity.py index <HASH>..<HASH> 100644 --- a/microsoftbotframework/activity.py +++ b/microsoftbotframework/activity.py @@ -96,13 +96,9 @@ class Activity(Response): if getattr(self, key, None) is None: setattr(s...
Set channeldata to None when responding to Slack message
py
diff --git a/thermohw/preprocessors.py b/thermohw/preprocessors.py index <HASH>..<HASH> 100644 --- a/thermohw/preprocessors.py +++ b/thermohw/preprocessors.py @@ -41,6 +41,8 @@ class HomeworkPreprocessor(Preprocessor): def preprocess(self, nb, resources): """Preprocess the entire notebook.""" + #...
Add note to preprocessors about why we don't use exclude_raw config
py
diff --git a/tensorlayer/models/core.py b/tensorlayer/models/core.py index <HASH>..<HASH> 100644 --- a/tensorlayer/models/core.py +++ b/tensorlayer/models/core.py @@ -1,6 +1,3 @@ -import sys -sys.path.append("/Users/wurundi/PycharmProjects/tensorlayer2") -import numpy as np from abc import ABCMeta, abstractmethod imp...
remove sys.path in the head of model core
py
diff --git a/astroplan/utils.py b/astroplan/utils.py index <HASH>..<HASH> 100644 --- a/astroplan/utils.py +++ b/astroplan/utils.py @@ -51,8 +51,8 @@ def download_IERS_A(show_progress=True): Download and cache the IERS Bulletin A table. If one is already cached, download a new one and overwrite the old. Stor...
* Fix sphinx errors in docstring.
py
diff --git a/scripts/update_contributors.py b/scripts/update_contributors.py index <HASH>..<HASH> 100644 --- a/scripts/update_contributors.py +++ b/scripts/update_contributors.py @@ -44,7 +44,11 @@ def iter_recent_authors(): state="closed", sort="updated", direction="desc" ).get_page(0) for pull in r...
Only consider users of type 'User'
py
diff --git a/mlbgame/__init__.py b/mlbgame/__init__.py index <HASH>..<HASH> 100644 --- a/mlbgame/__init__.py +++ b/mlbgame/__init__.py @@ -276,3 +276,9 @@ def league(): """Return Info object that contains league information""" info = mlbgame.info.league_info() return mlbgame.info.Info(info) + +def teams(...
Add function that returns information on every team Fixes #<I>
py
diff --git a/tests/test_modeling_tf_common.py b/tests/test_modeling_tf_common.py index <HASH>..<HASH> 100644 --- a/tests/test_modeling_tf_common.py +++ b/tests/test_modeling_tf_common.py @@ -476,6 +476,7 @@ class TFModelTesterMixin: "TFFunnelForPreTraining", "TFElectraF...
Skip equivalence test for TransfoXL (#<I>) * Skip test for TransfoXL * Single list
py
diff --git a/odswriter/ods_components.py b/odswriter/ods_components.py index <HASH>..<HASH> 100644 --- a/odswriter/ods_components.py +++ b/odswriter/ods_components.py @@ -57,7 +57,7 @@ manifest_xml = """<?xml version="1.0" encoding="UTF-8"?> <manifest:manifest xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:mani...
Correct references to styles.xml, manifest.rdf.
py
diff --git a/toucan_data_sdk/utils/decorators.py b/toucan_data_sdk/utils/decorators.py index <HASH>..<HASH> 100644 --- a/toucan_data_sdk/utils/decorators.py +++ b/toucan_data_sdk/utils/decorators.py @@ -38,11 +38,10 @@ Note: """ import logging import time -from collections.abc import Callable from functools import ...
fix: import Callable for python <I>
py
diff --git a/proso/analysis.py b/proso/analysis.py index <HASH>..<HASH> 100644 --- a/proso/analysis.py +++ b/proso/analysis.py @@ -1,6 +1,7 @@ import json import hashlib import os +import pandas def get_experiment_data(name, compute_fun, cache_dir, cached=True, **kwargs): @@ -18,6 +19,20 @@ def get_experiment_d...
be able to cache also raw data
py
diff --git a/niworkflows/interfaces/bids.py b/niworkflows/interfaces/bids.py index <HASH>..<HASH> 100644 --- a/niworkflows/interfaces/bids.py +++ b/niworkflows/interfaces/bids.py @@ -648,6 +648,10 @@ space-MNI152NLin6Asym_desc-preproc_bold.json' if new_data is None: set_consumables...
FIX: Set slope and intercept to 1/0 if not otherwise provided
py
diff --git a/tests/checkers/unittest_refactoring.py b/tests/checkers/unittest_refactoring.py index <HASH>..<HASH> 100644 --- a/tests/checkers/unittest_refactoring.py +++ b/tests/checkers/unittest_refactoring.py @@ -20,7 +20,7 @@ def test_process_tokens() -> None: assert cm.value.code == 0 -@pytest.mark.timeout...
increase timeout value for test_issue_<I> (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ from setuptools import setup setup( name='Flask-Assistant', - version='0.2.92', + version='0.2.93', url='https://github.com/treethought/flask-assistant', license='Apache 2.0', author='...
version bump <I> - bdist_wheel and setup.py test
py
diff --git a/fireplace/managers.py b/fireplace/managers.py index <HASH>..<HASH> 100644 --- a/fireplace/managers.py +++ b/fireplace/managers.py @@ -1,5 +1,5 @@ from hearthstone.enums import GameTag -from .enums import ALWAYS_WINS_BRAWLS, CANT_OVERLOAD, KILLED_THIS_TURN +from . import enums class Manager(object): @...
Make the managers.py import less verbose
py
diff --git a/r12/shell.py b/r12/shell.py index <HASH>..<HASH> 100644 --- a/r12/shell.py +++ b/r12/shell.py @@ -67,7 +67,7 @@ class ArmShell(cmd.Cmd, object): def __init__(self, arm, wrapper=None, color=DEFAULT_COLOR): super(ArmShell, self).__init__() - colorama.init(autoreset=True) + color...
Fix command history not working in Python 2.
py
diff --git a/tests/test_tables.py b/tests/test_tables.py index <HASH>..<HASH> 100644 --- a/tests/test_tables.py +++ b/tests/test_tables.py @@ -295,6 +295,15 @@ def test_where_predicates(table): z | 1 | 10 | 10 """) +@pytest.mark.filterwarnings("error") +def test_where_predicates_nowarning_on_st...
Add regression test to make sure we don't warn when passing a string to a predicate.
py
diff --git a/insteonplm/plm.py b/insteonplm/plm.py index <HASH>..<HASH> 100644 --- a/insteonplm/plm.py +++ b/insteonplm/plm.py @@ -5,7 +5,7 @@ import binascii import time from .constants import * -from .devices.ipdb import IPDB +#from .devices.ipdb import IPDB from .aldb import ALDB from .address import Address ...
Removed IPDB reference from PLM
py
diff --git a/lib/stsci/tools/teal_bttn.py b/lib/stsci/tools/teal_bttn.py index <HASH>..<HASH> 100644 --- a/lib/stsci/tools/teal_bttn.py +++ b/lib/stsci/tools/teal_bttn.py @@ -5,11 +5,24 @@ $Id: teal_bttn.py 1 2011-08-30 03:19:02Z sontag $ """ from __future__ import division # confidence high -# local modules impor...
this adds the basics of the GUI part for #<I> (a task can have a button in their .cfgspc), now I need to add the run-user-code-upon-button-click part, and the update-current-values-from-a-dict part git-svn-id: <URL>
py
diff --git a/pyramid_zipkin/zipkin.py b/pyramid_zipkin/zipkin.py index <HASH>..<HASH> 100644 --- a/pyramid_zipkin/zipkin.py +++ b/pyramid_zipkin/zipkin.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -from py_zipkin.zipkin import create_http_headers_for_new_span # pragma: no cover +from py_zipkin.zipkin import create_http_...
flake8 wants 2 spaces before inline comment
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from setuptools import setup, find_packages setup( name='pycannon', - version='0.1.0', + version='0.2.0', packages=find_packages(), install_requires=[ 'requests', @@ -15,7 +15,13 @...
Bumped version to <I>.
py
diff --git a/h11/readers.py b/h11/readers.py index <HASH>..<HASH> 100644 --- a/h11/readers.py +++ b/h11/readers.py @@ -181,17 +181,6 @@ class ContentLengthReader: return Data(data=data) -class Http10Reader: - def __call__(self, buf): - data = buf.maybe_extract_at_most(999999999) - if data ...
style fixup -- put readers and writers in same order
py
diff --git a/pylint/extensions/broad_try_clause.py b/pylint/extensions/broad_try_clause.py index <HASH>..<HASH> 100644 --- a/pylint/extensions/broad_try_clause.py +++ b/pylint/extensions/broad_try_clause.py @@ -10,6 +10,7 @@ # For details: https://github.com/PyCQA/pylint/blob/main/LICENSE """Looks for try/except st...
Fix the typing for BroadTryClause.visit_tryexcept We're calling it from visit_tryfinally it's not strictly the expected for the visitor pattern
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ DESCRIPTION = "Global hotkey bindings for Windows and Linux for PyQt apps" URL = "https://github.com/codito/pyqtkeybind" EMAIL = "arun@codito.in" AUTHOR = "Arun Mahapatra" -VERSION = (0, 0, 8) +VERSION = (0, ...
chore: release <I>.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -66,6 +66,8 @@ setup( "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + ...
chore: officially support Python <I> & <I>
py