diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/core/dbt/exceptions.py b/core/dbt/exceptions.py index <HASH>..<HASH> 100644 --- a/core/dbt/exceptions.py +++ b/core/dbt/exceptions.py @@ -236,7 +236,6 @@ class VersionsNotCompatibleException(SemverException): class NotImplementedException(Exception): - CODE = 10010 MESSAGE = "ERROR: this is no...
removed CODE from NotImplementedException class
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 @@ -76,10 +76,6 @@ IMT_CHOICES = ( (u'MMI', u'Modified Mercalli Intensity'), ) -#: Default Loss Curve Resolution used for probabilistic r...
Remove the loss_curve_resolution default, since it is done in commonlib.readinput
py
diff --git a/cloudvolume/datasource/graphene/mesh/sharded.py b/cloudvolume/datasource/graphene/mesh/sharded.py index <HASH>..<HASH> 100644 --- a/cloudvolume/datasource/graphene/mesh/sharded.py +++ b/cloudvolume/datasource/graphene/mesh/sharded.py @@ -149,13 +149,9 @@ class GrapheneShardedMeshSource(GrapheneUnshardedMes...
fix: incompatibility between inital and dynamic meshes (#<I>)
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 @@ -84,7 +84,7 @@ def test_utils_get_browsers(): for _, percentage in browsers: total -= float(percentage) - assert round(total, 0) <= 1 + assert round(total, 0) <...
Allow up to 2 percents of unknown browsers.
py
diff --git a/nodeshot/conf/settings.py b/nodeshot/conf/settings.py index <HASH>..<HASH> 100755 --- a/nodeshot/conf/settings.py +++ b/nodeshot/conf/settings.py @@ -141,6 +141,10 @@ if 'old_nodeshot' in settings.DATABASES: 'nodeshot.interop.oldimporter.db.OldNodeshotRouter' ] +# ------ FILEBROWSER ------ ...
Filebrowser can see everything in MEDIA_ROOT by default
py
diff --git a/saspy/sasproccommons.py b/saspy/sasproccommons.py index <HASH>..<HASH> 100644 --- a/saspy/sasproccommons.py +++ b/saspy/sasproccommons.py @@ -486,8 +486,11 @@ class SASProcCommons: else: inputs = {'interval': input_list} - kwargs['input'] = inputs - kwargs['target'] = ...
minor fix to not add nominal dictionaries that are None
py
diff --git a/dimod/constrained.py b/dimod/constrained.py index <HASH>..<HASH> 100644 --- a/dimod/constrained.py +++ b/dimod/constrained.py @@ -627,7 +627,7 @@ class ConstrainedQuadraticModel: >>> cqm.set_objective(2*i - 0.5*i*j + 10) """ - if not isinstance(objective, [BinaryQuadraticMode...
revert back to isinstance to avoid referrencing deprecated AdjVectorBQM
py
diff --git a/cheroot/server.py b/cheroot/server.py index <HASH>..<HASH> 100644 --- a/cheroot/server.py +++ b/cheroot/server.py @@ -131,8 +131,11 @@ if not hasattr(logging, 'statistics'): logging.statistics = {} -def read_headers(rfile, hdict=None): - """Read headers from the given stream into the given head...
Replace read_headers function with a HeaderReader class.
py
diff --git a/bot/action/util/format.py b/bot/action/util/format.py index <HASH>..<HASH> 100644 --- a/bot/action/util/format.py +++ b/bot/action/util/format.py @@ -117,6 +117,35 @@ class UserFormatter: class ChatFormatter: + def __init__(self, chat): + self.chat = chat + + @property + def full_data(...
Add full_data property to ChatFormatter
py
diff --git a/uncommitted/command.py b/uncommitted/command.py index <HASH>..<HASH> 100644 --- a/uncommitted/command.py +++ b/uncommitted/command.py @@ -62,8 +62,10 @@ def status_mercurial(path, ignore_set): def status_git(path, ignore_set): """Return text lines describing the status of a Git repository.""" - ...
Also display whether git has unpushed commits
py
diff --git a/metpy/calc/thermo.py b/metpy/calc/thermo.py index <HASH>..<HASH> 100644 --- a/metpy/calc/thermo.py +++ b/metpy/calc/thermo.py @@ -42,7 +42,8 @@ def potential_temperature(pressure, temperature): Examples -------- - >>> metpy.calc.potential_temperature(800. * metpy.units.mbar, 273. * metpy.uni...
Fix use of units in potential_temperature example.
py
diff --git a/bcbio/pipeline/config_utils.py b/bcbio/pipeline/config_utils.py index <HASH>..<HASH> 100644 --- a/bcbio/pipeline/config_utils.py +++ b/bcbio/pipeline/config_utils.py @@ -333,11 +333,11 @@ def convert_to_bytes(mem_str): """Convert a memory specification, potentially with M or G, into bytes. """ ...
Allow fractional memory specifications (e.g., <I>G) in convert_to_bytes().
py
diff --git a/hellosign_sdk/tests/test_helper.sample.py b/hellosign_sdk/tests/test_helper.sample.py index <HASH>..<HASH> 100644 --- a/hellosign_sdk/tests/test_helper.sample.py +++ b/hellosign_sdk/tests/test_helper.sample.py @@ -1,6 +1,13 @@ import logging import os +# NOTE: Setup instructions +# Before running the t...
Added instructions for pre-test setup
py
diff --git a/tensorflow_datasets/image/places365_small.py b/tensorflow_datasets/image/places365_small.py index <HASH>..<HASH> 100644 --- a/tensorflow_datasets/image/places365_small.py +++ b/tensorflow_datasets/image/places365_small.py @@ -15,7 +15,7 @@ _TRAIN_URL = "train_256_places365standard.tar" _TEST_URL = "test_2...
Added dataset for Places<I> small --issue-<I>
py
diff --git a/setuptools/monkey.py b/setuptools/monkey.py index <HASH>..<HASH> 100644 --- a/setuptools/monkey.py +++ b/setuptools/monkey.py @@ -66,8 +66,6 @@ def patch_all(): (3, 4) < sys.version_info < (3, 4, 6) or (3, 5) < sys.version_info <= (3, 5, 3) - or - (3, 6) < sys.versi...
Remove incorrect open bound on <I> or later for warehouse patch.
py
diff --git a/talon/quotations.py b/talon/quotations.py index <HASH>..<HASH> 100644 --- a/talon/quotations.py +++ b/talon/quotations.py @@ -23,7 +23,7 @@ log = logging.getLogger(__name__) RE_FWD = re.compile("^[-]+[ ]*Forwarded message[ ]*[-]+$", re.I | re.M) RE_ON_DATE_SMB_WROTE = re.compile( - u'(-*[ ]?({0})[ ]...
For patterns like this '---- On {date} {name} {mail} wrote ---- '
py
diff --git a/fsevents.py b/fsevents.py index <HASH>..<HASH> 100644 --- a/fsevents.py +++ b/fsevents.py @@ -33,6 +33,10 @@ IN_DELETE = 0x00000200 IN_MOVED_FROM = 0x00000040 IN_MOVED_TO = 0x00000080 +if sys.version_info[0] >= 3: + unicode = str + + def check_path_string_type(*paths): for path in paths: ...
Fix Python 3 compatibility issue This closes issue #<I>.
py
diff --git a/src/rezplugins/shell/cmd.py b/src/rezplugins/shell/cmd.py index <HASH>..<HASH> 100644 --- a/src/rezplugins/shell/cmd.py +++ b/src/rezplugins/shell/cmd.py @@ -77,7 +77,7 @@ class CMD(Shell): # detect system paths using registry def gen_expected_regex(parts): - whitespace = "[\...
Fix deprecation warning in regex due to invalid escape sequence.
py
diff --git a/bcbio/utils.py b/bcbio/utils.py index <HASH>..<HASH> 100644 --- a/bcbio/utils.py +++ b/bcbio/utils.py @@ -14,31 +14,16 @@ try: from multiprocessing.pool import IMapIterator except ImportError: multiprocessing = None -try: - ipclient = None - #with warnings.catch_warnings(): - # warni...
Pull out ipython code which doesn't work in favor of upcoming message passing approach
py
diff --git a/juju/client/connector.py b/juju/client/connector.py index <HASH>..<HASH> 100644 --- a/juju/client/connector.py +++ b/juju/client/connector.py @@ -69,6 +69,8 @@ class Connector: assert self._connection self._log_connection = await Connection.connect(**kwargs) else: + ...
Avoid releasing connection without disconnecting first
py
diff --git a/http.py b/http.py index <HASH>..<HASH> 100644 --- a/http.py +++ b/http.py @@ -2,7 +2,7 @@ import requests api_url = 'http://www.ekpogo.uk/api/trainer/' -def request_status(r): +def request_status(r, detailed=False): """Returns a formatted string about the status, useful for logging. args: @@ -1...
Debugged debugging tools so bugs are de'd
py
diff --git a/test_duct.py b/test_duct.py index <HASH>..<HASH> 100644 --- a/test_duct.py +++ b/test_duct.py @@ -228,7 +228,8 @@ def test_commands_can_be_paths(): with path.open('w') as f: if os.name == 'nt': f.write('@echo off\n') - # This line by itself is valid on Linu...
oops, last commit broke Linux
py
diff --git a/b3j0f/schema/utils.py b/b3j0f/schema/utils.py index <HASH>..<HASH> 100644 --- a/b3j0f/schema/utils.py +++ b/b3j0f/schema/utils.py @@ -138,9 +138,13 @@ def data2schema( datatype = type(fdata) + content = getattr(fdata, '__dict__', {}) + if _buildkwargs: + content.udpate(_buildkwargs) +...
:fix: schema generation from a data
py
diff --git a/sc2/helpers/control_group.py b/sc2/helpers/control_group.py index <HASH>..<HASH> 100644 --- a/sc2/helpers/control_group.py +++ b/sc2/helpers/control_group.py @@ -15,14 +15,14 @@ class ControlGroup(set): def empty(self): return self.amount == 0 - def add_unit(self, units): + def add_un...
Fixed typo in control_group.py There was a typo in the add_unit and remove_unit methods
py
diff --git a/consensus/poet/sgx/setup.py b/consensus/poet/sgx/setup.py index <HASH>..<HASH> 100644 --- a/consensus/poet/sgx/setup.py +++ b/consensus/poet/sgx/setup.py @@ -166,6 +166,7 @@ setup(name='sawtooth-poet-sgx', install_requires=[ 'toml', 'ecdsa', + 'sawtooth-ias-client', ...
Fix sawtooth-poet-sgx package to be dependent upon sawtooth-ias-client
py
diff --git a/tornado_mysql/connections.py b/tornado_mysql/connections.py index <HASH>..<HASH> 100644 --- a/tornado_mysql/connections.py +++ b/tornado_mysql/connections.py @@ -722,7 +722,7 @@ class Connection(object): if self.unix_socket and self.host in ('localhost', '127.0.0.1'): sock = s...
Add unix socket path to Connection.host_info
py
diff --git a/spyder/plugins/variableexplorer/widgets/arrayeditor.py b/spyder/plugins/variableexplorer/widgets/arrayeditor.py index <HASH>..<HASH> 100644 --- a/spyder/plugins/variableexplorer/widgets/arrayeditor.py +++ b/spyder/plugins/variableexplorer/widgets/arrayeditor.py @@ -859,10 +859,13 @@ class ArrayEditor(QDial...
Update to handle runtimeerror on win
py
diff --git a/urwid_datatable/datatable.py b/urwid_datatable/datatable.py index <HASH>..<HASH> 100644 --- a/urwid_datatable/datatable.py +++ b/urwid_datatable/datatable.py @@ -1557,14 +1557,21 @@ class DataTable(urwid.WidgetWrap, MutableSequence): # urwid.emit_signal(self, "refresh", self) def keypress(s...
Fix bug with mouse_event.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ requirements = ( setup( name='combine', - version='0.0.4', + version='0.0.5.dev0', description='A helpful, simple static site generator.', long_description=long_description, long_des...
Back to development: <I>
py
diff --git a/synapse/lib/ingest.py b/synapse/lib/ingest.py index <HASH>..<HASH> 100644 --- a/synapse/lib/ingest.py +++ b/synapse/lib/ingest.py @@ -661,6 +661,7 @@ def register_ingest(core, gest, evtname): def ingest(args): name, kwargs = args data = kwargs.get('data') - gest.ingest(core, d...
Wrap the ingest around a core transaction.
py
diff --git a/src/ufoLib2/objects/misc.py b/src/ufoLib2/objects/misc.py index <HASH>..<HASH> 100644 --- a/src/ufoLib2/objects/misc.py +++ b/src/ufoLib2/objects/misc.py @@ -344,7 +344,7 @@ class AttrDictMixin(AttrDictMixinMapping): # XXX: Use generics? @classmethod - @lru_cache(None) + @lru_cache(maxsiz...
use 'maxsize' named param to lru_cache decorator for readability
py
diff --git a/cltk/corpus/greek/corpora.py b/cltk/corpus/greek/corpora.py index <HASH>..<HASH> 100644 --- a/cltk/corpus/greek/corpora.py +++ b/cltk/corpus/greek/corpora.py @@ -66,5 +66,10 @@ GREEK_CORPORA = [ 'origin': 'https://github.com/cltk/First1KGreek', 'location': 'remote', 'type': 'text'}, + ...
Add corpus to Greek corpora
py
diff --git a/vk/groups.py b/vk/groups.py index <HASH>..<HASH> 100644 --- a/vk/groups.py +++ b/vk/groups.py @@ -62,6 +62,15 @@ class Group(object): def __repr__(self): return u"<Group: {0}>".format(self.screen_name) + def __hash__(self): + class_name = type(self).__name__ + return hash(c...
Add `Group.__hash__` and `Group.__eq__`
py
diff --git a/src/transformers/modeling_utils.py b/src/transformers/modeling_utils.py index <HASH>..<HASH> 100644 --- a/src/transformers/modeling_utils.py +++ b/src/transformers/modeling_utils.py @@ -1823,7 +1823,6 @@ class PreTrainedModel(nn.Module, ModuleUtilsMixin, GenerationMixin, PushToHubMix if is...
don't load state_dict twice when using low_cpu_mem_usage in from_pretrained (#<I>)
py
diff --git a/torchfcn/trainer.py b/torchfcn/trainer.py index <HASH>..<HASH> 100644 --- a/torchfcn/trainer.py +++ b/torchfcn/trainer.py @@ -192,9 +192,9 @@ class Trainer(object): metrics = np.mean(metrics, axis=0) with open(osp.join(self.out, 'log.csv'), 'a') as f: - elapsed_ti...
Write elapsed_time as second
py
diff --git a/gssapi/ctx.py b/gssapi/ctx.py index <HASH>..<HASH> 100644 --- a/gssapi/ctx.py +++ b/gssapi/ctx.py @@ -547,7 +547,10 @@ class Context(object): gss_release_buffer(byref(minor_status), byref(output_token_buffer)) def __del__(self): - self._release() + try: + ...
Catch and discard exceptions in __del__() Prevents an error being logged by Python when a half-established context is garbage collected.
py
diff --git a/fusesoc/section/__init__.py b/fusesoc/section/__init__.py index <HASH>..<HASH> 100644 --- a/fusesoc/section/__init__.py +++ b/fusesoc/section/__init__.py @@ -247,9 +247,11 @@ Verilog top module : {top_module} for src_file in self.src_files: print("Compiling " + src_file) - ...
section/verilator: fix build_SysC launcher The sources can be found in src_root/core/src_file, update the build_SysC launcher to reflect this.
py
diff --git a/pinax/likes/migrations/0001_initial.py b/pinax/likes/migrations/0001_initial.py index <HASH>..<HASH> 100644 --- a/pinax/likes/migrations/0001_initial.py +++ b/pinax/likes/migrations/0001_initial.py @@ -24,8 +24,8 @@ class Migration(migrations.Migration): ('id', models.AutoField(auto_create...
Drop features removed in Django <I> Field.rel and Field.remote_field.to are removed <URL>
py
diff --git a/nolds/measures.py b/nolds/measures.py index <HASH>..<HASH> 100644 --- a/nolds/measures.py +++ b/nolds/measures.py @@ -1234,9 +1234,6 @@ def hurst_rs(data, nvals=None, fit="RANSAC", debug_plot=False, implementation. .. [h_c] Bill Davidson, "Hurst exponent", url: http://www.m...
removes code of T. Aste as reference for _normal_ Hurst exponent
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -35,7 +35,7 @@ requirements = [ # Protocol and data packages "pytmpdir >= 0.2.3", # A temporary directory, useful for extracting archives to "txhttputil >= 0.3.0", # Utility class for http requests - "vorte...
Updated vortexpy dependency for websocket httpsession fixes PEEK-<I>
py
diff --git a/jss/requests_adapter.py b/jss/requests_adapter.py index <HASH>..<HASH> 100644 --- a/jss/requests_adapter.py +++ b/jss/requests_adapter.py @@ -43,6 +43,7 @@ class RequestsAdapter(object): self.session = requests.Session() self.session.headers.update(self.headers) self.use_tls(base...
Make default RequestsAdapter behavior to be to verify SSL
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='pyravendb', packages=find_packages(), - version='4.0.6.1', + version='4.0.6.2', long_description=open("README.rst").read(), descr...
Change ijson version in setup.py install_requires to be <I>
py
diff --git a/lookout_sdk/setup.py b/lookout_sdk/setup.py index <HASH>..<HASH> 100644 --- a/lookout_sdk/setup.py +++ b/lookout_sdk/setup.py @@ -15,7 +15,7 @@ setup( download_url="https://github.com/src-d/lookout-sdk", packages=find_packages(), keywords=["analyzer", "code-reivew"], - ins...
py: add protobuf as dependecy to library
py
diff --git a/ontobio/io/gafparser.py b/ontobio/io/gafparser.py index <HASH>..<HASH> 100644 --- a/ontobio/io/gafparser.py +++ b/ontobio/io/gafparser.py @@ -515,6 +515,8 @@ class GpadParser(AssocParser): rel = vals[2] negated, relation, _ = self._parse_qualifier(vals[2], None) + + #...
Documenting explicitly the fact that NOTs always skipped when skimming. Fixes #<I>
py
diff --git a/bika/lims/browser/worksheet.py b/bika/lims/browser/worksheet.py index <HASH>..<HASH> 100644 --- a/bika/lims/browser/worksheet.py +++ b/bika/lims/browser/worksheet.py @@ -381,6 +381,14 @@ class WorksheetAnalysesView(AnalysesView): pos_text += obj.getAnalysis().aq_parent.getSample().getSampl...
SamplingDeviation on worksheet views #<I>
py
diff --git a/mapillary_tools/process_import_meta_properties.py b/mapillary_tools/process_import_meta_properties.py index <HASH>..<HASH> 100644 --- a/mapillary_tools/process_import_meta_properties.py +++ b/mapillary_tools/process_import_meta_properties.py @@ -87,12 +87,8 @@ def finalize_import_properties_process(image, ...
add: change location of local file name
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ from future import standard_library standard_library.install_aliases() from setuptools import setup setup(name='consoleprinter', - version='13', + version='15', description='Console printer w...
pip Friday <I> March <I> (week:9 day:<I>), <I>:<I>:<I>
py
diff --git a/flask_boost/project/application/utils/assets.py b/flask_boost/project/application/utils/assets.py index <HASH>..<HASH> 100644 --- a/flask_boost/project/application/utils/assets.py +++ b/flask_boost/project/application/utils/assets.py @@ -362,6 +362,9 @@ def _rewrite_relative_url(content, asset_path, static...
Do not rewrite inner url starts with data:
py
diff --git a/datalab/data/commands/_sql.py b/datalab/data/commands/_sql.py index <HASH>..<HASH> 100644 --- a/datalab/data/commands/_sql.py +++ b/datalab/data/commands/_sql.py @@ -301,7 +301,7 @@ def _split_cell(cell, module): define_wild_re = re.compile('^DEFINE\s+.*$', re.IGNORECASE) define_re = re.compile('^DEF...
Resolve issue where error may appear when using a UDF with Standard SQL (#<I>)
py
diff --git a/pyphi/subsystem.py b/pyphi/subsystem.py index <HASH>..<HASH> 100644 --- a/pyphi/subsystem.py +++ b/pyphi/subsystem.py @@ -360,7 +360,7 @@ class Subsystem: # If not specified, the new purview is the entire network if (new_purview==None): new_purview = self.nodes - elif ...
compare indices not nodes in expand_purview
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 @@ -190,7 +190,9 @@ class Workspa...
show container image in repo location display metadata Summary: Forgot that the image is only available if you pull it from the location (not the origin) Test Plan: test_workspace in BK, view docker example and see image Reviewers: prha, sashank Reviewed By: prha Differential Revision: <URL>
py
diff --git a/tests/test_parser.py b/tests/test_parser.py index <HASH>..<HASH> 100644 --- a/tests/test_parser.py +++ b/tests/test_parser.py @@ -22,14 +22,14 @@ from .pint_enable import _enable_pint # These are examples taken from http://project-haystack.org/doc/Zinc +THIS_DIR = os.path.dirname(os.path.abspath(__fil...
WC-<I>: parser tests: Re-locate THIS_DIR constant
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -from distutils.core import setup +from setuptools import setup import os @@ -12,6 +12,7 @@ setup( long_description=open(os.path.join(os.path.dirname(__file__), 'README.rst')).read(), license='BSD L...
Experiments with setup.py
py
diff --git a/green/config.py b/green/config.py index <HASH>..<HASH> 100644 --- a/green/config.py +++ b/green/config.py @@ -21,7 +21,9 @@ import copy # pragma: no cover import os # pragma: no cover -def get_config(filepath=None): +# Since this must be imported before coverage is started, we get erroneous +#...
Fixed the false non-coverage reports
py
diff --git a/ignite/metrics/epoch_metric.py b/ignite/metrics/epoch_metric.py index <HASH>..<HASH> 100644 --- a/ignite/metrics/epoch_metric.py +++ b/ignite/metrics/epoch_metric.py @@ -40,6 +40,24 @@ class EpochMetric(Metric): Default, True. device: optional device specification for internal storage...
doctest for epoch metric (#<I>)
py
diff --git a/source/test/common/test_zy_history.py b/source/test/common/test_zy_history.py index <HASH>..<HASH> 100755 --- a/source/test/common/test_zy_history.py +++ b/source/test/common/test_zy_history.py @@ -1455,22 +1455,18 @@ def test_state_type_change_bugs_with_gui(with_gui, caplog): def trigger_state_type_chang...
remove unnecessary sleeps in modification-history tests
py
diff --git a/ipymd/markdown.py b/ipymd/markdown.py index <HASH>..<HASH> 100644 --- a/ipymd/markdown.py +++ b/ipymd/markdown.py @@ -159,6 +159,9 @@ class MarkdownReader(BaseMarkdownReader): 'input': input, 'output': output} + def _markdown_cell_from_regex(self, m): + return ...
Minor refactoring in Markdown reader.
py
diff --git a/gems/__init__.py b/gems/__init__.py index <HASH>..<HASH> 100644 --- a/gems/__init__.py +++ b/gems/__init__.py @@ -1,16 +0,0 @@ -# -*- coding: utf-8 -*- - -__author__ = 'Blake Printy' -__email__ = 'bprinty@gmail.com' -__version__ = '0.2.10' - - -from .datatypes import composite -from .datatypes import filet...
incremented minor release for cached bug fix
py
diff --git a/mailmerge/api.py b/mailmerge/api.py index <HASH>..<HASH> 100644 --- a/mailmerge/api.py +++ b/mailmerge/api.py @@ -121,7 +121,7 @@ def addattachments(message, template_path): message.attach(part) print(">>> attached {}".format(normalized_path)) - del message['attachments'] + del me...
Fixed code to remove the custom attachment header (that shouldn't be included in the final email.
py
diff --git a/tests/test_lp_copy_packages.py b/tests/test_lp_copy_packages.py index <HASH>..<HASH> 100644 --- a/tests/test_lp_copy_packages.py +++ b/tests/test_lp_copy_packages.py @@ -31,7 +31,7 @@ class LPCopyPackagesTestCase(TestCase): self.assertFalse(args.dry_run) def test_main(self): - lp = M...
Don't use Mock when object will do.
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -16,7 +16,7 @@ import sys, os # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation roo...
Update Sphinx config due to directory layout change.
py
diff --git a/collections_extended/range_map.py b/collections_extended/range_map.py index <HASH>..<HASH> 100644 --- a/collections_extended/range_map.py +++ b/collections_extended/range_map.py @@ -174,6 +174,8 @@ class RangeMap(Container): stop_index = bisect_left(self._ordered_keys, stop) if stop_index != len(se...
test_delitem_consecutive passes
py
diff --git a/jax/_src/numpy/lax_numpy.py b/jax/_src/numpy/lax_numpy.py index <HASH>..<HASH> 100644 --- a/jax/_src/numpy/lax_numpy.py +++ b/jax/_src/numpy/lax_numpy.py @@ -1650,6 +1650,7 @@ def _split(op, ary, indices_or_sections, axis=0): + ((r + 1) * (part_size + 1) - 1)]) e...
Fix float indices in lax.slice
py
diff --git a/autofixture/autofixtures.py b/autofixture/autofixtures.py index <HASH>..<HASH> 100644 --- a/autofixture/autofixtures.py +++ b/autofixture/autofixtures.py @@ -4,6 +4,7 @@ import string from datetime import datetime from django.contrib.auth.hashers import make_password from django.contrib.auth.models impo...
Use timezone aware dates for UserFixture This fixes test failures, and allows django-autofixture to import cleanly into projects where timezone support is enabled.
py
diff --git a/salt/pillar/__init__.py b/salt/pillar/__init__.py index <HASH>..<HASH> 100644 --- a/salt/pillar/__init__.py +++ b/salt/pillar/__init__.py @@ -15,6 +15,7 @@ import salt.crypt from salt._compat import string_types from salt.template import compile_template from salt.utils.dictupdate import update +from sa...
Provide the master's version in pillar.data This allows you to make decisions based on the minion version and master version, for example, running pkg.install only if the salt-minion is out of date Grains would have the minion's version Pillar would have the master's version {% if grains['saltversion'] != pillar['mas...
py
diff --git a/src/sos/hosts.py b/src/sos/hosts.py index <HASH>..<HASH> 100755 --- a/src/sos/hosts.py +++ b/src/sos/hosts.py @@ -540,7 +540,7 @@ class RemoteHost(object): ignored = [x for x in items if not isinstance(x, (str, path))] if ignored: env.logger.info(f'``Ignore`` {ign...
Fix send to host with non-file target
py
diff --git a/ftr/extractor.py b/ftr/extractor.py index <HASH>..<HASH> 100644 --- a/ftr/extractor.py +++ b/ftr/extractor.py @@ -487,7 +487,7 @@ class ContentExtractor(object): pass else: - etree.SubElement(body, item) + ...
Fix body appending in non-prune mode.
py
diff --git a/pydot.py b/pydot.py index <HASH>..<HASH> 100644 --- a/pydot.py +++ b/pydot.py @@ -17,9 +17,9 @@ Copyright (c) 2005-2011 Ero Carrera <ero.carrera@gmail.com> Distributed under MIT license [http://opensource.org/licenses/mit-license.html]. """ -__revision__ = "$LastChangedRevision$" +__revision__ = '28' ...
BUG: substitute version number for placeholder str
py
diff --git a/pupa/tests/django_settings.py b/pupa/tests/django_settings.py index <HASH>..<HASH> 100644 --- a/pupa/tests/django_settings.py +++ b/pupa/tests/django_settings.py @@ -10,3 +10,4 @@ DATABASES = { 'HOST': 'localhost', } } +MIDDLEWARE_CLASSES=()
kill error in tests b/c of required middleware
py
diff --git a/packages/vaex-core/vaex/dataset.py b/packages/vaex-core/vaex/dataset.py index <HASH>..<HASH> 100644 --- a/packages/vaex-core/vaex/dataset.py +++ b/packages/vaex-core/vaex/dataset.py @@ -4339,7 +4339,11 @@ class Dataset(object): for i in range(k2 - k1): # parts += ["<tr>"] ...
fix: repr shows italic,transparent and with , seperator
py
diff --git a/ripe/atlas/cousteau/__init__.py b/ripe/atlas/cousteau/__init__.py index <HASH>..<HASH> 100644 --- a/ripe/atlas/cousteau/__init__.py +++ b/ripe/atlas/cousteau/__init__.py @@ -111,9 +111,9 @@ class Measurement(EntityRepresentation): stop_time = datetime.fromtimestamp(stop_time) self.p...
These fields were renamed in v2
py
diff --git a/salt/utils/decorators.py b/salt/utils/decorators.py index <HASH>..<HASH> 100644 --- a/salt/utils/decorators.py +++ b/salt/utils/decorators.py @@ -77,31 +77,6 @@ class Depends(object): logging.debug('{0} already removed, skipping'.format(mod_key)) continue - @c...
Removing old code (from testing) from the Depends decorator
py
diff --git a/release/e2e.py b/release/e2e.py index <HASH>..<HASH> 100644 --- a/release/e2e.py +++ b/release/e2e.py @@ -1665,6 +1665,8 @@ def run_test_config( # When running the test script in client mode, the finish command is a # completed local process. def _process_finished_client_command(returncode: ...
[Nightly Test] Addressed client failure properly (#<I>) When the client returns the code that's not 0, we should raise RuntimeError to properly propagate errors
py
diff --git a/livv.py b/livv.py index <HASH>..<HASH> 100755 --- a/livv.py +++ b/livv.py @@ -347,8 +347,8 @@ if __name__ == '__main__': # Run Test Cases # ############################################################################### print("Runn...
Make iterator naming more consistent
py
diff --git a/filters/text.py b/filters/text.py index <HASH>..<HASH> 100644 --- a/filters/text.py +++ b/filters/text.py @@ -12,7 +12,7 @@ def split_length(input_line, length): yield line else: while True: - if " " in line[start : start + limit]: + if " " in line[start:start +...
:shirt: fix flake8 warning to agressive darkening
py
diff --git a/test_clint.py b/test_clint.py index <HASH>..<HASH> 100755 --- a/test_clint.py +++ b/test_clint.py @@ -16,7 +16,5 @@ class TablibTestCase(unittest.TestCase): def tearDown(self): pass - - if __name__ == '__main__': unittest.main()
:octocat: says: 'the :cake: is a lie!'
py
diff --git a/benchexec/tools/divine.py b/benchexec/tools/divine.py index <HASH>..<HASH> 100644 --- a/benchexec/tools/divine.py +++ b/benchexec/tools/divine.py @@ -16,6 +16,9 @@ distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. Se...
Mention paper about DIVINE in wrapper script.
py
diff --git a/dvc/git_wrapper.py b/dvc/git_wrapper.py index <HASH>..<HASH> 100644 --- a/dvc/git_wrapper.py +++ b/dvc/git_wrapper.py @@ -47,6 +47,15 @@ class GitWrapperI(object): return GitWrapper.parse_porcelain_files(out) @staticmethod + def git_config_get(name): + code, out, err = Executor.ex...
init: check user.{name,email} to make sure git is ready Making sure git is configured at least with name and email, so our commits can be commited without any problems. Fixes #<I>.
py
diff --git a/fcn/models/fcn32s.py b/fcn/models/fcn32s.py index <HASH>..<HASH> 100644 --- a/fcn/models/fcn32s.py +++ b/fcn/models/fcn32s.py @@ -104,6 +104,10 @@ class FCN32s(chainer.Chain): h = F.crop(upscore, x, axes=[2, 3], offset=19) self.score = h # 1/1 + if t is None: + assert...
Support not passed t in FCN<I>s
py
diff --git a/anyconfig/processors.py b/anyconfig/processors.py index <HASH>..<HASH> 100644 --- a/anyconfig/processors.py +++ b/anyconfig/processors.py @@ -215,11 +215,11 @@ class Processors(object): :param sort: Result will be sorted if it's True :return: A list of :class:`Processor` or its children c...
refactor: compute Processors._processors.values() just once
py
diff --git a/geometry/eolearn/geometry/transformations.py b/geometry/eolearn/geometry/transformations.py index <HASH>..<HASH> 100644 --- a/geometry/eolearn/geometry/transformations.py +++ b/geometry/eolearn/geometry/transformations.py @@ -412,13 +412,12 @@ class RasterToVector(EOTask): value_list.appen...
minor update to get rid of a deprecation warning
py
diff --git a/sirmordred/config.py b/sirmordred/config.py index <HASH>..<HASH> 100644 --- a/sirmordred/config.py +++ b/sirmordred/config.py @@ -667,7 +667,7 @@ class Config(): # a study name could include and extra ":<param>" # to have several backend entries with different configs studies = (...
[config] Add study to process git branches This code adds a study to process git branches. It is activated by adding the section [enrich_git_branches] in the setup.cfg, it doesn't require any param, and it applies to the enriched index.
py
diff --git a/tests/test_sharded_clusters.py b/tests/test_sharded_clusters.py index <HASH>..<HASH> 100644 --- a/tests/test_sharded_clusters.py +++ b/tests/test_sharded_clusters.py @@ -25,7 +25,7 @@ import time sys.path.insert(0, '../') -from mongo_orchestration import set_releases, cleanup_storage +from mongo_orche...
Don't use cleanup_storage in the tests.
py
diff --git a/script/lib/config.py b/script/lib/config.py index <HASH>..<HASH> 100644 --- a/script/lib/config.py +++ b/script/lib/config.py @@ -6,6 +6,7 @@ import sys PLATFORM = { 'cygwin': 'win32', + 'msys': 'win32', 'darwin': 'darwin', 'linux': 'linux', 'linux2': 'linux',
build: support building Electron on msys2 (#<I>) Electron already seems to support `cygwin`, so `msys` is a natural addition. This is the only required change as far as I can see on my local development environment, as otherwise the build scripts don't realize that msys = windows. Notes: none
py
diff --git a/src/python/setup.py b/src/python/setup.py index <HASH>..<HASH> 100644 --- a/src/python/setup.py +++ b/src/python/setup.py @@ -17,7 +17,7 @@ setup( author_email='tomoinn@gmail.com', license='ASL2.0', packages=['approxeng.input'], - install_requires=['evdev==0.5.0'], + install_requires=[...
Change to use evdev <I>
py
diff --git a/utils/build_env.py b/utils/build_env.py index <HASH>..<HASH> 100644 --- a/utils/build_env.py +++ b/utils/build_env.py @@ -9,6 +9,7 @@ from os.path import realpath, dirname, join, sep, abspath repo_root = realpath(dirname(realpath(__file__)) + sep + '..') sys.path.insert(0, repo_root) +os.environ['SEARX...
[fix] utils/build_env.py: make sure to always use searx/settings.yml ignore SEARX_SETTINGS_PATH
py
diff --git a/analytical/tests/test_utils.py b/analytical/tests/test_utils.py index <HASH>..<HASH> 100644 --- a/analytical/tests/test_utils.py +++ b/analytical/tests/test_utils.py @@ -30,14 +30,14 @@ class SettingDeletedTestCase(TestCase): # available in python >= 3.2 if hasattr(self, 'assertRaisesRege...
Address flake8 W<I> (invalid escape sequence)
py
diff --git a/beets/mediafile.py b/beets/mediafile.py index <HASH>..<HASH> 100644 --- a/beets/mediafile.py +++ b/beets/mediafile.py @@ -676,9 +676,10 @@ class MediaFile(object): etc = StorageStyle('musicbrainz_albumtype') ) albumart = MediaField( - mp3 = StorageStyle('AP...
move some logic into ImportTask with should_ methods Original: beetbox/beets@6ec<I>b
py
diff --git a/hamster/graphics.py b/hamster/graphics.py index <HASH>..<HASH> 100644 --- a/hamster/graphics.py +++ b/hamster/graphics.py @@ -228,10 +228,10 @@ class SampleArea(Area): # fill_area is just a shortcut function # feel free to use self.context. move_to, line_to and others - s...
peh, rounding the coordinates again. pitty i can't trigger the bug myself
py
diff --git a/test/test_api/test_parsers/test_pic.py b/test/test_api/test_parsers/test_pic.py index <HASH>..<HASH> 100644 --- a/test/test_api/test_parsers/test_pic.py +++ b/test/test_api/test_parsers/test_pic.py @@ -24,6 +24,7 @@ source = """ 01 INPUT-DATA. 05 U1-HDL1 PIC X(04). 05 FILLER P...
Add a test for comp field also add blank lines to make sure it does not crash with an index error
py
diff --git a/sos/report/plugins/python.py b/sos/report/plugins/python.py index <HASH>..<HASH> 100644 --- a/sos/report/plugins/python.py +++ b/sos/report/plugins/python.py @@ -9,7 +9,7 @@ # See the LICENSE file in the source distribution for further information. from sos.report.plugins import Plugin, RedHatPlugin, D...
[python] Update import for RHELPolicy Updates the import of `RHELPolicy` for setting the python version checking command on RHEL systems. Related: #<I>
py
diff --git a/graphene_django_optimizer/query.py b/graphene_django_optimizer/query.py index <HASH>..<HASH> 100644 --- a/graphene_django_optimizer/query.py +++ b/graphene_django_optimizer/query.py @@ -273,8 +273,9 @@ class QueryOptimizer(object): resolver_fn = resolver if resolver_fn.func == Dja...
Compatibility with graphene-django <I>
py
diff --git a/c7n/resources/ec2.py b/c7n/resources/ec2.py index <HASH>..<HASH> 100644 --- a/c7n/resources/ec2.py +++ b/c7n/resources/ec2.py @@ -1543,7 +1543,7 @@ class Terminate(BaseAction): for batch in utils.chunks(instances, 100): self.manager.retry( client.terminate_instances, ...
aws - ec2 - terminate - fix usage of batch (#<I>)
py
diff --git a/emiz/miz.py b/emiz/miz.py index <HASH>..<HASH> 100644 --- a/emiz/miz.py +++ b/emiz/miz.py @@ -258,7 +258,7 @@ class Miz: if destination is None: destination = Path(self.miz_path.parent).joinpath('{}_EMFT.miz'.format(self.miz_path.name)) - destination = Path(destination).absol...
fix: dev: got a weird bug on AV...
py
diff --git a/janitor/resources/s3.py b/janitor/resources/s3.py index <HASH>..<HASH> 100644 --- a/janitor/resources/s3.py +++ b/janitor/resources/s3.py @@ -175,7 +175,8 @@ class NoGlobalGrants(Filter): def process_bucket(self, b): acl = b.get('Acl', {'Grants': []}) - + if not acl or not acl['Grant...
behave nice if there aren't any acl or grants associated to a bucket
py
diff --git a/mythril/laser/ethereum/state/account.py b/mythril/laser/ethereum/state/account.py index <HASH>..<HASH> 100644 --- a/mythril/laser/ethereum/state/account.py +++ b/mythril/laser/ethereum/state/account.py @@ -31,11 +31,14 @@ class Storage: and (self.dynld and self.dynld.storage_loading) ...
Put BitVecVals into the storage
py
diff --git a/wikitextparser/wikitext.py b/wikitextparser/wikitext.py index <HASH>..<HASH> 100644 --- a/wikitextparser/wikitext.py +++ b/wikitextparser/wikitext.py @@ -384,10 +384,8 @@ class WikiText: """Update self._type_to_spans according to the added span.""" ss, se = self._span for spans i...
Remove spans.sort() todo comment If we sort the spans while in pformat, the order of parser functions changes and pformat cannot track them correctly.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ def read(fname): setup(name='membersuite_api_client', - version='0.1.10', + version='0.1.11', description='MemberSuite API Client', author='AASHE', author_email='webdev@aashe.or...
Version Bump Again For some reason I can't retry PyPi update with the same file name even though I deleted the first attempt.
py
diff --git a/patreon/jsonapi/url_util.py b/patreon/jsonapi/url_util.py index <HASH>..<HASH> 100644 --- a/patreon/jsonapi/url_util.py +++ b/patreon/jsonapi/url_util.py @@ -1,4 +1,4 @@ -from patreon.urlencode import urlencode +from patreon.version_compatibility.urlencode import urlencode def build_url(path, includes...
missed a refactor rebase import change
py
diff --git a/sendgrid/helpers/inbound/parse.py b/sendgrid/helpers/inbound/parse.py index <HASH>..<HASH> 100644 --- a/sendgrid/helpers/inbound/parse.py +++ b/sendgrid/helpers/inbound/parse.py @@ -38,14 +38,15 @@ class Parse(object): contents = base64 encoded file contents""" attachments = None ...
Fixed some errors with the refactoring
py