diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/py27/bacpypes/iocb.py b/py27/bacpypes/iocb.py index <HASH>..<HASH> 100644 --- a/py27/bacpypes/iocb.py +++ b/py27/bacpypes/iocb.py @@ -474,6 +474,7 @@ class IOQueue: # if the queue is empty and we do not block return None if not block and not self.notempty.isSet(): + if _debug...
non-blocking cleanup of the queue for abort
py
diff --git a/doc/en/example/assertion/failure_demo.py b/doc/en/example/assertion/failure_demo.py index <HASH>..<HASH> 100644 --- a/doc/en/example/assertion/failure_demo.py +++ b/doc/en/example/assertion/failure_demo.py @@ -1,4 +1,3 @@ -import _pytest._code import pytest from pytest import raises @@ -197,7 +196,7 @@...
Use builtin compile in doc example Follow up to #<I>
py
diff --git a/pymzn/mzn/solvers.py b/pymzn/mzn/solvers.py index <HASH>..<HASH> 100644 --- a/pymzn/mzn/solvers.py +++ b/pymzn/mzn/solvers.py @@ -102,7 +102,7 @@ class Solver: @property def stats(self): - return ''.join(self._stats) + return '\n'.join(self._stats) def p...
solvers: fix stats joining
py
diff --git a/seleniumbase/fixtures/xpath_to_css.py b/seleniumbase/fixtures/xpath_to_css.py index <HASH>..<HASH> 100755 --- a/seleniumbase/fixtures/xpath_to_css.py +++ b/seleniumbase/fixtures/xpath_to_css.py @@ -101,8 +101,6 @@ def _get_raw_css_from_xpath(xpath): elif match['mattr'] in ["text()", "."]: ...
Fix the xpath-to-css converter
py
diff --git a/fireplace/actions.py b/fireplace/actions.py index <HASH>..<HASH> 100644 --- a/fireplace/actions.py +++ b/fireplace/actions.py @@ -280,6 +280,8 @@ class GenericChoice(GameAction): cards = self._args[1] if isinstance(cards, Selector): cards = cards.eval(source.game, source) + elif isinstance(cards...
Allow giving a LazyValue to a GenericChoice
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -26,7 +26,7 @@ setup(name='pybars3', author='wbond, mjumbewu', author_email='will@wbond.net, mjumbewu@gmail.com', url='https://github.com/wbond/pybars3', - packages=['pybars'], + packages=['pybar...
Fixed an issue in setup.py with the new pybars._template namespace
py
diff --git a/tests/test_onnx.py b/tests/test_onnx.py index <HASH>..<HASH> 100644 --- a/tests/test_onnx.py +++ b/tests/test_onnx.py @@ -3,7 +3,7 @@ from os import sep from os.path import dirname, exists from shutil import rmtree -from tests.utils import require_tf, require_torch +from tests.utils import require_tf, ...
Tag onnx export tests as slow (#<I>)
py
diff --git a/sen/tui/widget.py b/sen/tui/widget.py index <HASH>..<HASH> 100644 --- a/sen/tui/widget.py +++ b/sen/tui/widget.py @@ -201,7 +201,7 @@ class WidgetBase(urwid.ListBox): self.search_string = None self.filter_query = None super().__init__(*args, **kwargs) - self.ro_content = s...
filtering: copy widget content, don't ref
py
diff --git a/alerta/models/alert.py b/alerta/models/alert.py index <HASH>..<HASH> 100644 --- a/alerta/models/alert.py +++ b/alerta/models/alert.py @@ -246,7 +246,7 @@ class Alert(object): status=self.status, text="duplicate alert with status change", change_type="statu...
Consistently use alert create time as history update time (#<I>)
py
diff --git a/tests/test_expression.py b/tests/test_expression.py index <HASH>..<HASH> 100644 --- a/tests/test_expression.py +++ b/tests/test_expression.py @@ -326,7 +326,7 @@ def test_depth_repr(): y = claripy.LShR(y, 10) y = claripy.LShR(y, 10) print y.shallow_repr(max_depth=5) - nose.tools.assert_eq...
fix expression test, broken by a prior commit
py
diff --git a/djangosaml2/cache.py b/djangosaml2/cache.py index <HASH>..<HASH> 100644 --- a/djangosaml2/cache.py +++ b/djangosaml2/cache.py @@ -75,12 +75,6 @@ class IdentityCache(Cache): self._db = DjangoSessionCacheAdapter(django_session, '_identities') self._sync = True - def delete(self, subjec...
upstream pysaml2 syncs database after a delete
py
diff --git a/etrago/appl.py b/etrago/appl.py index <HASH>..<HASH> 100644 --- a/etrago/appl.py +++ b/etrago/appl.py @@ -315,11 +315,10 @@ def etrago(args): scn_name=args['scn_name']) network = scenario.build_network() - network.lines.r[network.lines.r == 0] = 0.0000001 + ...
delete unused lines in appl.py
py
diff --git a/il2fb/commons/actors.py b/il2fb/commons/actors.py index <HASH>..<HASH> 100644 --- a/il2fb/commons/actors.py +++ b/il2fb/commons/actors.py @@ -86,9 +86,9 @@ class MovingUnitMemberActor(MovingUnitActor): @export @dataclass(frozen=True) class BuildingActor(Actor): - __slots__ = ["name", ] + __slots__ = [...
Rename 'BuildingActor.name' β†’ 'BuildingActor.id'
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,8 @@ METADATA = dict( 'Framework :: Django', ], packages=find_packages(), - package_data={'allauth': ['templates/allauth/*.html'], } + package_data={'allauth': ['templates/allauth/*.html', + ...
Added missing .html file to package data
py
diff --git a/usagestats.py b/usagestats.py index <HASH>..<HASH> 100644 --- a/usagestats.py +++ b/usagestats.py @@ -318,7 +318,7 @@ class Stats(object): if self.user_id: all_info.insert(1, ('user', self.user_id)) - logger.info("Generated report:\n%r", (all_info,)) + logger.debug("Ge...
Change logging levels Print out generated report at DEBUG.
py
diff --git a/sdk/identity/azure-identity/azure/identity/_version.py b/sdk/identity/azure-identity/azure/identity/_version.py index <HASH>..<HASH> 100644 --- a/sdk/identity/azure-identity/azure/identity/_version.py +++ b/sdk/identity/azure-identity/azure/identity/_version.py @@ -2,4 +2,4 @@ # Copyright (c) Microsoft Co...
Increment azure-identity version (#<I>)
py
diff --git a/tests/test_61_makemeta.py b/tests/test_61_makemeta.py index <HASH>..<HASH> 100644 --- a/tests/test_61_makemeta.py +++ b/tests/test_61_makemeta.py @@ -265,3 +265,11 @@ def test_do_idp_sso_descriptor(): assert isinstance(res[1], mdui.UIInfo) elif isinstance(res[1], shibmd.Scope): asser...
Added some more subtest of different methods
py
diff --git a/rule_n.py b/rule_n.py index <HASH>..<HASH> 100644 --- a/rule_n.py +++ b/rule_n.py @@ -14,7 +14,7 @@ Default size is 100, so even shorter: rule_110 = rule_n.RuleN() - This works with eny numbered rule numbered in this manner, see the + This works with any numbered rule numbered in this ma...
minor changes * make iterate not return starting list * fix typo in docstrign * unuse builtin variable
py
diff --git a/gwpy/segments/flag.py b/gwpy/segments/flag.py index <HASH>..<HASH> 100644 --- a/gwpy/segments/flag.py +++ b/gwpy/segments/flag.py @@ -1614,6 +1614,15 @@ class DataQualityDict(OrderedDict): def __sub__(self, other): return self.copy().__isub__(other) + def __ixor__(self, other): + ...
Added xor method to DataQualityDict class
py
diff --git a/pql/__init__.py b/pql/__init__.py index <HASH>..<HASH> 100644 --- a/pql/__init__.py +++ b/pql/__init__.py @@ -24,7 +24,7 @@ def pipe(func): return decorated def _parse_value(parser, value): - if isinstance(value, str): + if isinstance(value, str) or isinstance(value, unicode): return...
Added check for unicode and str instead of just str
py
diff --git a/python/tensorflow/ner/create_models.py b/python/tensorflow/ner/create_models.py index <HASH>..<HASH> 100644 --- a/python/tensorflow/ner/create_models.py +++ b/python/tensorflow/ner/create_models.py @@ -9,7 +9,7 @@ def create_graph(output_path, number_of_tags, embeddings_dimension, number_of_ch if sys....
Message specific for tensorflow exception
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ from setuptools import setup setup( name='emot', - version="2.1", + version="2.2", author='Neel Shah, Subham', author_email='neelknightme@gmail.com, kaka.shubham@gmail.com', descriptio...
Bump the setup.py to the <I>
py
diff --git a/great_expectations/cli/init_messages.py b/great_expectations/cli/init_messages.py index <HASH>..<HASH> 100644 --- a/great_expectations/cli/init_messages.py +++ b/great_expectations/cli/init_messages.py @@ -15,17 +15,17 @@ LETS_BEGIN_PROMPT = """In a few minutes you will see Great Expectations in actio Fir...
Changed chars in the init message to regular pipes and dashes to avoid Windows issues
py
diff --git a/onecodex/models/__init__.py b/onecodex/models/__init__.py index <HASH>..<HASH> 100644 --- a/onecodex/models/__init__.py +++ b/onecodex/models/__init__.py @@ -324,6 +324,7 @@ __all__ = ['Samples', 'Classifications', 'Alignments', 'Panels', 'Jobs', 'Projec def is_oc_class(cls): return inspect.isclass(c...
Fix linting error (caused by flake8 upgrade to <I>)
py
diff --git a/fireplace/cards.py b/fireplace/cards.py index <HASH>..<HASH> 100644 --- a/fireplace/cards.py +++ b/fireplace/cards.py @@ -17,15 +17,17 @@ class Card(object): if cls is not Card: return super().__new__(cls) data = XMLCard.get(id) - type = data.type - card = { + type = { CardType.HERO: Hero,...
Move secret logic to a new Secret class
py
diff --git a/spacy/__init__.py b/spacy/__init__.py index <HASH>..<HASH> 100644 --- a/spacy/__init__.py +++ b/spacy/__init__.py @@ -46,4 +46,5 @@ def load(name, **overrides): overrides['add_vectors'] = lambda vocab: vocab.load_vectors_from_bin_loc(vec_path) path = util.match_best_version(target_name, t...
Fix path-override bug in spacy.load
py
diff --git a/memsql/collectd/cluster.py b/memsql/collectd/cluster.py index <HASH>..<HASH> 100644 --- a/memsql/collectd/cluster.py +++ b/memsql/collectd/cluster.py @@ -24,6 +24,7 @@ def find_node(connection_pool): ORDER BY host, port LIMIT 1 ''' % addresses) + node = None if node_row is n...
minor bug with find_node
py
diff --git a/flux_led/utils.py b/flux_led/utils.py index <HASH>..<HASH> 100644 --- a/flux_led/utils.py +++ b/flux_led/utils.py @@ -293,5 +293,8 @@ def white_levels_to_color_temp(warm_white, cool_white): warm = warm_white / 255 cold = cool_white / 255 brightness = warm + cold - temperature = ((cold / b...
Fix divide by zero error when brightness is 0
py
diff --git a/pandas/tests/test_multilevel.py b/pandas/tests/test_multilevel.py index <HASH>..<HASH> 100644 --- a/pandas/tests/test_multilevel.py +++ b/pandas/tests/test_multilevel.py @@ -2263,6 +2263,7 @@ Thur,Lunch,Yes,51.51,17""" def test_repeat(self): # GH 9361 + # fixed by # GH 7891 ...
update test comments to reference #<I>
py
diff --git a/gui/test_riabclipper.py b/gui/test_riabclipper.py index <HASH>..<HASH> 100644 --- a/gui/test_riabclipper.py +++ b/gui/test_riabclipper.py @@ -55,6 +55,12 @@ class RiabTest(unittest.TestCase): 'Shakemap_Padang_2009.asc') self.rasterPath2 = os.path.joi...
Another valiant attempt to remove the segfault issue with qgis based test
py
diff --git a/discord/ui/modal.py b/discord/ui/modal.py index <HASH>..<HASH> 100644 --- a/discord/ui/modal.py +++ b/discord/ui/modal.py @@ -174,7 +174,7 @@ class Modal(View): def _refresh(self, components: Sequence[ModalSubmitComponentInteractionDataPayload]) -> None: for component in components: ...
Add missing underscore in Modal refresh method
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -15,7 +15,8 @@ class my_build_py(build_py): build_py.run(self) def read(fname): - return open(os.path.join(os.path.dirname(__file__), fname)).read() + with open(os.path.join(os.path.dirname(__file__), fname))...
Ensure file handle is closed using with statement
py
diff --git a/py2pack/py2pack.py b/py2pack/py2pack.py index <HASH>..<HASH> 100644 --- a/py2pack/py2pack.py +++ b/py2pack/py2pack.py @@ -37,7 +37,7 @@ from pprint import pprint warnings.filterwarnings('ignore', 'Module argparse was already imported') # Filter a UserWarning from Jinja2 import jinja2 -__version__ = '...
Bumb version to <I>
py
diff --git a/src/transformers/models/detr/modeling_detr.py b/src/transformers/models/detr/modeling_detr.py index <HASH>..<HASH> 100644 --- a/src/transformers/models/detr/modeling_detr.py +++ b/src/transformers/models/detr/modeling_detr.py @@ -1419,7 +1419,7 @@ class DetrForObjectDetection(DetrPreTrainedModel): ...
Fix doc tests (#<I>)
py
diff --git a/query.py b/query.py index <HASH>..<HASH> 100644 --- a/query.py +++ b/query.py @@ -332,8 +332,8 @@ class Query(object): def copy(self): return Query(self._pairs[:]) - def sign(self, key, hasher=None, maxage=None, add_time=True, add_nonce=True, time_key = 't', sig_key='s', nonce_key='n...
Query: - Default signing method adds time if there is no maxage, but no time if there is maxage. Sendmail: - Wrote a mail sending module.
py
diff --git a/gui/controls/gridview.py b/gui/controls/gridview.py index <HASH>..<HASH> 100644 --- a/gui/controls/gridview.py +++ b/gui/controls/gridview.py @@ -87,8 +87,10 @@ class GridView(Control): binding=gridlib.EVT_GRID_COL_SIZE, kind=GridEvent) ongridrangeselect = EventSpec('grid_rang...
renamed ongridcellchange to ongridcellchanged to support gridlib.EVT_GRID_CELL_CHANGED in wx<I> (preparation for phoenix)
py
diff --git a/iota/filters.py b/iota/filters.py index <HASH>..<HASH> 100644 --- a/iota/filters.py +++ b/iota/filters.py @@ -147,7 +147,7 @@ class Trytes(f.BaseFilter): class AddressNoChecksum(Trytes): """ - Validates a sequence as a sequence of trytes. + Validates a sequence as an Address then chops off the chec...
Fix some of the comments to be specific to this special subclass, not Tryte
py
diff --git a/atrcopy.py b/atrcopy.py index <HASH>..<HASH> 100755 --- a/atrcopy.py +++ b/atrcopy.py @@ -195,6 +195,12 @@ class ObjSegment(object): if self.error: s += " " + self.error return s + + def __len__(self): + return len(self.data) + + def __getitem__(self, val...
Added len and getitem to segments
py
diff --git a/flux_led/device.py b/flux_led/device.py index <HASH>..<HASH> 100644 --- a/flux_led/device.py +++ b/flux_led/device.py @@ -575,7 +575,7 @@ class LEDENETDevice: print("RGBW command sent to non-RGBW device") raise ValueError("RGBW command sent to non-RGBW device") - if brigh...
Do not set brightness for RGB if not passed
py
diff --git a/django_productline/tasks.py b/django_productline/tasks.py index <HASH>..<HASH> 100644 --- a/django_productline/tasks.py +++ b/django_productline/tasks.py @@ -49,6 +49,17 @@ def prepare_db_schema(): @tasks.register @tasks.requires_product_environment +def prepare_fs(): + """ + prepare filesystem f...
factored out prepare_fs task
py
diff --git a/wgetter.py b/wgetter.py index <HASH>..<HASH> 100755 --- a/wgetter.py +++ b/wgetter.py @@ -4,7 +4,6 @@ import sys import os import shutil import tempfile -import math import hashlib from time import time @@ -165,10 +164,10 @@ def report_bar(bytes_so_far, chunk_size, total_size, speed): ''' ...
Update wgetter.py
py
diff --git a/airflow/models/dagrun.py b/airflow/models/dagrun.py index <HASH>..<HASH> 100644 --- a/airflow/models/dagrun.py +++ b/airflow/models/dagrun.py @@ -124,7 +124,9 @@ class DagRun(Base, LoggingMixin): ), ) - task_instances = relationship(TI, back_populates="dag_run") + task_instances = rel...
Add cascade to DagRun/TaskInstance relationship (#<I>) * Add cascade to DagRun/TaskInstance relationship We currently have issue where deleting dagruns causes a dependency error in Sqlalchemy because the session doesn't know what to do with the related taskinstances. This PR adds cascade so that when a dagrun i...
py
diff --git a/satpy/readers/nc_slstr.py b/satpy/readers/nc_slstr.py index <HASH>..<HASH> 100644 --- a/satpy/readers/nc_slstr.py +++ b/satpy/readers/nc_slstr.py @@ -53,7 +53,6 @@ class NCSLSTRGeo(BaseFileHandler): logger.debug('Reading %s.', key.name) - print self.filename, info['file_key'] t...
Remove print statement in slstr reader
py
diff --git a/sparklingpandas/test/pandas_groupby_tests.py b/sparklingpandas/test/pandas_groupby_tests.py index <HASH>..<HASH> 100644 --- a/sparklingpandas/test/pandas_groupby_tests.py +++ b/sparklingpandas/test/pandas_groupby_tests.py @@ -183,6 +183,17 @@ class PandasGroupby(SparklingPandasTestCase): expected ...
Test var between dgroup and local
py
diff --git a/spikeextractors/extractors/phyextractors/phyextractors.py b/spikeextractors/extractors/phyextractors/phyextractors.py index <HASH>..<HASH> 100644 --- a/spikeextractors/extractors/phyextractors/phyextractors.py +++ b/spikeextractors/extractors/phyextractors/phyextractors.py @@ -139,7 +139,7 @@ class PhySort...
cluster_channel_group in PhySortingExtractor
py
diff --git a/galpy/df_src/streamdf.py b/galpy/df_src/streamdf.py index <HASH>..<HASH> 100644 --- a/galpy/df_src/streamdf.py +++ b/galpy/df_src/streamdf.py @@ -281,17 +281,8 @@ class streamdf: self._dsigomeanProgDirection, self.meanO...
rm unnecessary setup of new progenitor orbit
py
diff --git a/johnny/utils.py b/johnny/utils.py index <HASH>..<HASH> 100644 --- a/johnny/utils.py +++ b/johnny/utils.py @@ -25,10 +25,10 @@ def celery_enable_all(): """Enable johnny-cache in all celery tasks, clearing the local-store after each task.""" from celery.signals import task_prerun, task_postrun...
Fixed NameError introduced in 4b<I>eb<I>d7.
py
diff --git a/parsl/data_provider/data_manager.py b/parsl/data_provider/data_manager.py index <HASH>..<HASH> 100644 --- a/parsl/data_provider/data_manager.py +++ b/parsl/data_provider/data_manager.py @@ -122,7 +122,7 @@ class DataManager(ParslExecutor): if executor.working_dir: ...
Raise an exception rather than use wrong cwd for globus paths (#<I>) (#<I>) Prior to this patch, if no execute-side working directory is known for a globus transfer, the client side current directory is used. This is very likely to be wrong (unless the execute side and client side are running on the same filesyst...
py
diff --git a/tests/test_route.py b/tests/test_route.py index <HASH>..<HASH> 100644 --- a/tests/test_route.py +++ b/tests/test_route.py @@ -67,7 +67,7 @@ def test_iframe(make_route, make_request): <script src="http:sockjs-cdn"></script> <script> document.domain = document.domain; - SockJS.bootstrap_iframe\...
Fix test_route.py to the proper iframe content
py
diff --git a/pymodeler/parameter.py b/pymodeler/parameter.py index <HASH>..<HASH> 100644 --- a/pymodeler/parameter.py +++ b/pymodeler/parameter.py @@ -96,6 +96,7 @@ class Property(object): ('format', '%s', 'Format string for printing' ), ('dtype', None, 'Data type' ...
Added units to Property defaults.
py
diff --git a/ObjectPathPy/core/interpreter.py b/ObjectPathPy/core/interpreter.py index <HASH>..<HASH> 100644 --- a/ObjectPathPy/core/interpreter.py +++ b/ObjectPathPy/core/interpreter.py @@ -488,7 +488,10 @@ class Tree(Debugger): try: return joiner.join(args[0]) except: - return args[0] + t...
join() now casting array elements to strings
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -71,7 +71,7 @@ configuration = { 'maintainer': 'Leland McInnes', 'maintainer_email': 'leland.mcinnes@gmail.com', 'license': 'BSD', - 'packages': ['hdbscan'], + 'packages': ['hdbscan', 'hdbscan.tests'], ...
Include tests with installation. We could live without this, but we would have to figure out how to run the tests from the source code on the installed package.
py
diff --git a/tests/test_scheduler.py b/tests/test_scheduler.py index <HASH>..<HASH> 100644 --- a/tests/test_scheduler.py +++ b/tests/test_scheduler.py @@ -136,6 +136,8 @@ class TestScheduler(RQTestCase): self.scheduler.change_execution_time(job, new_date) self.assertEqual(int(new_date.strftime('%s')),...
Updated test: 'test_change_execution_time' now also checks that non-existing jobs can't be rescheduled.
py
diff --git a/solc/main.py b/solc/main.py index <HASH>..<HASH> 100644 --- a/solc/main.py +++ b/solc/main.py @@ -66,9 +66,11 @@ def _parse_compiler_output(stdoutdata): return {} contracts = output['contracts'] + sources = output['sources'] - for _, data in contracts.items(): + for source, data ...
Output value 'ast' is now added to compiler output
py
diff --git a/tasktiger/worker.py b/tasktiger/worker.py index <HASH>..<HASH> 100644 --- a/tasktiger/worker.py +++ b/tasktiger/worker.py @@ -622,8 +622,13 @@ class Worker(object): except KeyboardInterrupt: pass - if self.stats_thread: - self.stats_thread.stop() - self....
Log exceptions in main process, and properly shut down if there is an exception.
py
diff --git a/nipap/nipap/authlib.py b/nipap/nipap/authlib.py index <HASH>..<HASH> 100644 --- a/nipap/nipap/authlib.py +++ b/nipap/nipap/authlib.py @@ -669,6 +669,13 @@ class SqliteAuth(BaseAuth): Since username is used as primary key and we only have a single argument for it we can't modify th...
Fix changing user password using nipap-passwd Replicate functionality from add_user function. We can't just update the password like any other column since we have to salt+hash it first... Fixes #<I>.
py
diff --git a/lib/yaml/scanner.py b/lib/yaml/scanner.py index <HASH>..<HASH> 100644 --- a/lib/yaml/scanner.py +++ b/lib/yaml/scanner.py @@ -1211,7 +1211,7 @@ class Scanner: for k in range(length): if self.peek(k) not in '0123456789ABCDEFabcdef': ...
Correct spelling of β€œhexadecimal”
py
diff --git a/akismet/__init__.py b/akismet/__init__.py index <HASH>..<HASH> 100644 --- a/akismet/__init__.py +++ b/akismet/__init__.py @@ -82,7 +82,7 @@ class Akismet: def check(self, user_ip, user_agent, comment_author=None, comment_author_email=None, comment_author_url=None, comment_content=None...
Added support for check's recheck reason
py
diff --git a/workbench/server/data_store.py b/workbench/server/data_store.py index <HASH>..<HASH> 100644 --- a/workbench/server/data_store.py +++ b/workbench/server/data_store.py @@ -356,7 +356,7 @@ class DataStore(object): all_c.remove('system.indexes') all_c.remove('fs.chunks') ...
not removing sample_set when worker_output is removed
py
diff --git a/cobra/solvers/esolver.py b/cobra/solvers/esolver.py index <HASH>..<HASH> 100644 --- a/cobra/solvers/esolver.py +++ b/cobra/solvers/esolver.py @@ -85,7 +85,7 @@ class Esolver(object): self.solution_filepath = f.name command = [ESOLVER_COMMAND, "-b", self.basis_filepath, ...
esolver does not always output gz solution
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -37,7 +37,6 @@ setup( 'porespy.filters', 'porespy.networks', 'porespy.visualization', - 'porespy.simulations', 'porespy.io'], install_requires=['num...
removing simulations from setup.py
py
diff --git a/voltron/plugins/api/disassemble.py b/voltron/plugins/api/disassemble.py index <HASH>..<HASH> 100644 --- a/voltron/plugins/api/disassemble.py +++ b/voltron/plugins/api/disassemble.py @@ -42,6 +42,8 @@ class APIDisassembleRequest(APIRequest): disasm = voltron.debugger.disassemble(target_id=self....
Add disasm flavour and debugger host
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -131,6 +131,7 @@ html_theme_options = { 'gratipay_user': 'koed00', 'github_banner': True, 'travis_button': True, + 'analytics_id': 'UA-64807059-1' } html_sidebars = { '**': [
Added google analytics for docs
py
diff --git a/dpxdt/tools/diff_my_urls.py b/dpxdt/tools/diff_my_urls.py index <HASH>..<HASH> 100755 --- a/dpxdt/tools/diff_my_urls.py +++ b/dpxdt/tools/diff_my_urls.py @@ -79,9 +79,9 @@ class Test(object): ref_url=None, ref_config=None): self.name = name self.run_url = run_url - ...
Fix cryptic errors when tests_json_path is missing ref_config
py
diff --git a/test/test.py b/test/test.py index <HASH>..<HASH> 100644 --- a/test/test.py +++ b/test/test.py @@ -52,11 +52,9 @@ def check_hash(test, name): os.chdir(os.path.dirname(tex_file)) # compile the output to pdf - FNULL = open(os.devnull, 'w') - subprocess.check_call( + tex_out = subprocess.c...
test: print tex output for debuggin purposes
py
diff --git a/tests/test_utils/gcp_system_helpers.py b/tests/test_utils/gcp_system_helpers.py index <HASH>..<HASH> 100644 --- a/tests/test_utils/gcp_system_helpers.py +++ b/tests/test_utils/gcp_system_helpers.py @@ -99,8 +99,6 @@ def provide_gcp_context( ): executor = get_executor() - if project_i...
Move setting of project ID after activating service account (#<I>)
py
diff --git a/jf_agent/main.py b/jf_agent/main.py index <HASH>..<HASH> 100644 --- a/jf_agent/main.py +++ b/jf_agent/main.py @@ -196,6 +196,12 @@ def main(): ) return + if git_url and len(server_git_instance_info) != 1: + print( + f'ERROR: Invalid Git instance info returned from t...
Validate Git instance info returned from the agent config endpoint
py
diff --git a/cohorts/load.py b/cohorts/load.py index <HASH>..<HASH> 100644 --- a/cohorts/load.py +++ b/cohorts/load.py @@ -418,11 +418,11 @@ class Cohort(Collection): return None if self.check_provenance: - warn_str = _compare_provenance( + num_discrepant = _compare_provena...
add cache_name to warnings in check_provenance
py
diff --git a/cleverhans/utils_keras.py b/cleverhans/utils_keras.py index <HASH>..<HASH> 100644 --- a/cleverhans/utils_keras.py +++ b/cleverhans/utils_keras.py @@ -1,6 +1,7 @@ """ Model construction utilities based on keras """ +from distutils.version import LooseVersion import warnings import tensorflow as tf @@...
compatible with tf-<I>
py
diff --git a/redis_shard/shard.py b/redis_shard/shard.py index <HASH>..<HASH> 100644 --- a/redis_shard/shard.py +++ b/redis_shard/shard.py @@ -74,7 +74,7 @@ class RedisShardAPI(object): "zremrangebyscore", "zcard", "zscore", "hget", "hset", "hdel", "hincrby", "hlen", "hkeys", "hva...
add config of brpop, blpop, lpush and rpush.
py
diff --git a/raven/base.py b/raven/base.py index <HASH>..<HASH> 100644 --- a/raven/base.py +++ b/raven/base.py @@ -297,9 +297,6 @@ class Client(object): for processor in self.get_processors(): data.update(processor.process(data)) - # Make sure all data is coerced - data = self.tran...
Coerce data at the very end of building the message
py
diff --git a/visidata/unfurl.py b/visidata/unfurl.py index <HASH>..<HASH> 100644 --- a/visidata/unfurl.py +++ b/visidata/unfurl.py @@ -8,6 +8,7 @@ Credit to Jeremy Singer-Vine for the idea and original implementation. from collections.abc import Iterable, Mapping from visidata import vd, Progress, Sheet, Column, Co...
[unfurl-] handle unfurling exceptions Previously, loading would halt about hitting an exception. Now, if options.unfurl_empty is True, will have a row containing TypedExceptionWrapper. If False, will pass the exception'd row. Closes #<I>
py
diff --git a/stravalib/model.py b/stravalib/model.py index <HASH>..<HASH> 100644 --- a/stravalib/model.py +++ b/stravalib/model.py @@ -151,6 +151,11 @@ class Club(LoadableEntity): country = Attribute(six.text_type, (DETAILED, )) #: Country the club is based in private = Attribute(bool, (DETAILED, )) #: Whet...
Added new Club attributes (verified, url, featured, cover_photo, cover_photo_small)
py
diff --git a/peeweedbevolve.py b/peeweedbevolve.py index <HASH>..<HASH> 100644 --- a/peeweedbevolve.py +++ b/peeweedbevolve.py @@ -20,7 +20,7 @@ DEBUG = False # peewee doesn't do defaults in the database - doh! DIFF_DEFAULTS = False -__version__ = '0.5.0' +__version__ = '0.5.1' try:
bumped version for python3 incompatibility #<I>
py
diff --git a/tests/test_zone.py b/tests/test_zone.py index <HASH>..<HASH> 100644 --- a/tests/test_zone.py +++ b/tests/test_zone.py @@ -100,7 +100,7 @@ class TestZoneMethods(unittest.TestCase): } for (count, data) in enumerate(self.zones, 1) ] - ...
Update test_zone.py Try to fix a hound issue
py
diff --git a/tests/functional_tests/expected_values/bitbucket.py b/tests/functional_tests/expected_values/bitbucket.py index <HASH>..<HASH> 100644 --- a/tests/functional_tests/expected_values/bitbucket.py +++ b/tests/functional_tests/expected_values/bitbucket.py @@ -12,11 +12,9 @@ LINK = 'https://bitbucket.org/api/1.0/...
Fixed login and passwor xpaths in expected values of Bitbucket.
py
diff --git a/pandas_td/td.py b/pandas_td/td.py index <HASH>..<HASH> 100644 --- a/pandas_td/td.py +++ b/pandas_td/td.py @@ -244,10 +244,14 @@ class ResultProxy(object): @property def size(self): + if not self.job.finished(): + self.job.wait() return self.job.result_size @pro...
Wait job completion on getting result size and description
py
diff --git a/transmogrify/__init__.py b/transmogrify/__init__.py index <HASH>..<HASH> 100644 --- a/transmogrify/__init__.py +++ b/transmogrify/__init__.py @@ -3,7 +3,7 @@ __version_info__ = { 'minor': 0, 'micro': 1, 'releaselevel': 'beta', - 'serial': 1 + 'serial': 2 }
Version bump to <I>b2
py
diff --git a/manuscripts/_version.py b/manuscripts/_version.py index <HASH>..<HASH> 100644 --- a/manuscripts/_version.py +++ b/manuscripts/_version.py @@ -1,2 +1,2 @@ # Versions compliant with PEP 440 https://www.python.org/dev/peps/pep-0440 -__version__ = "0.2.8" +__version__ = "0.2.9"
Update version number to <I>
py
diff --git a/stagpy/commands.py b/stagpy/commands.py index <HASH>..<HASH> 100644 --- a/stagpy/commands.py +++ b/stagpy/commands.py @@ -22,8 +22,6 @@ def rprof_cmd(args): def time_cmd(args): """plot time series""" - if args.compstat: - args.matplotback = None misc.plot_backend(args) time_seri...
Remove matplotback setting with compstat opt This was useful when compstat used an onclik event to determine the beginning time step instead of the tstart command line option.
py
diff --git a/great_expectations/cli/cli.py b/great_expectations/cli/cli.py index <HASH>..<HASH> 100644 --- a/great_expectations/cli/cli.py +++ b/great_expectations/cli/cli.py @@ -23,8 +23,8 @@ from great_expectations.data_context import DataContext from great_expectations.render.renderer import DescriptivePageRenderer...
Update CLI logging to usurp entire GE namespace
py
diff --git a/test_sphinx_issues.py b/test_sphinx_issues.py index <HASH>..<HASH> 100644 --- a/test_sphinx_issues.py +++ b/test_sphinx_issues.py @@ -19,7 +19,7 @@ from sphinx_issues import ( import pytest -@pytest.yield_fixture( +@pytest.fixture( params=[ # Parametrize config {"issues_github_p...
Fix PytestDeprecationWarning: @pytest.yield_fixture is deprecated. (#<I>)
py
diff --git a/testrail/client.py b/testrail/client.py index <HASH>..<HASH> 100644 --- a/testrail/client.py +++ b/testrail/client.py @@ -146,8 +146,8 @@ class TestRail(object): @plans.register(Milestone) def _plans_for_milestone(self, obj): - return PlanContainer(filter( - lambda p: p.milest...
Filter plans not part of a milestone.
py
diff --git a/source/rafcon/utils/installation.py b/source/rafcon/utils/installation.py index <HASH>..<HASH> 100644 --- a/source/rafcon/utils/installation.py +++ b/source/rafcon/utils/installation.py @@ -83,7 +83,7 @@ def install_fonts(logger=None, restart=False): if font_installed: log.info("Running fon...
fix(installation): Properly call fc-cache Do not wrap path in parenthesis, otherwise an error occurs
py
diff --git a/src/rituals/invoke_tasks.py b/src/rituals/invoke_tasks.py index <HASH>..<HASH> 100644 --- a/src/rituals/invoke_tasks.py +++ b/src/rituals/invoke_tasks.py @@ -91,7 +91,7 @@ def bump(): # TODO: Put into scm package now = '{:%Y%m%d!%H%M}'.format(datetime.now()) - tag = run("git describe --long ...
:arrow_upper_right: use annotated tags for releasing and version bumping
py
diff --git a/fusionbox/fix_user/models.py b/fusionbox/fix_user/models.py index <HASH>..<HASH> 100644 --- a/fusionbox/fix_user/models.py +++ b/fusionbox/fix_user/models.py @@ -24,6 +24,7 @@ AuthenticationForm.base_fields['username'].validators[0].limit_value = 255 from django.contrib.auth.forms import UserCreationFor...
paula told me to do it ;-)
py
diff --git a/chess/uci.py b/chess/uci.py index <HASH>..<HASH> 100644 --- a/chess/uci.py +++ b/chess/uci.py @@ -1209,7 +1209,8 @@ class Engine(object): is the best move according to the engine. The second is the ponder move. This is the reply expected by the engine. Either of the e...
Update documentation of engine.ponderhit() (#<I>)
py
diff --git a/metal/mmtl/task.py b/metal/mmtl/task.py index <HASH>..<HASH> 100644 --- a/metal/mmtl/task.py +++ b/metal/mmtl/task.py @@ -22,6 +22,10 @@ class Task(object): data_loaders: List[DataLoader], scorers: List[Callable] = None, ) -> None: + if len(data_loaders) != 3: + msg...
Require three data_loaders in Task
py
diff --git a/querybuilder/tables.py b/querybuilder/tables.py index <HASH>..<HASH> 100644 --- a/querybuilder/tables.py +++ b/querybuilder/tables.py @@ -106,6 +106,10 @@ class Table(object): self.add_fields(fields) def add_fields(self, fields): + if type(fields) is str: + fields = [field...
* Handle different types for field param
py
diff --git a/iamine/core.py b/iamine/core.py index <HASH>..<HASH> 100644 --- a/iamine/core.py +++ b/iamine/core.py @@ -145,7 +145,6 @@ class Miner: else: return resp except Exception as exc: - raise exc sys.stderr.write('{0} has error {1...
Removed "raise exc" from make_request().
py
diff --git a/mrq/worker.py b/mrq/worker.py index <HASH>..<HASH> 100644 --- a/mrq/worker.py +++ b/mrq/worker.py @@ -318,6 +318,7 @@ class Worker(object): "status": self.status, "config": {k: v for k, v in self.config.iteritems() if k in whitelisted_config}, "done_jobs": self.done_j...
exports pool usage average with worker report
py
diff --git a/sos/plugins/openstack.py b/sos/plugins/openstack.py index <HASH>..<HASH> 100644 --- a/sos/plugins/openstack.py +++ b/sos/plugins/openstack.py @@ -185,3 +185,8 @@ class RedHatOpenStack(openstack, RedHatPlugin): # Quantum self.addCopySpecs(["/etc/quantum/", "/var...
Obscure password in /etc/keystone/keystone.conf
py
diff --git a/check_supervisord.py b/check_supervisord.py index <HASH>..<HASH> 100755 --- a/check_supervisord.py +++ b/check_supervisord.py @@ -168,7 +168,7 @@ def create_output(data, options): program: { "name": program, "template": STATE2TEMPLATE[program_data[...
Show state if there isn't a spawn errror
py
diff --git a/tests/test_api.py b/tests/test_api.py index <HASH>..<HASH> 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -282,7 +282,7 @@ def test_from_randomness_with_unsupported_type_raises(unsupported_type): a type it cannot compute a randomness value from. """ with pytest.raises(ValueError):...
Fix copy pasta bug in from_randomness tests.
py
diff --git a/Lib/fontParts/base/layer.py b/Lib/fontParts/base/layer.py index <HASH>..<HASH> 100644 --- a/Lib/fontParts/base/layer.py +++ b/Lib/fontParts/base/layer.py @@ -220,9 +220,9 @@ class _BaseGlyphVendor(BaseObject): The data that will be inserted from **glyph** is the same data as documented in...
check the name arg first before normalizing
py
diff --git a/salt/states/file.py b/salt/states/file.py index <HASH>..<HASH> 100644 --- a/salt/states/file.py +++ b/salt/states/file.py @@ -2524,7 +2524,10 @@ def append(name, check_res, check_msg = _check_file(name) if not check_res: - return _error(ret, check_msg) + touch(name, makedirs=True)...
Try to create a file when appending if it doesn't exist.
py
diff --git a/pandasqt/CustomDelegates.py b/pandasqt/CustomDelegates.py index <HASH>..<HASH> 100644 --- a/pandasqt/CustomDelegates.py +++ b/pandasqt/CustomDelegates.py @@ -47,7 +47,7 @@ def setDelegatesFromDtype(tableView): delegate = CustomDoubleSpinboxDelegate(floatInfo.min, floatInfo.max, decimals=mo...
fixed bug which overwrites default datetime delegate
py
diff --git a/examples/recurrent-sinusoid.py b/examples/recurrent-sinusoid.py index <HASH>..<HASH> 100644 --- a/examples/recurrent-sinusoid.py +++ b/examples/recurrent-sinusoid.py @@ -25,7 +25,7 @@ logging.info('data batches: %s -> %s', src.shape, tgt.shape) e = theanets.Experiment( theanets.recurrent.Regressor,...
Demonstrate use of "rates" in RNN sinusoid example.
py
diff --git a/commands/botsnack.py b/commands/botsnack.py index <HASH>..<HASH> 100755 --- a/commands/botsnack.py +++ b/commands/botsnack.py @@ -2,4 +2,4 @@ def cmd(send, msg, args): if not msg: send("This tastes yummy!") else: - send(msg.title() + " tastes yummy!") + send(msg.capitalize(...
Capitalize, ahamilto lied only 1st letter capitalized
py
diff --git a/pymatgen/analysis/pourbaix_diagram.py b/pymatgen/analysis/pourbaix_diagram.py index <HASH>..<HASH> 100644 --- a/pymatgen/analysis/pourbaix_diagram.py +++ b/pymatgen/analysis/pourbaix_diagram.py @@ -32,7 +32,6 @@ try: except ImportError: tqdm = lambda x: x - __author__ = "Sai Jayaraman" __copyrigh...
cleanup and make Pbx msonable
py