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 @@ -1,7 +1,7 @@ import os from setuptools import find_packages, setup -with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme: +with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme: ...
replaces readme.md with readme.rst
py
diff --git a/ocrd/ocrd/workspace.py b/ocrd/ocrd/workspace.py index <HASH>..<HASH> 100644 --- a/ocrd/ocrd/workspace.py +++ b/ocrd/ocrd/workspace.py @@ -206,6 +206,8 @@ class Workspace(): content is not None) if content is not None and 'local_filename' not in kwargs: raise Exception("'c...
workspace.add_file: overwrite_mode → force=True (regression from 5dce<I>)
py
diff --git a/tests/influxdb/client_test_with_server.py b/tests/influxdb/client_test_with_server.py index <HASH>..<HASH> 100644 --- a/tests/influxdb/client_test_with_server.py +++ b/tests/influxdb/client_test_with_server.py @@ -180,13 +180,17 @@ class InfluxDbInstance(object): def get_logs_and_output(self): ...
workaround: last influxd master doesn't anymore store a log file unfortunately :s So don't error if it's not readable. For now keeping the code for the log file as it might be reintroduced later.
py
diff --git a/gruvi/fibers.py b/gruvi/fibers.py index <HASH>..<HASH> 100644 --- a/gruvi/fibers.py +++ b/gruvi/fibers.py @@ -112,7 +112,7 @@ class Fiber(fibers.Fiber): if not self.is_alive(): return if message is None: - message = 'Fiber.cancel()' + message = 'cancelle...
fibers: small nitpick
py
diff --git a/quantecon/models/solow/model.py b/quantecon/models/solow/model.py index <HASH>..<HASH> 100644 --- a/quantecon/models/solow/model.py +++ b/quantecon/models/solow/model.py @@ -112,7 +112,6 @@ class Model(ivp.IVP): """ # cached values self.__intensive_output = None - self.__k...
Added a private property storing an ImmutableMatrix defining the ODEs.
py
diff --git a/setuptools/tests/test_dist.py b/setuptools/tests/test_dist.py index <HASH>..<HASH> 100644 --- a/setuptools/tests/test_dist.py +++ b/setuptools/tests/test_dist.py @@ -2,6 +2,8 @@ from __future__ import unicode_literals +import io + from setuptools import Distribution from setuptools.extern.six.moves....
Open metadata file with UTF-8 decoding.
py
diff --git a/shinken/trigger_functions.py b/shinken/trigger_functions.py index <HASH>..<HASH> 100644 --- a/shinken/trigger_functions.py +++ b/shinken/trigger_functions.py @@ -75,8 +75,9 @@ def set_value(obj_ref, output=None, perfdata=None, return_code=None): if not obj: return output = output or obj....
* fixed typo "perfdata" * return_code can be 0, so specifically check for None
py
diff --git a/ec2.py b/ec2.py index <HASH>..<HASH> 100644 --- a/ec2.py +++ b/ec2.py @@ -21,7 +21,7 @@ class credentials(object): def __getitem__(self, item): item = item.upper() - return getattr(self, item[4:]) or os.environ.get(item) + return os.environ.get(item) or getattr(self, item[4:])...
Environment variables have higher priority over application level variables
py
diff --git a/openquake/calculators/hazard/classical/core.py b/openquake/calculators/hazard/classical/core.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/hazard/classical/core.py +++ b/openquake/calculators/hazard/classical/core.py @@ -506,6 +506,11 @@ class ClassicalHazardCalculator(general.BaseHazardCalcul...
fail on hazard curve failures Former-commit-id: adb<I>ec<I>c<I>d<I>e6f9f<I>
py
diff --git a/imgaug/parameters.py b/imgaug/parameters.py index <HASH>..<HASH> 100644 --- a/imgaug/parameters.py +++ b/imgaug/parameters.py @@ -90,7 +90,7 @@ def handle_discrete_param(param, name, value_range=None, tuple_to_uniform=True, check_value_range(param[0]) check_value_range(param[1]) ...
Fix tuple being accepted as list
py
diff --git a/openquake/commonlib/tests/readinput_test.py b/openquake/commonlib/tests/readinput_test.py index <HASH>..<HASH> 100644 --- a/openquake/commonlib/tests/readinput_test.py +++ b/openquake/commonlib/tests/readinput_test.py @@ -19,8 +19,8 @@ class ClosestSiteModelTestCase(unittest.TestCase): <site lon="...
Changed the mock to be compatible with old versions
py
diff --git a/MySQLdb/cursors.py b/MySQLdb/cursors.py index <HASH>..<HASH> 100644 --- a/MySQLdb/cursors.py +++ b/MySQLdb/cursors.py @@ -60,11 +60,10 @@ class BaseCursor(object): InternalError, ProgrammingError, NotSupportedError _defer_warnings = False + connection = None def __init__(self, co...
Cursor.connection is real reference
py
diff --git a/phono3py/cui/load.py b/phono3py/cui/load.py index <HASH>..<HASH> 100644 --- a/phono3py/cui/load.py +++ b/phono3py/cui/load.py @@ -454,6 +454,7 @@ def set_dataset_and_force_constants( "fc2", log_level) elif os.path.isfile("FORCES_FC3"): + # suppo...
Add a line of comment in phono3py.load
py
diff --git a/submit/views.py b/submit/views.py index <HASH>..<HASH> 100644 --- a/submit/views.py +++ b/submit/views.py @@ -528,14 +528,11 @@ It may be imported again using the import feature""" % project.name)) def make_big_string(text, filename): def is_binary(str): - return "\x00" in str or...
Fix bug---the former code returned a str instead of a dict
py
diff --git a/tile_generator/config.py b/tile_generator/config.py index <HASH>..<HASH> 100644 --- a/tile_generator/config.py +++ b/tile_generator/config.py @@ -219,7 +219,7 @@ class Config(dict): } ] if requires_docker_bosh: - version = None + version = '29.0.0' version_param = '?v=' + version if v...
Pin docker-boshrelease version. Need to have deeper changes to handle latest upstream version. See #<I>.
py
diff --git a/openfisca_france_indirect_taxation/scripts/build_coicop_legislation.py b/openfisca_france_indirect_taxation/scripts/build_coicop_legislation.py index <HASH>..<HASH> 100644 --- a/openfisca_france_indirect_taxation/scripts/build_coicop_legislation.py +++ b/openfisca_france_indirect_taxation/scripts/build_coi...
Add stub in comment for tabac
py
diff --git a/test/runtests.py b/test/runtests.py index <HASH>..<HASH> 100644 --- a/test/runtests.py +++ b/test/runtests.py @@ -1,7 +1,5 @@ #!/usr/bin/env python -import sys -import os import unittest import test_bitstring import test_bitarray @@ -9,13 +7,12 @@ import test_constbitarray import test_constbitstream...
Fixing so that it will work for Python <I>.
py
diff --git a/Lib/fontParts/base/glyph.py b/Lib/fontParts/base/glyph.py index <HASH>..<HASH> 100644 --- a/Lib/fontParts/base/glyph.py +++ b/Lib/fontParts/base/glyph.py @@ -1477,7 +1477,8 @@ class BaseGlyph(BaseObject, TransformationMixin, InterpolationMixin, self._scaleWidthBy(sX) if height: ...
Hack the super's doc into the subclass' doc.
py
diff --git a/fabfile.py b/fabfile.py index <HASH>..<HASH> 100644 --- a/fabfile.py +++ b/fabfile.py @@ -6,7 +6,7 @@ import errno from fileinput import FileInput import os import shutil -import sys +from sys import version_info from contextlib import contextmanager from uuid import uuid4 @@ -143,7 +143,7 @@ def fl...
Make black version check consistent with setup.py
py
diff --git a/src/armet/resources/model.py b/src/armet/resources/model.py index <HASH>..<HASH> 100644 --- a/src/armet/resources/model.py +++ b/src/armet/resources/model.py @@ -120,7 +120,7 @@ class BaseModel(base.BaseResource): queryset = self.model.objects.all() # Filter the queryset based on permis...
fixed a bug in resources/model.py
py
diff --git a/tests/test_get_user_config.py b/tests/test_get_user_config.py index <HASH>..<HASH> 100644 --- a/tests/test_get_user_config.py +++ b/tests/test_get_user_config.py @@ -93,3 +93,31 @@ def test_get_user_config_nonexistent(): Get config from a nonexistent ~/.cookiecutterrc file """ assert config....
Implement a test for get_user_config to accept path
py
diff --git a/salt/utils/__init__.py b/salt/utils/__init__.py index <HASH>..<HASH> 100644 --- a/salt/utils/__init__.py +++ b/salt/utils/__init__.py @@ -863,7 +863,7 @@ def subdict_match(data, expr, delim=':', regex_match=False): try: return re.match(pattern.lower(), str(target).lower()) ...
Use raw strings instead of escaped single-quotes
py
diff --git a/kechain/api.py b/kechain/api.py index <HASH>..<HASH> 100644 --- a/kechain/api.py +++ b/kechain/api.py @@ -1,6 +1,7 @@ import io import requests +import sys from kechain.query import PartSet from .globals import data @@ -24,7 +25,9 @@ def retrieve_parts(): 'activity_id': data.activity_id ...
added stderr output on failure
py
diff --git a/src/toil/test/cwl/cwlTest.py b/src/toil/test/cwl/cwlTest.py index <HASH>..<HASH> 100644 --- a/src/toil/test/cwl/cwlTest.py +++ b/src/toil/test/cwl/cwlTest.py @@ -14,12 +14,13 @@ from __future__ import absolute_import import json import os +from unittest import skip from toil.test import ToilTest, nee...
Skipping CWL test (connected to #<I>)
py
diff --git a/internetarchive/cli/ia_download.py b/internetarchive/cli/ia_download.py index <HASH>..<HASH> 100644 --- a/internetarchive/cli/ia_download.py +++ b/internetarchive/cli/ia_download.py @@ -40,7 +40,8 @@ options: -P, --search-parameters=<key:value>... Download items returned from a specified search quer...
Clarify CLI download syntax for multiple formats With the existing documentation, it wasn't clear to me how to download multiple formats at once; this PR attempts to clarify it.
py
diff --git a/tools/run_tests/artifacts/distribtest_targets.py b/tools/run_tests/artifacts/distribtest_targets.py index <HASH>..<HASH> 100644 --- a/tools/run_tests/artifacts/distribtest_targets.py +++ b/tools/run_tests/artifacts/distribtest_targets.py @@ -363,7 +363,7 @@ def targets(): RubyDistribTest('linux', ...
skil ruby <I> distrib test until protobuf adds support
py
diff --git a/python/setup.py b/python/setup.py index <HASH>..<HASH> 100644 --- a/python/setup.py +++ b/python/setup.py @@ -73,7 +73,6 @@ setup( extras_require={ ':python_version>="3.5.2"': [ 'aiohttp>=3.0.1', - 'cchardet==2.1.1', 'aiodns==1.1.1', 'yarl==1....
removed cchardet dependency from setup.py fix #<I>
py
diff --git a/uncommitted/test_integration.py b/uncommitted/test_integration.py index <HASH>..<HASH> 100644 --- a/uncommitted/test_integration.py +++ b/uncommitted/test_integration.py @@ -15,7 +15,7 @@ if sys.version_info.major > 2: else: from StringIO import StringIO -@pytest.yield_fixture(scope='module') +@pyt...
Rewrite "@yield_fixture" (py.test deprecated it)
py
diff --git a/test/testbasics.py b/test/testbasics.py index <HASH>..<HASH> 100644 --- a/test/testbasics.py +++ b/test/testbasics.py @@ -326,15 +326,15 @@ class TestBasics(unittest.TestCase): match +=1 if t == 'Ravenscar to Hull': match +=1 - if t == 'East Coast -...
Update test to suit (latest!) data
py
diff --git a/xopen.py b/xopen.py index <HASH>..<HASH> 100644 --- a/xopen.py +++ b/xopen.py @@ -220,8 +220,8 @@ def xopen(filename, mode='r', compresslevel=6): raise ImportError("Cannot open xz files: The lzma module is not available (use Python 3.3 or newer)") return lzma.open(filename, mode) elif filename.end...
Go back to using a pigz/gzip process even on Python 3 ... at least for writing. The performance benefit of doing compression in a separate process (and even multithreaded with pigz) is quite large.
py
diff --git a/src/requirementslib/models/requirements.py b/src/requirementslib/models/requirements.py index <HASH>..<HASH> 100644 --- a/src/requirementslib/models/requirements.py +++ b/src/requirementslib/models/requirements.py @@ -753,7 +753,7 @@ class VCSRequirement(FileRequirement): @property def pipfile_...
Don't include setup path in pipfile output
py
diff --git a/allennlp/training/checkpointer.py b/allennlp/training/checkpointer.py index <HASH>..<HASH> 100644 --- a/allennlp/training/checkpointer.py +++ b/allennlp/training/checkpointer.py @@ -66,7 +66,8 @@ class Checkpointer(Registrable): self._last_permanent_saved_checkpoint_time = save...
Checkpointer should check in case user deleted a serialized model (#<I>) If the user deletes an old checkpoint file, the checkpointer will crash when it also tries to delete it. This fix should prevent that.
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 @@ -116,6 +116,20 @@ test=True every 3600 seconds (every hour) until the current time is between the of 8am and 5pm. The range parameter must be a dictionary with the dat...
Adding missing docs for using cron like format for scheduler
py
diff --git a/pubsub/setup.py b/pubsub/setup.py index <HASH>..<HASH> 100644 --- a/pubsub/setup.py +++ b/pubsub/setup.py @@ -51,6 +51,7 @@ SETUP_BASE = { REQUIREMENTS = [ + 'google-cloud-core >= 0.27.0, < 0.28dev', 'google-gax >= 0.15.13, < 0.16dev', 'googleapis-common-protos[grpc] >= 1.5.2, < 2.0dev', ...
Re-add core dependency (#<I>)
py
diff --git a/yangson/instance.py b/yangson/instance.py index <HASH>..<HASH> 100644 --- a/yangson/instance.py +++ b/yangson/instance.py @@ -250,6 +250,9 @@ class InstanceNode: if isinstance(self.value, ArrayValue) and isinstance(sn, ListNode): try: inst = self.entry(0) + ...
Make Instance.add_defaults work also for empty lists.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -41,7 +41,7 @@ install_requires = [ setup( name='nodeconductor', - version='0.34.0.dev0', + version='0.34.0', author='OpenNode Team', author_email='info@opennodecloud.com', url='https://github.com/...
Preparing release <I>
py
diff --git a/spock/plugins/helpers/chat.py b/spock/plugins/helpers/chat.py index <HASH>..<HASH> 100644 --- a/spock/plugins/helpers/chat.py +++ b/spock/plugins/helpers/chat.py @@ -10,12 +10,16 @@ logger = logging.getLogger('spock') translations = {} try: - with open('en_US.lang', 'r') as trf: - for line in...
Fix chat translation string formatting by replacing all formatting with %s
py
diff --git a/src/livestreamer/plugins/weeb.py b/src/livestreamer/plugins/weeb.py index <HASH>..<HASH> 100644 --- a/src/livestreamer/plugins/weeb.py +++ b/src/livestreamer/plugins/weeb.py @@ -58,9 +58,10 @@ class Weeb(Plugin): raise PluginError("rtmpdump is not usable and required by Weeb plugin") ...
plugins.weeb: Rename streams to be more consistent with the flash player.
py
diff --git a/tests/test_request.py b/tests/test_request.py index <HASH>..<HASH> 100644 --- a/tests/test_request.py +++ b/tests/test_request.py @@ -60,9 +60,6 @@ class RequestTest(TestCase): else: request.user = self.user - if kwargs.get('remote_user', False): - request.META['HT...
Remove unnecessary code. It was already implemented in more generic form for override headers.
py
diff --git a/src/GEOparse/sra_downloader.py b/src/GEOparse/sra_downloader.py index <HASH>..<HASH> 100644 --- a/src/GEOparse/sra_downloader.py +++ b/src/GEOparse/sra_downloader.py @@ -202,9 +202,12 @@ class SRADownloader(object): sra_run = path.split("/")[-1] logger.info("Analysing %s" % sra_...
fix: Use provided URL as FTP often does not exist
py
diff --git a/metnet/sbml.py b/metnet/sbml.py index <HASH>..<HASH> 100644 --- a/metnet/sbml.py +++ b/metnet/sbml.py @@ -61,12 +61,12 @@ def parse_sbml_file(file): left = [] for species_id, value in parse_species_references(reaction, sbml_name('listOfReactants')): species_name, species_comp...
sbml: Fix reaction creation with compartments
py
diff --git a/rets/session.py b/rets/session.py index <HASH>..<HASH> 100644 --- a/rets/session.py +++ b/rets/session.py @@ -17,6 +17,7 @@ from rets.parsers.login.one_five import OneFive from rets.parsers.get_metadata.system import System from rets.parsers.get_metadata.resource import Resource from rets.models.bulleti...
Session now instanciates its own configuration object and takes login_url, username, password, user_agent, user_agent_password, and version as parameters of the constructor.
py
diff --git a/tests/test_utils.py b/tests/test_utils.py index <HASH>..<HASH> 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -1,5 +1,5 @@ import json -from jwt import base64url_decode +import base64 from django.contrib.auth import get_user_model from django.test import TestCase @@ -8,6 +8,15 @@ from r...
Don’t depend on old private PyJWT API base<I>url_decode wasn’t meant to be public API and has since been moved.
py
diff --git a/umap/umap_.py b/umap/umap_.py index <HASH>..<HASH> 100644 --- a/umap/umap_.py +++ b/umap/umap_.py @@ -133,6 +133,9 @@ class UMAP (BaseEstimator): or 'coo'. """ + # Handle other array dtypes (TODO: do this properly) + X = X.astype(np.float64) + graph = fuzzy_si...
Temporary hack to support other input dtypes.
py
diff --git a/isochrones/starmodel.py b/isochrones/starmodel.py index <HASH>..<HASH> 100644 --- a/isochrones/starmodel.py +++ b/isochrones/starmodel.py @@ -1279,7 +1279,7 @@ class BinaryStarModel(StarModel): """ fig1 = self.triangle(plot_datapoints=False, - par...
added logg to Binary and Triple triangleplots
py
diff --git a/safe/reportv4/test/test_impact_report.py b/safe/reportv4/test/test_impact_report.py index <HASH>..<HASH> 100644 --- a/safe/reportv4/test/test_impact_report.py +++ b/safe/reportv4/test/test_impact_report.py @@ -53,6 +53,9 @@ class TestImpactReport(unittest.TestCase): actual_string = actual_file...
disable test which is not reading definition for the expected result
py
diff --git a/ipyrad/__main__.py b/ipyrad/__main__.py index <HASH>..<HASH> 100644 --- a/ipyrad/__main__.py +++ b/ipyrad/__main__.py @@ -132,6 +132,7 @@ def branch_assembly(args, parsedict): ## Get the current assembly data = getassembly(args, parsedict) + ## get arguments to branch command bargs = ...
A note to add a feature for the future.
py
diff --git a/arch/zx48k/translator.py b/arch/zx48k/translator.py index <HASH>..<HASH> 100644 --- a/arch/zx48k/translator.py +++ b/arch/zx48k/translator.py @@ -632,18 +632,18 @@ class Translator(TranslatorVisitor): continue_loop = backend.tmp_label() if node.token == 'UNTIL_DO': - self.emi...
Refactorice UNTIL DO visit
py
diff --git a/holoviews/plotting/mpl/plot.py b/holoviews/plotting/mpl/plot.py index <HASH>..<HASH> 100644 --- a/holoviews/plotting/mpl/plot.py +++ b/holoviews/plotting/mpl/plot.py @@ -107,13 +107,10 @@ class MPLPlot(DimensionedPlot): self.handles['fig'] = fig self.handles['axis'] = axis - if n...
Removed deprecation warning for finalize_hooks
py
diff --git a/grip/readers.py b/grip/readers.py index <HASH>..<HASH> 100644 --- a/grip/readers.py +++ b/grip/readers.py @@ -160,7 +160,7 @@ class DirectoryReader(ReadmeReader): Gets whether the specified subpath is a supported binary file. """ mimetype = self.mimetype_for(subpath) - ret...
Return False, not None from DirectoryReader.is_binary.
py
diff --git a/salt/utils/jinja.py b/salt/utils/jinja.py index <HASH>..<HASH> 100644 --- a/salt/utils/jinja.py +++ b/salt/utils/jinja.py @@ -176,7 +176,7 @@ class SerializerExtension(Extension, object): try: return yaml.load(value) except AttributeError: - raise TemplateRuntimeEr...
make it works for python <I>
py
diff --git a/gooey/python_bindings/gooey_parser.py b/gooey/python_bindings/gooey_parser.py index <HASH>..<HASH> 100644 --- a/gooey/python_bindings/gooey_parser.py +++ b/gooey/python_bindings/gooey_parser.py @@ -68,6 +68,11 @@ class GooeyParser(object): self.__dict__['parser'] = ArgumentParser(**kwargs) ...
Copy widgets and their configuration from parent parsers. Resolves #<I>
py
diff --git a/tests/run_tests.py b/tests/run_tests.py index <HASH>..<HASH> 100644 --- a/tests/run_tests.py +++ b/tests/run_tests.py @@ -1,7 +1,11 @@ # run_tests.py +import os import unittest as unittest - -if __name__ == "__main__": - all_tests = unittest.TestLoader().discover('.', pattern='test*.py') - unitt...
run_tests is simple script instead of __main__ call for coverage issue
py
diff --git a/vyked/bus.py b/vyked/bus.py index <HASH>..<HASH> 100644 --- a/vyked/bus.py +++ b/vyked/bus.py @@ -56,6 +56,7 @@ class Bus: self._host_id = unique_hex() self._pubsub_handler = None self._ronin = False + self._registered = False @property def ronin(self): @@ -229...
process registeration only once if dual hosted
py
diff --git a/ella/polls/models.py b/ella/polls/models.py index <HASH>..<HASH> 100644 --- a/ella/polls/models.py +++ b/ella/polls/models.py @@ -427,6 +427,9 @@ class Result(models.Model): """ return self.count*100/self.total() + def get_text(self): + return mark_safe( u'%s' % self.text ) + ...
polls.Result.text mark_safed in get_text method
py
diff --git a/tests/pytests/functional/modules/state/test_state.py b/tests/pytests/functional/modules/state/test_state.py index <HASH>..<HASH> 100644 --- a/tests/pytests/functional/modules/state/test_state.py +++ b/tests/pytests/functional/modules/state/test_state.py @@ -670,6 +670,7 @@ def test_retry_option(state, stat...
Mark test_state_retry as flaky
py
diff --git a/pypeerassets/__main__.py b/pypeerassets/__main__.py index <HASH>..<HASH> 100644 --- a/pypeerassets/__main__.py +++ b/pypeerassets/__main__.py @@ -17,7 +17,6 @@ def find_all_valid_decks(provider, prod=True) -> list: :test True/False - test or production P2TH ''' - decks = [] deck_spawns ...
find_all_valid_decks: behave as a generator rather than using internal list of decks.
py
diff --git a/cumulusci/tasks/robotframework/tests/test_robotframework.py b/cumulusci/tasks/robotframework/tests/test_robotframework.py index <HASH>..<HASH> 100644 --- a/cumulusci/tasks/robotframework/tests/test_robotframework.py +++ b/cumulusci/tasks/robotframework/tests/test_robotframework.py @@ -594,7 +594,7 @@ class...
Move responses.activate into shared function
py
diff --git a/generate_build_id.py b/generate_build_id.py index <HASH>..<HASH> 100644 --- a/generate_build_id.py +++ b/generate_build_id.py @@ -14,4 +14,4 @@ # limitations under the License. ############################################################################### import datetime -print (datetime.datetime.now()...
Add time to build id for consistency with prebuilt binaries Previously supplied prebuilt binaries used a longer build id than generate_build_id.py that included 4 digits for the time. In order for standalone builds to have consistent build ids this commit changes generate_build_id.py to match.
py
diff --git a/barf/core/smt/smtsymbol.py b/barf/core/smt/smtsymbol.py index <HASH>..<HASH> 100644 --- a/barf/core/smt/smtsymbol.py +++ b/barf/core/smt/smtsymbol.py @@ -23,13 +23,9 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -def cast_bool(value): - return Bool(str(value).lower()) - ...
Refactor smtsymbol method
py
diff --git a/bliss/core/seq.py b/bliss/core/seq.py index <HASH>..<HASH> 100644 --- a/bliss/core/seq.py +++ b/bliss/core/seq.py @@ -56,7 +56,7 @@ class Seq (object): self.pathname = pathname self.cmddict = cmddict or cmd.getDefaultCmdDict() self.crc32 = None - self.seqid = id + self.seqid...
Issue #<I>: Update seq.py to more gracefully handle errors
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -64,8 +64,8 @@ setup_requires = [ ] install_requires = [ + 'Flask>=0.11.1', 'Flask-BabelEx>=0.9.2', - 'Flask-CLI>=0.2.1', 'Flask-Login>=0.3.2', 'invenio-indexer>=1.0.0a3', 'invenio-jsonschemas>=1....
installation: Flask>=<I> * Removed dependency on Flask-CLI.
py
diff --git a/imgui/integrations/sdl2.py b/imgui/integrations/sdl2.py index <HASH>..<HASH> 100644 --- a/imgui/integrations/sdl2.py +++ b/imgui/integrations/sdl2.py @@ -26,9 +26,17 @@ class SDL2Renderer(ProgrammablePipelineRenderer): SDL_GetWindowSize(self.window, width_ptr, height_ptr) self.io.displa...
Add system clipboard support to sdl2 integration
py
diff --git a/lib/obsbandpass.py b/lib/obsbandpass.py index <HASH>..<HASH> 100644 --- a/lib/obsbandpass.py +++ b/lib/obsbandpass.py @@ -43,6 +43,9 @@ class ObsModeBandpass(CompositeSpectralElement): self.obsmode=ob self.name=self.obsmode._obsmode #str(self.obsmode) + #Check for valid bounds + ...
#<I>: Verify that the throughput resulting from this obsmode goes to zero at both ends. If not, print a warning. git-svn-id: <URL>
py
diff --git a/djangui/backend/utils.py b/djangui/backend/utils.py index <HASH>..<HASH> 100644 --- a/djangui/backend/utils.py +++ b/djangui/backend/utils.py @@ -337,10 +337,11 @@ def create_job_fileinfo(job): try: try: preview = group_file.get('preview') + ...
handle json errors for filepreviews
py
diff --git a/tools/oqbugs.py b/tools/oqbugs.py index <HASH>..<HASH> 100644 --- a/tools/oqbugs.py +++ b/tools/oqbugs.py @@ -171,6 +171,7 @@ def arg_parse(): # custom argparse actions args, remaining_argv = parser.parse_known_args() + # after partial check, force -t/--time as required parameter parser...
at least one mutually exclusive option is required Former-commit-id: <I>a0ab<I>dd<I>cef6e<I>fa3f6ff<I>f<I>b<I>
py
diff --git a/smart_open/smart_open_lib.py b/smart_open/smart_open_lib.py index <HASH>..<HASH> 100644 --- a/smart_open/smart_open_lib.py +++ b/smart_open/smart_open_lib.py @@ -145,6 +145,8 @@ class ParseUri(object): if self.scheme == "hdfs": self.uri_path = parsed_uri.netloc + parsed_uri.path + ...
bugfix in hdfs read
py
diff --git a/pysat/tests/test_utils.py b/pysat/tests/test_utils.py index <HASH>..<HASH> 100644 --- a/pysat/tests/test_utils.py +++ b/pysat/tests/test_utils.py @@ -235,6 +235,22 @@ class TestIfyFunctions(object): utils.testing.assert_lists_equal(new_iterable, tst_iterable) return + @pytest.mark.pa...
TST: added listify unit test Added a listify unit test ensuring dict_keys and dict_values behave as expected, and are not correctly handled by listify.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -29,7 +29,7 @@ setup( setup_requires=pytest_runner + wheel + ["setuptools_scm"], tests_require=["pytest>=2.8"], install_requires=[ - "fonttools[ufo]>=4.26.1", + "fonttools[ufo]>=4.28.5", "...
setup.py: bump minimum fonttools version to latest <I> includes several bugfixes since <I>
py
diff --git a/cmd2.py b/cmd2.py index <HASH>..<HASH> 100755 --- a/cmd2.py +++ b/cmd2.py @@ -2087,9 +2087,9 @@ class Cmd(cmd.Cmd): # Join all matches into 1 string for ease of searching all_matches_str = ''.join(self.completion_matches) - # If the...
Correcting when to add an opening quote
py
diff --git a/pypsa/pf.py b/pypsa/pf.py index <HASH>..<HASH> 100644 --- a/pypsa/pf.py +++ b/pypsa/pf.py @@ -532,7 +532,7 @@ def sub_network_pf(sub_network, snapshots=None, skip_pre=False, x_tol=1e-6, use_ #let slack generator take up the slack if distribute_slack: - distributed_slack_power = network.b...
pf: fix typo from p_set to p
py
diff --git a/synapse/cores/common.py b/synapse/cores/common.py index <HASH>..<HASH> 100644 --- a/synapse/cores/common.py +++ b/synapse/cores/common.py @@ -839,10 +839,10 @@ class Cortex(EventBus): tufo = (iden,props) - self.fire('tufo:add', tufo=tufo) - self.fire('tufo:add:%s' % f...
fire tufo:add outside the lock to allow tufo:add handlers to add tufos
py
diff --git a/slickqa/data.py b/slickqa/data.py index <HASH>..<HASH> 100644 --- a/slickqa/data.py +++ b/slickqa/data.py @@ -32,7 +32,8 @@ class Configuration(micromodels.Model): reference = ConfigurationReference() reference.configId = self.id reference.name = self.name - reference.file...
fixing an issue where a Configuration may not have a filename
py
diff --git a/bcbio/heterogeneity/phylowgs.py b/bcbio/heterogeneity/phylowgs.py index <HASH>..<HASH> 100644 --- a/bcbio/heterogeneity/phylowgs.py +++ b/bcbio/heterogeneity/phylowgs.py @@ -68,7 +68,7 @@ def _gids_to_genes(gids, ssm_locs, cnv_ssms, data): locs[chrom].add(pos) genes = set([]) with tx...
Handle hg<I> when working with dealing with PhyloWGS output, which uses GRCh<I> contigs
py
diff --git a/bolt/about.py b/bolt/about.py index <HASH>..<HASH> 100644 --- a/bolt/about.py +++ b/bolt/about.py @@ -8,4 +8,4 @@ A task runner written in Python copyright = u'2016 Abantos' author = u'Isaac Rodriguez' version = u'0.2' -release = u'0.2.5' +release = u'0.2.6'
Updated version to <I> to create new release
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -22,7 +22,6 @@ setup( packages=find_packages(), include_package_data=True, license='MIT License', - install_requires=["django>=1.7"], classifiers=[ 'Development Status :: 4 - Beta', 'En...
Removed django dependency as it can cause problems (eg.: unwanted django upgrade)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -5,6 +5,7 @@ from setuptools import setup, find_packages import tomodachi.__version__ install_requires = [ + 'pycparser=>2.18', 'aioamqp>=0.10.0, <0.11.0', 'ujson>=1.35', 'uvloop>=0.8.1',
Added pycparser to setup.py
py
diff --git a/taskw/test/test_datas.py b/taskw/test/test_datas.py index <HASH>..<HASH> 100644 --- a/taskw/test/test_datas.py +++ b/taskw/test/test_datas.py @@ -498,6 +498,21 @@ class TestDBShellout(_BaseTestDB): }) eq_(len(tasks), 0) + def test_filtering_logic_conjunction_junction_whats_your_funct...
Adding another failed test for filtering of exported tasks.
py
diff --git a/python/jsbeautifier/javascript/tokenizer.py b/python/jsbeautifier/javascript/tokenizer.py index <HASH>..<HASH> 100644 --- a/python/jsbeautifier/javascript/tokenizer.py +++ b/python/jsbeautifier/javascript/tokenizer.py @@ -217,9 +217,9 @@ class Tokenizer(BaseTokenizer): token = self._create_tok...
Formatting consistent with the rest of the file.
py
diff --git a/pymatgen/io/exciting/tests/test_inputs.py b/pymatgen/io/exciting/tests/test_inputs.py index <HASH>..<HASH> 100644 --- a/pymatgen/io/exciting/tests/test_inputs.py +++ b/pymatgen/io/exciting/tests/test_inputs.py @@ -117,7 +117,7 @@ class ExcitingInputTest(PymatgenTest): 'BSE': {'bs...
Update test with new paramdict kwarg format
py
diff --git a/cosmic_ray/testing/test_runner.py b/cosmic_ray/testing/test_runner.py index <HASH>..<HASH> 100644 --- a/cosmic_ray/testing/test_runner.py +++ b/cosmic_ray/testing/test_runner.py @@ -41,10 +41,10 @@ class TestRunner(metaclass=abc.ABCMeta): raise NotImplemented() def __call__(self): - ...
Cleaned up the docstring for WorkDB.__call__().
py
diff --git a/salesforce/backend/operations.py b/salesforce/backend/operations.py index <HASH>..<HASH> 100644 --- a/salesforce/backend/operations.py +++ b/salesforce/backend/operations.py @@ -12,16 +12,18 @@ import itertools from salesforce import DJANGO_18_PLUS, DJANGO_19_PLUS from salesforce.models import Defaulte...
Adjusted bulk_batch_size() corresponding to the selected API
py
diff --git a/gwpy/spectrogram/core.py b/gwpy/spectrogram/core.py index <HASH>..<HASH> 100644 --- a/gwpy/spectrogram/core.py +++ b/gwpy/spectrogram/core.py @@ -472,8 +472,8 @@ class Spectrogram(Array2D): raise TypeError("Spectrogram.filter() got an unexpected keyword " "argument...
Spectrogram.filter: avoid overflows in filtering DC offset of 1e-<I> causes numerical overflows, so just use f[1] / <I>.
py
diff --git a/flux_led/__main__.py b/flux_led/__main__.py index <HASH>..<HASH> 100755 --- a/flux_led/__main__.py +++ b/flux_led/__main__.py @@ -606,7 +606,7 @@ class WifiLedBulb: mode = "RGB" elif mode_code == 0x04: mode = "RGBW" - elif mode_code == 0x05: + ...
Add type "<I>" RGBWW support
py
diff --git a/pypeerassets/__init__.py b/pypeerassets/__init__.py index <HASH>..<HASH> 100644 --- a/pypeerassets/__init__.py +++ b/pypeerassets/__init__.py @@ -1 +1,3 @@ -from pypeerassets.kutil import Kutil \ No newline at end of file +from pypeerassets.kutil import Kutil +from pypeerassets.providers.node import RpcNod...
expose RpcNode and mock providers
py
diff --git a/hydpy/models/evap/evap_model.py b/hydpy/models/evap/evap_model.py index <HASH>..<HASH> 100644 --- a/hydpy/models/evap/evap_model.py +++ b/hydpy/models/evap/evap_model.py @@ -934,13 +934,20 @@ class Calc_NetLongwaveRadiation_V1(modeltools.Method): >>> derived.nmblogentries(1) >>> inputs.ai...
Add a missing doctest to method `Calc_NetLongwaveRadiation_V1` of module `evap_model`.
py
diff --git a/analyze_2d/sampler_helpers.py b/analyze_2d/sampler_helpers.py index <HASH>..<HASH> 100644 --- a/analyze_2d/sampler_helpers.py +++ b/analyze_2d/sampler_helpers.py @@ -47,7 +47,7 @@ def generate_view_cluster_hyper_posterior(p_State, view_idx): def generate_column_sample(random_state, p_State, view_idx, col_...
fix bug in student_t draw generator, may still have issues with nu / 2. in denominator
py
diff --git a/src/toil/statsAndLogging.py b/src/toil/statsAndLogging.py index <HASH>..<HASH> 100644 --- a/src/toil/statsAndLogging.py +++ b/src/toil/statsAndLogging.py @@ -112,9 +112,10 @@ class StatsAndLogging( object ): pass else: def logWithFormatting(jobStoreID, jobLogs...
Handle worker logs one line at a time Fixes #<I>. As a side effect, the "---TOIL WORKER OUTPUT LOG---" line is now prefixed by the job name. Otherwise, the output is (hopefully) identical.
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -132,7 +132,7 @@ html_theme_options = { 'travis_button': True, 'analytics_id': os.getenv('GOOGLE_ANALYTICS_ID', "no-google-analytics"), 'extra_nav_links': { - "Home Page": 'https://www.cha...
Update the charlesbot website URL It is now being served off the apex domain, with appropriate old redirects in place.
py
diff --git a/wafer/pages/serializers.py b/wafer/pages/serializers.py index <HASH>..<HASH> 100644 --- a/wafer/pages/serializers.py +++ b/wafer/pages/serializers.py @@ -1,3 +1,5 @@ +from django.contrib.auth import get_user_model + from rest_framework import serializers from reversion import revisions @@ -6,6 +8,10 @@...
Add people and other fields to page update options
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -32,7 +32,7 @@ setup( license='GPL v3', classifiers=[ 'Development Status :: 4 - Beta', - 'Environment :: Console' + 'Environment :: Console', 'Intended Audience :: Developers', ...
Forgot a comma in classifiers list
py
diff --git a/scrapelib/__init__.py b/scrapelib/__init__.py index <HASH>..<HASH> 100644 --- a/scrapelib/__init__.py +++ b/scrapelib/__init__.py @@ -269,12 +269,9 @@ class Scraper(object): self._request_frequency = 0.0 self._last_request = 0 - def accept_response(self, response): - r...
retry_on_<I> and custom accept_response don't play nicely
py
diff --git a/src/feat/common/resolver.py b/src/feat/common/resolver.py index <HASH>..<HASH> 100644 --- a/src/feat/common/resolver.py +++ b/src/feat/common/resolver.py @@ -1,7 +1,8 @@ import socket from twisted.names import dns, client, resolve, cache, hosts as hostsModule -from twisted.internet import error +from t...
Catch and repack DNSNameError. The error returned by the resolver from twisted.names raises an expection specific to the implementation. It leaks out the interface.
py
diff --git a/seed_identity_store/settings.py b/seed_identity_store/settings.py index <HASH>..<HASH> 100644 --- a/seed_identity_store/settings.py +++ b/seed_identity_store/settings.py @@ -220,7 +220,7 @@ CELERY_TASK_SERIALIZER = 'json' CELERY_RESULT_SERIALIZER = 'json' CELERY_ACCEPT_CONTENT = ['json'] CELERY_IGNORE_R...
Reduced default to <I>
py
diff --git a/demosys/effects/managers.py b/demosys/effects/managers.py index <HASH>..<HASH> 100644 --- a/demosys/effects/managers.py +++ b/demosys/effects/managers.py @@ -29,7 +29,6 @@ class SingleEffectManager(BaseEffectManger): """Init after context creations""" effect_list = [cfg.cls() for name, cf...
Don't call init() on new effect instances
py
diff --git a/gwpy/plotter/timeseries.py b/gwpy/plotter/timeseries.py index <HASH>..<HASH> 100644 --- a/gwpy/plotter/timeseries.py +++ b/gwpy/plotter/timeseries.py @@ -27,11 +27,7 @@ from matplotlib.projections import register_projection from matplotlib.artist import allow_rasterization from matplotlib.cbook import it...
plotter.timeseries: simplified import axes_grid1 is everywhere
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -72,7 +72,10 @@ setup( "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", + "Programming Language :: Python :: 3.6", + "Pr...
[setup] restrict python version on setup itself > <I> < 4 (#<I>)
py
diff --git a/pyrogram/__init__.py b/pyrogram/__init__.py index <HASH>..<HASH> 100644 --- a/pyrogram/__init__.py +++ b/pyrogram/__init__.py @@ -16,7 +16,7 @@ # You should have received a copy of the GNU Lesser General Public License # along with Pyrogram. If not, see <http://www.gnu.org/licenses/>. -__version__ =...
Update Pyrogram to <I>
py
diff --git a/grimoire/utils.py b/grimoire/utils.py index <HASH>..<HASH> 100755 --- a/grimoire/utils.py +++ b/grimoire/utils.py @@ -102,12 +102,9 @@ def get_params(connectors): # And now a specific param to do the update until process termination parser.add_argument("--loop", action='store_true', ...
Added redis param to specify where the redis server is running.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -23,7 +23,7 @@ setuptools.setup( "oathtool", "pandas>=1.0", "requests", - "selenium<4.0.0", + "selenium<5.0.0", "selenium-requests>=1.3.3", "xmltodict", "keyr...
Update selenium dependency version (#<I>) The <<I> restriction was to satisfy the version requirements of selenium_requests. selenium_requests now supports selenium <I> as of the <I> release.
py