instance_id
stringlengths
10
57
base_commit
stringlengths
40
40
created_at
stringdate
2014-04-30 14:58:36
2025-04-30 20:14:11
environment_setup_commit
stringlengths
40
40
hints_text
stringlengths
0
273k
patch
stringlengths
251
7.06M
problem_statement
stringlengths
11
52.5k
repo
stringlengths
7
53
test_patch
stringlengths
231
997k
meta
dict
version
stringclasses
851 values
install_config
dict
requirements
stringlengths
93
34.2k
environment
stringlengths
760
20.5k
FAIL_TO_PASS
listlengths
1
9.39k
FAIL_TO_FAIL
listlengths
0
2.69k
PASS_TO_PASS
listlengths
0
7.87k
PASS_TO_FAIL
listlengths
0
192
license_name
stringclasses
55 values
__index_level_0__
int64
0
21.4k
before_filepaths
listlengths
1
105
after_filepaths
listlengths
1
105
jubatus__jubatus-python-client-36
8cc1289e7ecb5729a951c55d6783122fd6fa2434
2014-04-30 14:58:36
8cc1289e7ecb5729a951c55d6783122fd6fa2434
diff --git a/jubatus/common/__init__.py b/jubatus/common/__init__.py index 8775c9c..04ebbc0 100644 --- a/jubatus/common/__init__.py +++ b/jubatus/common/__init__.py @@ -1,7 +1,7 @@ -from message_string_generator import MessageStringGenerator -from datum import Datum -from types import TInt, TFloat, TBool, TString, TRaw...
Support python3 Now jubatus doesn't work in py3 environment
jubatus/jubatus-python-client
diff --git a/test/__init__.py b/test/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/test/jubatus_test/__init__.py b/test/jubatus_test/__init__.py index e69de29..d28802b 100644 --- a/test/jubatus_test/__init__.py +++ b/test/jubatus_test/__init__.py @@ -0,0 +1,4 @@ +import unittest + +def suite(): +...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_added_files", "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score":...
0.5
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.9", "reqs_path": null, "test_cmd": "pytest --no-header -rA --tb=line ...
exceptiongroup==1.2.2 iniconfig==2.1.0 -e git+https://github.com/jubatus/jubatus-python-client.git@8cc1289e7ecb5729a951c55d6783122fd6fa2434#egg=jubatus msgpack-python==0.5.6 msgpack-rpc-python==0.4.1 packaging==24.2 pluggy==1.5.0 pytest==8.3.5 tomli==2.2.1 tornado==4.5.3
name: jubatus-python-client channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 ...
[ "test/jubatus_test/common/test_client.py::ClientTest::test_remote_error", "test/jubatus_test/common/test_client.py::ClientTest::test_type_mismatch", "test/jubatus_test/common/test_client.py::ClientTest::test_unknown_method", "test/jubatus_test/common/test_client.py::ClientTest::test_wrong_number_of_arguments"...
[]
[]
[]
MIT License
0
[ "jubatus/common/client.py", "jubatus/common/types.py", "setup.py", "jubatus/common/compat.py", "jubatus/common/__init__.py", "jubatus/common/datum.py" ]
[ "jubatus/common/client.py", "jubatus/common/types.py", "setup.py", "jubatus/common/compat.py", "jubatus/common/__init__.py", "jubatus/common/datum.py" ]
msgpack__msgpack-python-105
c43fb48724049dc35c34fd389091e384dec46bb8
2014-06-23 13:48:00
0e2021d3a3d1218ca191f4e802df0af3bbfaa51f
diff --git a/.travis.yml b/.travis.yml index b9d19c1..dad7e87 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,13 @@ language: python python: - 2.7 +env: + - TOXENV=py26-c,py27-c + - TOXENV=py32-c,py33-c,py34-c + - TOXENV=py26-pure,py27-pure + - TOXENV=py32-pure,py33-pure,py34-pure + - TOXEN...
msgpack.loads hangs for a long time on invalid input Minimal reproducible example: ``` from msgpack import loads # ---------------------- Array 32 # | ----------- Large number # | | --- No other data # | | | # v v v s = "\xdd\xff\x00...
msgpack/msgpack-python
diff --git a/test/test_limits.py b/test/test_limits.py index 1cfa2d6..3c1cf2a 100644 --- a/test/test_limits.py +++ b/test/test_limits.py @@ -3,7 +3,7 @@ from __future__ import absolute_import, division, print_function, unicode_literals import pytest -from msgpack import packb, unpackb, Packer +from msgpack import p...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 3 }, "num_modified_files": 5 }
0.4
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.9", "reqs_path": null, "tes...
exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work -e git+https://github.com/msgpack/msgpack-python.git@c43fb48724049dc35c34fd389091e384dec46bb8#egg=msgpack_python packaging @ file:///croot/packaging_1734472117206/work pluggy @ file:/...
name: msgpack-python channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - exceptiongroup=1.2.0=py39h06a4308_0 - iniconfig=1.1.1=pyhd3eb1b0_0 ...
[ "test/test_limits.py::test_max_str_len", "test/test_limits.py::test_max_bin_len", "test/test_limits.py::test_max_array_len", "test/test_limits.py::test_max_map_len", "test/test_limits.py::test_max_ext_len" ]
[]
[ "test/test_limits.py::test_integer", "test/test_limits.py::test_array_header", "test/test_limits.py::test_map_header" ]
[]
Apache License 2.0
1
[ "msgpack/unpack.h", "msgpack/_unpacker.pyx", ".travis.yml", "tox.ini", "msgpack/fallback.py" ]
[ "msgpack/unpack.h", "msgpack/_unpacker.pyx", ".travis.yml", "tox.ini", "msgpack/fallback.py" ]
softlayer__softlayer-python-457
08336ac6742088cb1da14313a6579e3a47eb83e7
2014-11-24 20:17:17
200787d4c3bf37bc4e701caf6a52e24dd07d18a3
sudorandom: @underscorephil, @allmightyspiff Let me know your thoughts on this.
diff --git a/SoftLayer/CLI/routes.py b/SoftLayer/CLI/routes.py index 1ab13021..8c2f7a24 100644 --- a/SoftLayer/CLI/routes.py +++ b/SoftLayer/CLI/routes.py @@ -142,7 +142,6 @@ ('server:detail', 'SoftLayer.CLI.server.detail:cli'), ('server:edit', 'SoftLayer.CLI.server.edit:cli'), ('server:list', 'SoftLayer...
Hardware ordering with v4 There are now 3 different methods for ordering hardware (4, if you count Hardware_Server::createObject). They are enumerated below: * **Normal Hardware Ordering** - uses packages to define different chassis which have different CPU and memory options. Currently, prices inside the package ar...
softlayer/softlayer-python
diff --git a/SoftLayer/testing/fixtures/SoftLayer_Product_Package.py b/SoftLayer/testing/fixtures/SoftLayer_Product_Package.py index f2621766..b60b9eaa 100644 --- a/SoftLayer/testing/fixtures/SoftLayer_Product_Package.py +++ b/SoftLayer/testing/fixtures/SoftLayer_Product_Package.py @@ -1,1039 +1,186 @@ -getAllObjects =...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_removed_files", "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 3, "test_score": 3 }, "n...
3.3
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.6", "reqs_path...
alabaster==0.7.13 attrs==22.2.0 Babel==2.11.0 certifi==2021.5.30 charset-normalizer==2.0.12 click==8.0.4 coverage==6.2 distlib==0.3.9 docutils==0.18.1 filelock==3.4.1 fixtures==4.0.1 idna==3.10 imagesize==1.4.1 importlib-metadata==4.8.3 importlib-resources==5.4.0 iniconfig==1.1.1 Jinja2==3.0.3 MarkupSafe==2.0.1 mock==5...
name: softlayer-python channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - ld_impl_linux-64=2.40=h12ee557...
[ "SoftLayer/tests/CLI/modules/server_tests.py::ServerCLITests::test_create_options", "SoftLayer/tests/CLI/modules/server_tests.py::ServerCLITests::test_create_server", "SoftLayer/tests/CLI/modules/server_tests.py::ServerCLITests::test_create_server_test_flag", "SoftLayer/tests/CLI/modules/server_tests.py::Serv...
[]
[ "SoftLayer/tests/CLI/modules/server_tests.py::ServerCLITests::test_cancel_server", "SoftLayer/tests/CLI/modules/server_tests.py::ServerCLITests::test_create_server_missing_required", "SoftLayer/tests/CLI/modules/server_tests.py::ServerCLITests::test_edit_server_failed", "SoftLayer/tests/CLI/modules/server_tes...
[]
MIT License
2
[ "SoftLayer/CLI/routes.py", "SoftLayer/CLI/server/create.py", "SoftLayer/CLI/server/__init__.py", "SoftLayer/CLI/server/list_chassis.py", "SoftLayer/CLI/server/create_options.py", "SoftLayer/CLI/virt/create.py", "SoftLayer/managers/hardware.py" ]
[ "SoftLayer/CLI/routes.py", "SoftLayer/CLI/server/create.py", "SoftLayer/CLI/server/__init__.py", "SoftLayer/CLI/server/list_chassis.py", "SoftLayer/CLI/server/create_options.py", "SoftLayer/CLI/virt/create.py", "SoftLayer/managers/hardware.py" ]
uqfoundation__dill-72
678f1e3b2511b9022774e5c6b4973d409e235261
2014-12-08 09:43:48
f998fc8ad029f728398c8ee5817656644a75f452
mmckerns: There is also an approach like this quick hack… it should be general, but it's messy… and as is, it breaks the namespace. ``` >>> import m >>> import dill >>> x = dill.dumps(compile(dill.source.importable(m.A.B, source=True), '<string>', 'exec')) >>> exec(dill.loads(x)) >>> B <class __main__.B at 0x1...
diff --git a/dill/dill.py b/dill/dill.py index e4f2b56..e941c7d 100644 --- a/dill/dill.py +++ b/dill/dill.py @@ -717,6 +717,18 @@ def _create_array(f, args, state, npdict=None): array.__dict__.update(npdict) return array +def _create_namedtuple(name, fieldnames, modulename): + mod = _import_module(mo...
pickling nested namedtuples While dill pickles nested classes without problem, the same cannot be said of namedtuples defined within another class: ``` In [1]: import dill In [2]: from collections import namedtuple In [3]: class T: class A: pass B = namedtuple("B", "") ...: In [4]: dill.dumps(T.A) Out[4...
uqfoundation/dill
diff --git a/tests/test_classdef.py b/tests/test_classdef.py index 0e47473..21a99c9 100644 --- a/tests/test_classdef.py +++ b/tests/test_classdef.py @@ -93,20 +93,24 @@ if hex(sys.hexversion) >= '0x20600f0': Z = namedtuple("Z", ['a','b']) Zi = Z(0,1) X = namedtuple("Y", ['a','b']) - if hex(sys.hexvers...
{ "commit_name": "head_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "llm_score": { "difficulty_score": 2, "issue_text_score": 0, "test_score": 3 }, "num_modified_files": 1 }
0.2
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "pytest" ], "pre_install": [], "python": "3.6", "reqs_path": null, "test_cmd": "pytest --no-header -rA --tb=line --color=no -...
attrs @ file:///opt/conda/conda-bld/attrs_1642510447205/work certifi==2021.5.30 -e git+https://github.com/uqfoundation/dill.git@678f1e3b2511b9022774e5c6b4973d409e235261#egg=dill importlib-metadata @ file:///tmp/build/80754af9/importlib-metadata_1631916693255/work iniconfig @ file:///home/linux1/recipes/ci/iniconfig_161...
name: dill channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - attrs=21.4.0=pyhd3eb1b0_0 - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - importlib-me...
[ "tests/test_classdef.py::test_namedtuple" ]
[ "tests/test_classdef.py::test_class_objects", "tests/test_classdef.py::test_method_decorator" ]
[ "tests/test_classdef.py::test_class_instances", "tests/test_classdef.py::test_none", "tests/test_classdef.py::test_array_subclass", "tests/test_classdef.py::test_slots" ]
[]
BSD License
3
[ "dill/dill.py" ]
[ "dill/dill.py" ]
Pylons__webob-183
d396a514a22761103b7fdb05994ac7eb2eb75e36
2014-12-23 20:42:59
9b79f5f913fb1f07c68102a2279ed757a2a9abf6
diff --git a/webob/request.py b/webob/request.py index c38cf3c..370eb7e 100644 --- a/webob/request.py +++ b/webob/request.py @@ -220,7 +220,7 @@ class BaseRequest(object): ) if content_type == 'application/x-www-form-urlencoded': - r.body = bytes_(t.transcode_query(native_(r.body))) + ...
Request.decode tries to read from an already consumed stream When building a request multiple times (for example different WSGI middlewares) it is not possible to call decode on the built requests apart from the first one. Can be replicated with something like: ```python from io import BytesIO from webob import Reque...
Pylons/webob
diff --git a/tests/test_request.py b/tests/test_request.py index 24c7aa0..d3ced91 100644 --- a/tests/test_request.py +++ b/tests/test_request.py @@ -2596,6 +2596,22 @@ class TestRequest_functional(unittest.TestCase): self.assertTrue(req.body_file_raw is old_body_file) self.assertTrue(req.body_file is ...
{ "commit_name": "head_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "llm_score": { "difficulty_score": 0, "issue_text_score": 0, "test_score": 0 }, "num_modified_files": 1 }
1.4
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "nose", "coverage", "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "...
coverage==7.8.0 exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work nose==1.3.7 packaging @ file:///croot/packaging_1734472117206/work pluggy @ file:///croot/pluggy_1733169602837/work pytest @ file:///croot/pytest_1738938843180/work to...
name: webob channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - exceptiongroup=1.2.0=py39h06a4308_0 - iniconfig=1.1.1=pyhd3eb1b0_0 - ld_im...
[ "tests/test_request.py::TestRequest_functional::test_already_consumed_stream" ]
[]
[ "tests/test_request.py::TestRequestCommon::test_GET_reflects_query_string", "tests/test_request.py::TestRequestCommon::test_GET_updates_query_string", "tests/test_request.py::TestRequestCommon::test_POST_existing_cache_hit", "tests/test_request.py::TestRequestCommon::test_POST_missing_content_type", "tests/...
[]
null
5
[ "webob/request.py" ]
[ "webob/request.py" ]
nose-devs__nose2-232
dea5854cb40f1327989933004a8835e3766b33fd
2015-01-04 15:33:10
bbf5897eb1aa224100e86ba594042e4399fd2f5f
diff --git a/nose2/plugins/loader/discovery.py b/nose2/plugins/loader/discovery.py index 1ec69d6..73aa0fa 100644 --- a/nose2/plugins/loader/discovery.py +++ b/nose2/plugins/loader/discovery.py @@ -194,8 +194,8 @@ class Discoverer(object): return if module_name is None: - module_name =...
nose2 cant import tests from package I have set up a virtual env and have a test structure that looks something like this: <path>/test_package/__init__.py test_foo.py:test_bar test_bar is a really simple test, it just passes. When I stand in "<path>/test_package" and run "nose2" I...
nose-devs/nose2
diff --git a/nose2/plugins/doctests.py b/nose2/plugins/doctests.py index 0e8aa35..b78df2b 100644 --- a/nose2/plugins/doctests.py +++ b/nose2/plugins/doctests.py @@ -41,7 +41,8 @@ class DocTestLoader(Plugin): elif not util.valid_module_name(os.path.basename(path)): return - name = util.nam...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 1, "test_score": 0 }, "num_modified_files": 2 }
0.5
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[coverage_plugin]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "nose2", "pytest" ], "pre_install": null, "python": "3.9", "reqs_path": [ "requirements.txt"...
cov-core==1.15.0 coverage==7.8.0 exceptiongroup==1.2.2 iniconfig==2.1.0 -e git+https://github.com/nose-devs/nose2.git@dea5854cb40f1327989933004a8835e3766b33fd#egg=nose2 packaging==24.2 pluggy==1.5.0 pytest==8.3.5 six==1.17.0 tomli==2.2.1
name: nose2 channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "nose2/tests/functional/test_doctests_plugin.py::TestDoctestsPlugin::test_project_directory_inside_package", "nose2/tests/functional/test_doctests_plugin.py::TestDoctestsPlugin::test_simple", "nose2/tests/functional/test_doctests_plugin.py::TestDoctestsPlugin::test_start_directory_inside_package", "nose2/test...
[ "nose2/tests/functional/test_loadtests_plugin.py::TestLoadTestsPlugin::test_package" ]
[ "nose2/tests/functional/support/scenario/doctests/docs.rst::docs.rst", "nose2/tests/functional/support/scenario/doctests/doctests_pkg1/docs1.rst::docs1.rst", "nose2/tests/functional/test_loading.py::TestLoadTestsFromPackage::test_function_name", "nose2/tests/functional/test_loading.py::TestLoadTestsFromPackag...
[]
BSD
10
[ "nose2/util.py", "nose2/plugins/loader/discovery.py" ]
[ "nose2/util.py", "nose2/plugins/loader/discovery.py" ]
jpadilla__pyjwt-71
0afba10cf16834e154a59280de089c30de3d9a61
2015-01-06 14:05:07
2d0e8272dbd1372289bff1b8e8eba446bed4befa
jpadilla: @mark-adams ready to move this forward. One thing I'd like to do before merging this in would be to write some comment blocks for the algorithms.
diff --git a/jwt/__init__.py b/jwt/__init__.py index 3a70913..b9a9986 100644 --- a/jwt/__init__.py +++ b/jwt/__init__.py @@ -5,16 +5,15 @@ Minimum implementation based on this spec: http://self-issued.info/docs/draft-jones-json-web-token-01.html """ -import base64 import binascii -import hashlib -import hmac -from...
Move algorithm-specific logic to be class-based to allow for better extensibility In #42, we discussed changing to more of a registry model for registration of algorithms. This issue is suggesting that we move to that sort of a model.
jpadilla/pyjwt
diff --git a/tests/test_jwt.py b/tests/test_jwt.py index a57ab31..bd9ca06 100644 --- a/tests/test_jwt.py +++ b/tests/test_jwt.py @@ -45,6 +45,10 @@ class TestJWT(unittest.TestCase): self.payload = {'iss': 'jeff', 'exp': utc_timestamp() + 15, 'claim': 'insanity'} + def test_registe...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_added_files", "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score":...
0.4
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "cryptography", "pytest" ], "pre_install": null, "python": "3.9", "reqs_path": null, "test_cmd": "pytest --no-header...
cffi==1.17.1 cryptography==44.0.2 exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work packaging @ file:///croot/packaging_1734472117206/work pluggy @ file:///croot/pluggy_1733169602837/work pycparser==2.22 -e git+https://github.com/jpa...
name: pyjwt channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - exceptiongroup=1.2.0=py39h06a4308_0 - iniconfig=1.1.1=pyhd3eb1b0_0 - ld_im...
[ "tests/test_jwt.py::TestJWT::test_register_algorithm_rejects_non_algorithm_obj" ]
[ "tests/test_jwt.py::TestJWT::test_decodes_valid_es384_jwt", "tests/test_jwt.py::TestJWT::test_decodes_valid_rs384_jwt", "tests/test_jwt.py::TestJWT::test_ecdsa_related_algorithms", "tests/test_jwt.py::TestJWT::test_encode_decode_with_ecdsa_sha256", "tests/test_jwt.py::TestJWT::test_encode_decode_with_ecdsa_...
[ "tests/test_jwt.py::TestJWT::test_allow_skip_verification", "tests/test_jwt.py::TestJWT::test_bad_secret", "tests/test_jwt.py::TestJWT::test_bytes_secret", "tests/test_jwt.py::TestJWT::test_check_audience", "tests/test_jwt.py::TestJWT::test_check_audience_in_array", "tests/test_jwt.py::TestJWT::test_check...
[]
MIT License
11
[ "setup.py", "jwt/algorithms.py", "jwt/utils.py", "jwt/__init__.py" ]
[ "setup.py", "jwt/algorithms.py", "jwt/utils.py", "jwt/__init__.py" ]
msiemens__tinydb-46
65c302427777434c3c01bf36eb83ab86e6323a5e
2015-01-07 00:39:47
65c302427777434c3c01bf36eb83ab86e6323a5e
diff --git a/tinydb/database.py b/tinydb/database.py index 31a7483..cdaad19 100644 --- a/tinydb/database.py +++ b/tinydb/database.py @@ -199,7 +199,7 @@ class Table(object): old_ids = self._read().keys() if old_ids: - self._last_id = max(int(i, 10) for i in old_ids) + self._las...
Can not handle data by integer eid The id of the element will change to a unicode string after JSON serialization/deserialization. This causes no way to get the element by integer eid. ```python Python 2.7.6 (default, Sep 9 2014, 15:04:36) [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)] on darwin Type "he...
msiemens/tinydb
diff --git a/tests/test_tinydb.py b/tests/test_tinydb.py index 6f4e435..35b6fc1 100644 --- a/tests/test_tinydb.py +++ b/tests/test_tinydb.py @@ -337,3 +337,34 @@ def test_unicode_json(tmpdir): assert _db.contains(where('value') == unic_str1) assert _db.contains(where('value') == byte_str2) as...
{ "commit_name": "head_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 0 }, "num_modified_files": 1 }
2.2
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.4", "reqs_path": null, "test_cmd": "pytest --no-header -rA --tb=line --col...
attrs @ file:///opt/conda/conda-bld/attrs_1642510447205/work certifi==2021.5.30 importlib-metadata @ file:///tmp/build/80754af9/importlib-metadata_1631916693255/work iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work more-itertools @ file:///tmp/build/80754af9/more-itertools_1637733554872/work pack...
name: tinydb channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - attrs=21.4.0=pyhd3eb1b0_0 - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - importlib-...
[ "tests/test_tinydb.py::test_eids_json" ]
[]
[ "tests/test_tinydb.py::test_purge[db0]", "tests/test_tinydb.py::test_purge[db1]", "tests/test_tinydb.py::test_all[db0]", "tests/test_tinydb.py::test_all[db1]", "tests/test_tinydb.py::test_insert[db0]", "tests/test_tinydb.py::test_insert[db1]", "tests/test_tinydb.py::test_insert_ids[db0]", "tests/test_...
[]
MIT License
12
[ "tinydb/database.py" ]
[ "tinydb/database.py" ]
gabrielfalcao__HTTPretty-207
ac839f7b5a1a09e61e343f87cb399d2d8825bfb1
2015-01-07 15:39:14
2471cd11fe14d8a9384abc53fc1fe0f1b1daecb7
diff --git a/httpretty/core.py b/httpretty/core.py index 25926a0..a1b2469 100644 --- a/httpretty/core.py +++ b/httpretty/core.py @@ -290,9 +290,18 @@ class fakesock(object): self.type = type def connect(self, address): - self._address = (self._host, self._port) = address ...
httpretty crashes if program uses unix sockets ``` def connect(self, address): self._address = (self._host, self._port) = address ``` Crashes with `too many values to unpack` because unix socket addresses are just files. Working on a PR.
gabrielfalcao/HTTPretty
diff --git a/tests/unit/test_httpretty.py b/tests/unit/test_httpretty.py index d26caf4..3059c12 100644 --- a/tests/unit/test_httpretty.py +++ b/tests/unit/test_httpretty.py @@ -353,6 +353,18 @@ def test_fake_socket_passes_through_shutdown(): expect(s.shutdown).called_with(socket.SHUT_RD).should_not.throw(Attribute...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 0, "issue_text_score": 2, "test_score": 2 }, "num_modified_files": 1 }
0.8
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "nose", "coverage", "mock", "sure", "httplib2", "requests", "tornado", "pytest" ], "pre_...
coverage==3.7.1 exceptiongroup==1.2.2 httplib2==0.8 -e git+https://github.com/gabrielfalcao/HTTPretty.git@ac839f7b5a1a09e61e343f87cb399d2d8825bfb1#egg=httpretty iniconfig==2.1.0 mock==1.0.1 nose==1.3.0 packaging==24.2 pluggy==1.5.0 pytest==8.3.5 requests==2.15.1 sure==1.2.3 tomli==2.2.1 tornado==3.2 urllib3==1.7.1
name: HTTPretty channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng...
[ "tests/unit/test_httpretty.py::test_unix_socket" ]
[]
[ "tests/unit/test_httpretty.py::test_httpretty_should_raise_proper_exception_on_inconsistent_length", "tests/unit/test_httpretty.py::test_httpretty_should_raise_on_socket_send_when_uri_registered", "tests/unit/test_httpretty.py::test_httpretty_should_not_raise_on_socket_send_when_uri_not_registered", "tests/un...
[]
MIT License
13
[ "httpretty/core.py" ]
[ "httpretty/core.py" ]
bokeh__bokeh-1641
f531eea62a0c5713575a72fc0e309b8fd9d3aaa9
2015-01-07 18:45:52
06016265b60f9cd6dba0fcf9bb7a5bf64b096244
diff --git a/bokeh/resources.py b/bokeh/resources.py index b78021b7a..3fdf39ebf 100644 --- a/bokeh/resources.py +++ b/bokeh/resources.py @@ -245,7 +245,7 @@ class Resources(object): def pad(text, n=4): return "\n".join([ " "*n + line for line in text.split("\n") ]) - wrapper = lambda code...
$ can get overridden in the Notebook It is (evidently) possible for other libraries to override `$`, and then our use of `$(function() ...)` as `js_wrapper` here: https://github.com/bokeh/bokeh/blob/master/bokeh/resources.py#L248 is fragile, and can cause problems, specifically plots not reloading. This was repo...
bokeh/bokeh
diff --git a/bokeh/tests/test_resources.py b/bokeh/tests/test_resources.py index a94b08daf..3d6858293 100644 --- a/bokeh/tests/test_resources.py +++ b/bokeh/tests/test_resources.py @@ -5,13 +5,13 @@ from os.path import join import bokeh import bokeh.resources as resources -WRAPPER = """$(function() { +WRAPPER = """...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_hyperlinks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 0, "issue_text_score": 0, "test_score": 1 }, "num_modified_files": 1 }
0.7
{ "env_vars": null, "env_yml_path": null, "install": "pip install bokeh", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.9", "reqs_path": null, "te...
bokeh==3.4.3 contourpy==1.3.0 exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work Jinja2==3.1.6 MarkupSafe==3.0.2 numpy==2.0.2 packaging @ file:///croot/packaging_1734472117206/work pandas==2.2.3 pillow==11.1.0 pluggy @ file:///croot/p...
name: bokeh channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - exceptiongroup=1.2.0=py39h06a4308_0 - iniconfig=1.1.1=pyhd3eb1b0_0 - ld_im...
[ "bokeh/tests/test_resources.py::TestResources::test_js_wrapper" ]
[ "bokeh/tests/test_resources.py::TestResources::test_inline", "bokeh/tests/test_resources.py::TestResources::test_log_level" ]
[ "bokeh/tests/test_resources.py::TestResources::test_absolute", "bokeh/tests/test_resources.py::TestResources::test_absolute_dev", "bokeh/tests/test_resources.py::TestResources::test_argument_checks", "bokeh/tests/test_resources.py::TestResources::test_basic", "bokeh/tests/test_resources.py::TestResources::t...
[]
BSD 3-Clause "New" or "Revised" License
15
[ "bokeh/resources.py" ]
[ "bokeh/resources.py" ]
networkx__networkx-1328
c00cf03675a605dd687ef28f7ae312b90f83aedd
2015-01-10 15:27:34
965640e7399c669980243d8b162c4521339f294f
diff --git a/doc/source/developer/gitwash/forking_hell.rst b/doc/source/developer/gitwash/forking_hell.rst index 1e29fc800..26b802ca0 100644 --- a/doc/source/developer/gitwash/forking_hell.rst +++ b/doc/source/developer/gitwash/forking_hell.rst @@ -5,7 +5,7 @@ Making your own copy (fork) of networkx ==================...
(Di)Graph.add_nodes_from broken under IronPython It seems that #1314 breaks (Di)Graph.add_nodes_from in IronPython on Travis pretty badly (see https://travis-ci.org/networkx/networkx/jobs/46474504#L3452 for example). I think that I fixed those functions before. IIRC, that was due to `<dict> in <dict>` returning `false`...
networkx/networkx
diff --git a/doc/source/developer/gitwash/following_latest.rst b/doc/source/developer/gitwash/following_latest.rst index 9498bc359..bfca30786 100644 --- a/doc/source/developer/gitwash/following_latest.rst +++ b/doc/source/developer/gitwash/following_latest.rst @@ -25,33 +25,12 @@ You now have a copy of the code tree in...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 3, "test_score": 3 }, "num_modified_files": 8 }
1.9
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "nose", "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y libgdal-dev graphviz" ], "pyth...
attrs==22.2.0 certifi==2021.5.30 decorator==5.1.1 importlib-metadata==4.8.3 iniconfig==1.1.1 -e git+https://github.com/networkx/networkx.git@c00cf03675a605dd687ef28f7ae312b90f83aedd#egg=networkx nose==1.3.7 packaging==21.3 pluggy==1.0.0 py==1.11.0 pyparsing==3.1.4 pytest==7.0.1 tomli==1.2.3 typing_extensions==4.1.1 zip...
name: networkx channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - l...
[ "networkx/readwrite/json_graph/tests/test_node_link.py::TestNodeLink::test_graph_attributes" ]
[]
[ "networkx/readwrite/json_graph/tests/test_node_link.py::TestNodeLink::test_graph", "networkx/readwrite/json_graph/tests/test_node_link.py::TestNodeLink::test_digraph", "networkx/readwrite/json_graph/tests/test_node_link.py::TestNodeLink::test_multigraph", "networkx/readwrite/json_graph/tests/test_node_link.py...
[]
BSD 3-Clause
19
[ "doc/source/developer/gitwash/git_links.inc", "networkx/classes/graph.py", "networkx/readwrite/json_graph/node_link.py", "networkx/classes/digraph.py", "networkx/drawing/nx_pylab.py", "networkx/__init__.py", "doc/source/developer/gitwash/git_resources.rst", "doc/source/developer/gitwash/forking_hell.r...
[ "doc/source/developer/gitwash/git_links.inc", "networkx/classes/graph.py", "networkx/readwrite/json_graph/node_link.py", "networkx/classes/digraph.py", "networkx/drawing/nx_pylab.py", "networkx/__init__.py", "doc/source/developer/gitwash/git_resources.rst", "doc/source/developer/gitwash/forking_hell.r...
pozytywnie__webapp-health-monitor-12
64bb87f0c5c8ec9863b7daf1fdd3f7ff6532738f
2015-01-12 12:24:43
64bb87f0c5c8ec9863b7daf1fdd3f7ff6532738f
diff --git a/webapp_health_monitor/verificators/base.py b/webapp_health_monitor/verificators/base.py index 0f4b6af..668536a 100644 --- a/webapp_health_monitor/verificators/base.py +++ b/webapp_health_monitor/verificators/base.py @@ -4,8 +4,8 @@ from webapp_health_monitor import errors class Verificator(object): v...
Use standard python logging method Simplify logging by using only build-in logging. Remove forwarding of custom logger class.
pozytywnie/webapp-health-monitor
diff --git a/tests/test_verificators.py b/tests/test_verificators.py index 84190b2..69c0a96 100644 --- a/tests/test_verificators.py +++ b/tests/test_verificators.py @@ -14,55 +14,39 @@ from webapp_health_monitor.verificators.system import ( class RangeVerificatorTest(TestCase): def test_lack_of_value_extractor_...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 2, "test_score": 2 }, "num_modified_files": 1 }
unknown
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.9",...
certifi==2025.1.31 charset-normalizer==3.4.1 coverage==7.8.0 coveralls==4.0.1 docopt==0.6.2 exceptiongroup==1.2.2 idna==3.10 iniconfig==2.1.0 mock==1.0.1 packaging==24.2 pluggy==1.5.0 pytest==8.3.5 pytest-cov==6.0.0 requests==2.32.3 tomli==2.2.1 urllib3==2.3.0 -e git+https://github.com/pozytywnie/webapp-health-monitor....
name: webapp-health-monitor channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 ...
[ "tests/test_verificators.py::RangeVerificatorTest::test_bad_bounds_raises_bad_configuration", "tests/test_verificators.py::RangeVerificatorTest::test_get_value", "tests/test_verificators.py::RangeVerificatorTest::test_lack_of_bounds_raises_bad_configuration", "tests/test_verificators.py::RangeVerificatorTest:...
[]
[]
[]
MIT License
20
[ "webapp_health_monitor/verificators/base.py" ]
[ "webapp_health_monitor/verificators/base.py" ]
Pylons__webob-185
ef371de5e78093efc82eb66117cbacca852c9afa
2015-01-14 17:49:34
9b79f5f913fb1f07c68102a2279ed757a2a9abf6
bertjwregeer: Would you be so kind as to add some extra tests that would add coverage for the changes, that would be fantastic.
diff --git a/webob/acceptparse.py b/webob/acceptparse.py index 42f2643..afa0d8f 100644 --- a/webob/acceptparse.py +++ b/webob/acceptparse.py @@ -274,7 +274,7 @@ class MIMEAccept(Accept): def parse(value): for mask, q in Accept.parse(value): try: - mask_major, mask_minor = map(l...
Accept matching against wildcard offers is not allowed Wildcards cannot be used in 'offered' content types to search for a match: ```python >>> from webob.acceptparse import MIMEAccept >>> accept = MIMEAccept('text/*') >>> 'text/plain' in accept True # Expect this to be True >>> 'text/*' in accept ValueEr...
Pylons/webob
diff --git a/tests/test_acceptparse.py b/tests/test_acceptparse.py index 9183e95..a5e8c15 100644 --- a/tests/test_acceptparse.py +++ b/tests/test_acceptparse.py @@ -271,7 +271,69 @@ def test_match(): assert mimeaccept._match('image/*', 'image/jpg') assert mimeaccept._match('*/*', 'image/jpg') assert not ...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_hyperlinks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 0, "test_score": 1 }, "num_modified_files": 1 }
1.4
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[testing]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest pytest-cov", "pytest" ], "pre_install": null, "python": "3.9", "reqs_path": [ "requirements/...
coverage==7.8.0 exceptiongroup==1.2.2 iniconfig==2.1.0 nose==1.3.7 packaging==24.2 pluggy==1.5.0 pytest==8.3.5 pytest-cov==6.0.0 tomli==2.2.1 -e git+https://github.com/Pylons/webob.git@ef371de5e78093efc82eb66117cbacca852c9afa#egg=WebOb
name: webob channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/test_acceptparse.py::test_wildcard_matching", "tests/test_acceptparse.py::test_mimeaccept_contains" ]
[]
[ "tests/test_acceptparse.py::test_parse_accept_badq", "tests/test_acceptparse.py::test_init_accept_content_type", "tests/test_acceptparse.py::test_init_accept_accept_charset", "tests/test_acceptparse.py::test_init_accept_accept_charset_mixedcase", "tests/test_acceptparse.py::test_init_accept_accept_charset_w...
[]
null
21
[ "webob/acceptparse.py" ]
[ "webob/acceptparse.py" ]
ipython__ipython-7469
296f56bf70643d1d19ae0c1ab2a9d86b326d5559
2015-01-15 00:40:54
148242288b1aeecf899f0d1fb086d13f37024c53
diff --git a/IPython/utils/io.py b/IPython/utils/io.py index df1e39e60..3d236eb4d 100644 --- a/IPython/utils/io.py +++ b/IPython/utils/io.py @@ -267,17 +267,18 @@ def atomic_writing(path, text=True, encoding='utf-8', **kwargs): path = os.path.join(os.path.dirname(path), os.readlink(path)) dirname, basen...
atomic write umask Reported on gitter.im/ipython/ipython by @bigzachattack Sadly no one was on the chat at that time, too busy with a big bearded men dressed in red trying to smuggle things in our houses through the cheminee. ``` I noticed today working in master, that any new notebook I create or copy has p...
ipython/ipython
diff --git a/IPython/utils/tests/test_io.py b/IPython/utils/tests/test_io.py index 023c9641b..aa00a882b 100644 --- a/IPython/utils/tests/test_io.py +++ b/IPython/utils/tests/test_io.py @@ -1,16 +1,9 @@ # encoding: utf-8 """Tests for io.py""" -#------------------------------------------------------------------------...
{ "commit_name": "head_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 2 }, "num_modified_files": 1 }
2.3
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[all]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "mock", "sphinx", "pandoc", "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], ...
alabaster==0.7.13 attrs @ file:///croot/attrs_1668696182826/work Babel==2.14.0 certifi @ file:///croot/certifi_1671487769961/work/certifi charset-normalizer==3.4.1 docutils==0.19 flit_core @ file:///opt/conda/conda-bld/flit-core_1644941570762/work/source/flit_core idna==3.10 imagesize==1.4.1 importlib-metadata @ file:/...
name: ipython channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - attrs=22.1.0=py37h06a4308_0 - ca-certificates=2025.2.25=h06a4308_0 - certifi=2022.12.7=py37h06a4308_0 - flit-co...
[ "IPython/utils/tests/test_io.py::test_atomic_writing_umask" ]
[]
[ "IPython/utils/tests/test_io.py::test_tee_simple", "IPython/utils/tests/test_io.py::TeeTestCase::test", "IPython/utils/tests/test_io.py::test_io_init", "IPython/utils/tests/test_io.py::test_capture_output", "IPython/utils/tests/test_io.py::test_UnicodeStdStream", "IPython/utils/tests/test_io.py::test_Unic...
[]
BSD 3-Clause "New" or "Revised" License
22
[ "IPython/utils/io.py" ]
[ "IPython/utils/io.py" ]
wearpants__twiggy-49
e99fdc19049dd06efdbc6c48e133ea8856a491a7
2015-01-16 16:17:09
e99fdc19049dd06efdbc6c48e133ea8856a491a7
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..28e0a81 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,15 @@ +language: python + +sudo: false +env: + - TOXENV=py26 + - TOXENV=py27 + - TOXENV=py33 + - TOXENV=py34 + - TOXENV=pypy + +install: + - travis_retry pip install tox + +script: + - to...
0.4.x release with Python3 support I'm testing twiggy on an isolated environment with `Python3.4` using `virtualenvwrapper`, here's the scenario: ## Creating the isolated environment: ``` (twiggy) username@username-VirtualBox ~/Devel/twiggy $ mkproject -p /usr/bin/python3 twiggy Running virtualenv with interpre...
wearpants/twiggy
diff --git a/tests/test_globals.py b/tests/test_globals.py index 94fff04..3185c2c 100644 --- a/tests/test_globals.py +++ b/tests/test_globals.py @@ -80,7 +80,7 @@ class GlobalsTestCase(unittest.TestCase): def test_quickSetup_file(self): fname = tempfile.mktemp() - print fname + print(fname...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_added_files", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 2, "test_score": 2 }, "num_modified_files": 5 }
unknown
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.9", "reqs_path...
exceptiongroup==1.2.2 iniconfig==2.1.0 packaging==24.2 pluggy==1.5.0 pytest==8.3.5 tomli==2.2.1 -e git+https://github.com/wearpants/twiggy.git@e99fdc19049dd06efdbc6c48e133ea8856a491a7#egg=Twiggy
name: twiggy channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11...
[ "tests/test_logger.py::InternalLoggerTest::test_bad_options", "tests/test_logger.py::InternalLoggerTest::test_clone", "tests/test_logger.py::InternalLoggerTest::test_critical", "tests/test_logger.py::InternalLoggerTest::test_debug", "tests/test_logger.py::InternalLoggerTest::test_error", "tests/test_logge...
[ "tests/test_globals.py::GlobalsTestCase::test_addEmitters", "tests/test_globals.py::GlobalsTestCase::test_globals", "tests/test_globals.py::GlobalsTestCase::test_populate_globals_twice", "tests/test_globals.py::GlobalsTestCase::test_quickSetup_None", "tests/test_globals.py::GlobalsTestCase::test_quickSetup_...
[]
[]
BSD 3-Clause "New" or "Revised" License
24
[ "twiggy/message.py", "twiggy/logger.py", ".travis.yml", "twiggy/compat.py", "tox.ini", "twiggy/filters.py", "twiggy/__init__.py", "twiggy/lib/converter.py" ]
[ "twiggy/message.py", "twiggy/logger.py", ".travis.yml", "twiggy/compat.py", "tox.ini", "twiggy/filters.py", "twiggy/__init__.py", "twiggy/lib/converter.py" ]
miki725__importanize-22
2046972231a37055b5698d80153b08ff35e6864b
2015-01-18 03:46:10
623d48f8b1dbe3c9604fa22f24f940a6fb764cb6
diff --git a/HISTORY.rst b/HISTORY.rst index 2a6e41e..452409e 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -3,6 +3,13 @@ History ------- +0.3 (2015-01-18) +~~~~~~~~~~~~~~~~ + +* Using tokens to parse Python files. As a result this allows to + fix how comments are handled + (see `#21 <https://github.com/miki725/i...
comments in import produce invalid syntax ``` from a import b, c # noqa ``` is transformed to: ``` from a import ( b, c # noqa, ) ``` which is of course invalid syntax
miki725/importanize
diff --git a/tests/test_data/normal.txt b/tests/test_data/input.txt similarity index 56% rename from tests/test_data/normal.txt rename to tests/test_data/input.txt index 553ab4d..8123578 100644 --- a/tests/test_data/normal.txt +++ b/tests/test_data/input.txt @@ -12,6 +12,13 @@ from a import b from a.b import c from a...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 0, "issue_text_score": 1, "test_score": 0...
0.2
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "nose", "coverage", "pytest" ], "pre_install": null, "python": "3.9", "reqs_path": [ "requirements.t...
cachetools==5.5.2 chardet==5.2.0 colorama==0.4.6 coverage==7.8.0 distlib==0.3.9 exceptiongroup==1.2.2 filelock==3.18.0 flake8==7.2.0 future==1.0.0 -e git+https://github.com/miki725/importanize.git@2046972231a37055b5698d80153b08ff35e6864b#egg=importanize iniconfig==2.1.0 mccabe==0.7.0 mock==5.2.0 nose==1.3.7 packaging==...
name: importanize channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-...
[ "tests/test_groups.py::TestBaseImportGroup::test_add_statement_false", "tests/test_groups.py::TestBaseImportGroup::test_add_statement_true", "tests/test_groups.py::TestBaseImportGroup::test_all_line_numbers", "tests/test_groups.py::TestBaseImportGroup::test_as_string", "tests/test_groups.py::TestBaseImportG...
[]
[]
[]
MIT License
28
[ "Makefile", "importanize/parser.py", "HISTORY.rst", "setup.py", "importanize/main.py", "importanize/__init__.py", "importanize/statements.py", "importanize/groups.py", "importanize/utils.py" ]
[ "Makefile", "importanize/parser.py", "HISTORY.rst", "setup.py", "importanize/main.py", "importanize/__init__.py", "importanize/statements.py", "importanize/groups.py", "importanize/utils.py" ]
nose-devs__nose2-234
5df9a70fe7089b49f42e5ac38a88847b0ba48473
2015-01-18 04:41:59
bbf5897eb1aa224100e86ba594042e4399fd2f5f
diff --git a/nose2/collector.py b/nose2/collector.py index 70fcd87..63a1854 100644 --- a/nose2/collector.py +++ b/nose2/collector.py @@ -13,11 +13,16 @@ def collector(): ok = self._collector(result_) sys.exit(not ok) - def _collector(self, result_): + def _get_objects(self): ...
Layers is incompatible with setuptools test Layers crashes when tests are run from setuptools via nose2.collector.collector ``` Traceback (most recent call last): File "setup.py", line 8, in <module> test_suite="nose2.collector.collector", File "C:\Python34\lib\distutils\core.py", line 149, in setup ...
nose-devs/nose2
diff --git a/nose2/tests/unit/test_collector.py b/nose2/tests/unit/test_collector.py index 358de17..7a24da1 100644 --- a/nose2/tests/unit/test_collector.py +++ b/nose2/tests/unit/test_collector.py @@ -1,3 +1,9 @@ +try: + from unittest import mock +except ImportError: + # Older python versions dont have mock by de...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_modified_files" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 2 }, "num_modified_files": 3 }
0.5
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.4", "reqs_path": [ "requirements.txt" ], "test_cmd": "pyte...
attrs==22.2.0 certifi==2021.5.30 cov-core==1.15.0 coverage==6.2 importlib-metadata==4.8.3 iniconfig==1.1.1 -e git+https://github.com/nose-devs/nose2.git@5df9a70fe7089b49f42e5ac38a88847b0ba48473#egg=nose2 packaging==21.3 pluggy==1.0.0 py==1.11.0 pyparsing==3.1.4 pytest==7.0.1 six==1.17.0 tomli==1.2.3 typing_extensions==...
name: nose2 channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libf...
[ "nose2/tests/unit/test_collector.py::TestCollector::test_collector_sets_testLoader_in_session" ]
[]
[ "nose2/tests/unit/test_collector.py::TestCollector::test_collector_completes_with_no_tests" ]
[]
BSD
29
[ "requirements-py26.txt", "nose2/collector.py", "requirements-2.7.txt" ]
[ "requirements-py26.txt", "nose2/collector.py", "requirements-2.7.txt" ]
martinblech__xmltodict-81
a3a95592b875cc3d2472a431a197c9c1a5d8a788
2015-01-18 14:47:10
b80fc18b7dbf278bf460f514fb4ead693c60d6f7
diff --git a/xmltodict.py b/xmltodict.py index 4fdbb16..b0ba601 100755 --- a/xmltodict.py +++ b/xmltodict.py @@ -318,7 +318,8 @@ def unparse(input_dict, output=None, encoding='utf-8', full_document=True, can be customized with the `newl` and `indent` parameters. """ - ((key, value),) = input_dict.items()...
Parameter to Disable Multiple Root Check I'm trying to convert a dict to an xml snippet, but this xml snippet is just supposed to be part of a later full document, so it may or may not have one root element. Unfortunately a ValueError is thrown if there is more than one possible root element - it would be great if ther...
martinblech/xmltodict
diff --git a/tests/test_dicttoxml.py b/tests/test_dicttoxml.py index e449316..4b1d4b8 100644 --- a/tests/test_dicttoxml.py +++ b/tests/test_dicttoxml.py @@ -49,10 +49,21 @@ class DictToXMLTestCase(unittest.TestCase): self.assertEqual(obj, parse(unparse(obj))) self.assertEqual(unparse(obj), unparse(par...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 2 }, "num_modified_files": 1 }
0.9
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "nose", "coverage", "pytest" ], "pre_install": null, "python": "3.9", "reqs_path": null, "test_cmd": "pytest --n...
coverage==7.8.0 exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work nose==1.3.7 packaging @ file:///croot/packaging_1734472117206/work pluggy @ file:///croot/pluggy_1733169602837/work pytest @ file:///croot/pytest_1738938843180/work to...
name: xmltodict channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - exceptiongroup=1.2.0=py39h06a4308_0 - iniconfig=1.1.1=pyhd3eb1b0_0 - l...
[ "tests/test_dicttoxml.py::DictToXMLTestCase::test_multiple_roots_nofulldoc", "tests/test_dicttoxml.py::DictToXMLTestCase::test_no_root_nofulldoc" ]
[]
[ "tests/test_dicttoxml.py::DictToXMLTestCase::test_attr_order_roundtrip", "tests/test_dicttoxml.py::DictToXMLTestCase::test_attrib", "tests/test_dicttoxml.py::DictToXMLTestCase::test_attrib_and_cdata", "tests/test_dicttoxml.py::DictToXMLTestCase::test_cdata", "tests/test_dicttoxml.py::DictToXMLTestCase::test...
[]
MIT License
30
[ "xmltodict.py" ]
[ "xmltodict.py" ]
jacebrowning__dropthebeat-25
3f0891ee65703490136f44851c06b8356992a05c
2015-01-19 02:00:09
3f0891ee65703490136f44851c06b8356992a05c
diff --git a/dtb/gui.py b/dtb/gui.py index f96defc..7651d52 100755 --- a/dtb/gui.py +++ b/dtb/gui.py @@ -193,13 +193,19 @@ class Application(ttk.Frame): # pragma: no cover - manual test, pylint: disable def do_ignore(self): """Ignore selected songs.""" for index in (int(s) for s in self.listbox_...
Strange Behavior when download path does not exist If my download path does not exist on my machine I end up with a file named whatever is the directory was supposed to be. e.g. Download path: `~/jkloo/downloads/fake` The directory `fake` does not exist. The result is a file (`testfile.jpg`) downloads as `fake` i...
jacebrowning/dropthebeat
diff --git a/dtb/test/test_song.py b/dtb/test/test_song.py index c80778a..250dfa8 100644 --- a/dtb/test/test_song.py +++ b/dtb/test/test_song.py @@ -100,10 +100,22 @@ class TestSong(unittest.TestCase): # pylint: disable=R0904 mock_remove.assert_called_once_with(self.broken.path) @patch('os.remove', Moc...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_media", "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 1 }, "num_modif...
0.0
{ "env_vars": null, "env_yml_path": null, "install": "python setup.py install", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "nose", "pytest" ], "pre_install": null, "python": "3.9", "reqs_path": [ "requirements.txt" ], "te...
DropTheBeat==0.1.dev0 exceptiongroup==1.2.2 iniconfig==2.1.0 nose==1.3.7 packaging==24.2 pluggy==1.5.0 pytest==8.3.5 PyYAML==3.13 tomli==2.2.1
name: dropthebeat channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-...
[ "dtb/test/test_song.py::TestSong::test_download_error_uncaught" ]
[]
[ "dtb/test/test_song.py::TestSong::test_download_broken", "dtb/test/test_song.py::TestSong::test_download_error_caught", "dtb/test/test_song.py::TestSong::test_download_invalid_dest", "dtb/test/test_song.py::TestSong::test_download_link", "dtb/test/test_song.py::TestSong::test_download_song", "dtb/test/tes...
[]
The MIT License (MIT)
31
[ "dtb/gui.py", "dtb/song.py" ]
[ "dtb/gui.py", "dtb/song.py" ]
softlayer__softlayer-python-481
d14a960c929240af09d77717ab5772b22d00e6b1
2015-01-24 02:50:13
200787d4c3bf37bc4e701caf6a52e24dd07d18a3
diff --git a/SoftLayer/CLI/routes.py b/SoftLayer/CLI/routes.py index 67675738..507ce234 100644 --- a/SoftLayer/CLI/routes.py +++ b/SoftLayer/CLI/routes.py @@ -149,6 +149,7 @@ ('server:reboot', 'SoftLayer.CLI.server.power:reboot'), ('server:reload', 'SoftLayer.CLI.server.reload:cli'), ('server:credentials...
Firmware Update Please add the ability to the API and CLI to update the server's firmware. http://sldn.softlayer.com/reference/services/SoftLayer_Hardware_Server/createFirmwareUpdateTransaction
softlayer/softlayer-python
diff --git a/SoftLayer/testing/fixtures/SoftLayer_Hardware_Server.py b/SoftLayer/testing/fixtures/SoftLayer_Hardware_Server.py index 6da486e1..f8828daa 100644 --- a/SoftLayer/testing/fixtures/SoftLayer_Hardware_Server.py +++ b/SoftLayer/testing/fixtures/SoftLayer_Hardware_Server.py @@ -70,6 +70,7 @@ rebootSoft = True ...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_hyperlinks", "has_added_files", "has_many_modified_files" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 2, "test_score": 2 },...
3.3
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.6", "reqs_path...
alabaster==0.7.13 attrs==22.2.0 Babel==2.11.0 certifi==2021.5.30 charset-normalizer==2.0.12 click==8.0.4 coverage==6.2 distlib==0.3.9 docutils==0.18.1 filelock==3.4.1 fixtures==4.0.1 idna==3.10 imagesize==1.4.1 importlib-metadata==4.8.3 importlib-resources==5.4.0 iniconfig==1.1.1 Jinja2==3.0.3 MarkupSafe==2.0.1 mock==5...
name: softlayer-python channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - ld_impl_linux-64=2.40=h12ee557...
[ "SoftLayer/tests/CLI/modules/server_tests.py::ServerCLITests::test_update_firmware", "SoftLayer/tests/managers/hardware_tests.py::HardwareTests::test_update_firmware", "SoftLayer/tests/managers/hardware_tests.py::HardwareTests::test_update_firmware_selective" ]
[]
[ "SoftLayer/tests/CLI/modules/server_tests.py::ServerCLITests::test_cancel_server", "SoftLayer/tests/CLI/modules/server_tests.py::ServerCLITests::test_create_server", "SoftLayer/tests/CLI/modules/server_tests.py::ServerCLITests::test_create_server_for_bmc", "SoftLayer/tests/CLI/modules/server_tests.py::ServerC...
[]
MIT License
33
[ "SoftLayer/CLI/routes.py", "SoftLayer/CLI/server/update_firmware.py", "SoftLayer/managers/hardware.py", "SoftLayer/transports.py" ]
[ "SoftLayer/CLI/routes.py", "SoftLayer/CLI/server/update_firmware.py", "SoftLayer/managers/hardware.py", "SoftLayer/transports.py" ]
bokeh__bokeh-1760
f161e86976a3ebcc15844339c757ff2e7fb0d9b7
2015-01-24 13:03:44
06016265b60f9cd6dba0fcf9bb7a5bf64b096244
diff --git a/bokeh/properties.py b/bokeh/properties.py index a7304e85d..d234beeb3 100644 --- a/bokeh/properties.py +++ b/bokeh/properties.py @@ -1091,7 +1091,7 @@ class DashPattern(Either): } def __init__(self, default=[], help=None): - types = Enum(enums.DashPattern), Regex(r"^(\d+(\s+\d+)*)?$"), Li...
bokeh.plotting.patches line_dash argument only takes a list The `bokeh.plotting.patches` renderer requires the argument to `line_dash` to be a list, it should probably take list and tuple
bokeh/bokeh
diff --git a/bokeh/tests/test_properties.py b/bokeh/tests/test_properties.py index a520745b3..08b27b501 100644 --- a/bokeh/tests/test_properties.py +++ b/bokeh/tests/test_properties.py @@ -330,6 +330,25 @@ class TestDashPattern(unittest.TestCase): with self.assertRaises(ValueError): f.pat = [2, "a...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 0, "issue_text_score": 0, "test_score": 0 }, "num_modified_files": 1 }
0.7
{ "env_vars": null, "env_yml_path": null, "install": "pip install bokeh", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.9", "reqs_path": null, "te...
bokeh==3.4.3 contourpy==1.3.0 exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work Jinja2==3.1.6 MarkupSafe==3.0.2 numpy==2.0.2 packaging @ file:///croot/packaging_1734472117206/work pandas==2.2.3 pillow==11.1.0 pluggy @ file:///croot/p...
name: bokeh channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - exceptiongroup=1.2.0=py39h06a4308_0 - iniconfig=1.1.1=pyhd3eb1b0_0 - ld_im...
[ "bokeh/tests/test_properties.py::TestDashPattern::test_list", "bokeh/tests/test_properties.py::TestProperties::test_DashPattern" ]
[]
[ "bokeh/tests/test_properties.py::Basictest::test_enum", "bokeh/tests/test_properties.py::Basictest::test_inheritance", "bokeh/tests/test_properties.py::Basictest::test_no_parens", "bokeh/tests/test_properties.py::Basictest::test_set", "bokeh/tests/test_properties.py::Basictest::test_simple_class", "bokeh/...
[]
BSD 3-Clause "New" or "Revised" License
34
[ "bokeh/properties.py" ]
[ "bokeh/properties.py" ]
ipython__ipython-7819
92333e1084ea0d6ff91b55434555e741d2274dc7
2015-02-19 20:14:23
9e486f4cba27a9d43f75363e60d5371f6c18855c
diff --git a/IPython/html/static/notebook/js/actions.js b/IPython/html/static/notebook/js/actions.js index 828b724e7..40816144e 100644 --- a/IPython/html/static/notebook/js/actions.js +++ b/IPython/html/static/notebook/js/actions.js @@ -79,7 +79,6 @@ define(function(require){ } }, 'select...
Inspect requests inside a function call should be smarter about what they inspect. Previously, `func(a, b, <shift-tab>` would give information on `func`, now it gives information on `b`, which is not especially helpful. This is because we removed logic from the frontend to make it more language agnostic, and we have...
ipython/ipython
diff --git a/IPython/utils/tests/test_tokenutil.py b/IPython/utils/tests/test_tokenutil.py index be9cb578a..ff3efc75c 100644 --- a/IPython/utils/tests/test_tokenutil.py +++ b/IPython/utils/tests/test_tokenutil.py @@ -48,13 +48,28 @@ def test_multiline(): start = cell.index(expected) + 1 for i in range(start, ...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 1 }, "num_modified_files": 5 }
2.4
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[all]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "mock", "sphinx", "pandoc", "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], ...
alabaster==0.7.13 attrs @ file:///croot/attrs_1668696182826/work Babel==2.14.0 certifi @ file:///croot/certifi_1671487769961/work/certifi charset-normalizer==3.4.1 docutils==0.19 flit_core @ file:///opt/conda/conda-bld/flit-core_1644941570762/work/source/flit_core idna==3.10 imagesize==1.4.1 importlib-metadata @ file:/...
name: ipython channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - attrs=22.1.0=py37h06a4308_0 - ca-certificates=2025.2.25=h06a4308_0 - certifi=2022.12.7=py37h06a4308_0 - flit-co...
[ "IPython/utils/tests/test_tokenutil.py::test_nested_call" ]
[]
[ "IPython/utils/tests/test_tokenutil.py::test_simple", "IPython/utils/tests/test_tokenutil.py::test_function", "IPython/utils/tests/test_tokenutil.py::test_multiline", "IPython/utils/tests/test_tokenutil.py::test_attrs", "IPython/utils/tests/test_tokenutil.py::test_line_at_cursor" ]
[]
BSD 3-Clause "New" or "Revised" License
39
[ "IPython/html/static/notebook/js/quickhelp.js", "examples/Notebook/Notebook", "IPython/html/static/notebook/js/actions.js", "examples/Notebook/Notebook Basics.ipynb", "IPython/utils/tokenutil.py", "IPython/html/static/widgets/js/widget.js" ]
[ "IPython/html/static/notebook/js/quickhelp.js", "IPython/html/static/notebook/js/actions.js", "sics.ipynb", "examples/Notebook/Notebook Basics.ipynb", "IPython/utils/tokenutil.py", "IPython/html/static/widgets/js/widget.js" ]
grampajoe__happy-6
7121a2d81b511fd198624ddb37526ef541ffd2c6
2015-02-22 19:55:52
5452df62558066dc7b6f1ee408f55bc60da6bdf7
diff --git a/README.rst b/README.rst index 1acae81..738e6ed 100644 --- a/README.rst +++ b/README.rst @@ -75,6 +75,13 @@ happy can find it later. logged in through Heroku CLI, i.e. your token is stored in your ``netrc`` file. +- ``--env`` + + (optional) Environment variable overrides, e.g. ``--env KEY=value``. ...
Add an --env option to pass env overrides There should be an `--env` option for `happy up` that allows passing env overrides to the `app-setups` endpoint.
grampajoe/happy
diff --git a/tests/test_cli.py b/tests/test_cli.py index b613880..2bfaeb8 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -96,6 +96,26 @@ def test_up_no_tarball_url(happy, runner): assert 'no tarball' in result.output.lower() +def test_up_env(happy, runner): + """Running up --env should pass envir...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 0, "issue_text_score": 1, "test_score": 0 }, "num_modified_files"...
1.1
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov", "pytest-flake8", "mock" ], "pre_install": [ "apt-get update", "apt-get i...
certifi==2025.1.31 charset-normalizer==3.4.1 click==8.1.8 coverage==7.8.0 exceptiongroup==1.2.2 flake8==7.2.0 -e git+https://github.com/grampajoe/happy.git@7121a2d81b511fd198624ddb37526ef541ffd2c6#egg=happy idna==3.10 iniconfig==2.1.0 mccabe==0.7.0 mock==5.2.0 packaging==24.2 pluggy==1.5.0 pycodestyle==2.13.0 pyflakes=...
name: happy channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/test_cli.py::test_up_env", "tests/test_happy.py::test_create", "tests/test_happy.py::test_create_env", "tests/test_heroku.py::test_heroku_create_build_env" ]
[]
[ "tests/test_cli.py::test_help", "tests/test_cli.py::test_up", "tests/test_cli.py::test_up_auth_token", "tests/test_cli.py::test_up_tarball_url", "tests/test_cli.py::test_up_tarball_url_app_json", "tests/test_cli.py::test_up_no_tarball_url", "tests/test_cli.py::test_up_writes_app_name", "tests/test_cli...
[]
MIT License
41
[ "README.rst", "happy/__init__.py", "happy/cli.py", "happy/heroku.py" ]
[ "README.rst", "happy/__init__.py", "happy/cli.py", "happy/heroku.py" ]
Juniper__py-junos-eznc-351
c561ed6f7e16b63a2d71c410c1ce2acc4fa75ed8
2015-02-23 20:42:02
b6e548b7342bc5b867af03d08c65564768c340b0
diff --git a/lib/jnpr/junos/exception.py b/lib/jnpr/junos/exception.py index 6e3a89fa..390dc34e 100644 --- a/lib/jnpr/junos/exception.py +++ b/lib/jnpr/junos/exception.py @@ -1,4 +1,3 @@ -from lxml import etree from jnpr.junos import jxml @@ -129,6 +128,9 @@ class ConnectError(Exception): """ Parent clas...
Invalid host key error not caught If the `~.ssh/known_hosts` file contains an invalid entry (in my case, caused by a missing newline) then PyEZ will only return the nondescript `ConnectError` message. The failure comes from the **ncclient** `manager.connect()` function which, in turn, calls **paramiko**'s `load_know...
Juniper/py-junos-eznc
diff --git a/tests/unit/test_exception.py b/tests/unit/test_exception.py index bf340cd9..99821e75 100644 --- a/tests/unit/test_exception.py +++ b/tests/unit/test_exception.py @@ -61,14 +61,19 @@ class Test_RpcError(unittest.TestCase): self.assertEqual(obj.rpc_error['bad_element'], 'unit 2') def test_Con...
{ "commit_name": "head_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "llm_score": { "difficulty_score": 2, "issue_text_score": 1, "test_score": 0 }, "num_modified_files": 1 }
1.1
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "coverage", "mock", "nose", "pep8", "pyflakes", "coveralls", "ntc_templates", "cryptography=...
bcrypt==4.2.1 certifi @ file:///croot/certifi_1671487769961/work/certifi cffi==1.15.1 charset-normalizer==3.4.1 coverage==6.5.0 coveralls==3.3.1 cryptography==44.0.2 docopt==0.6.2 exceptiongroup==1.2.2 future==1.0.0 idna==3.10 importlib-metadata==6.7.0 iniconfig==2.0.0 Jinja2==3.1.6 -e git+https://github.com/Juniper/py...
name: py-junos-eznc channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2022.12.7=py37h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 ...
[ "tests/unit/test_exception.py::Test_RpcError::test_ConnectError_msg" ]
[]
[ "tests/unit/test_exception.py::Test_RpcError::test_CommitError_repr", "tests/unit/test_exception.py::Test_RpcError::test_ConfigLoadError_repr", "tests/unit/test_exception.py::Test_RpcError::test_ConnectError", "tests/unit/test_exception.py::Test_RpcError::test_RpcTimeoutError_repr", "tests/unit/test_excepti...
[]
Apache License 2.0
42
[ "lib/jnpr/junos/exception.py" ]
[ "lib/jnpr/junos/exception.py" ]
richardkiss__pycoin-88
f1460bae2d7cda77f1380ec08e7bbe1f38a34163
2015-02-25 16:42:19
7833e86ac5260f784ded567dcec42d63cee036aa
diff --git a/CREDITS b/CREDITS index 55e4cc4..c21c03b 100644 --- a/CREDITS +++ b/CREDITS @@ -14,7 +14,7 @@ Mike Owens https://github.com/mike0wens Todd Boland https://github.com/boland https://github.com/ap-m Roman Zeyde https://github.com/romanz -Matthew Bogosian https://github.com/mbogosian +Matt Bogosian https://...
Fixed in PR #88 - Key.is_private (which is always True) is used in some places instead of Key.is_private() (which is sometimes False) See, e.g.: https://github.com/richardkiss/pycoin/blob/5a3f30986dec6b4e82c45c0955c139891ce8ba0f/pycoin/key/Key.py#L223 https://github.com/richardkiss/pycoin/blob/5a3f30986dec6b4e82c45...
richardkiss/pycoin
diff --git a/tests/bip32_test.py b/tests/bip32_test.py index fa2c37b..75bb2a9 100755 --- a/tests/bip32_test.py +++ b/tests/bip32_test.py @@ -151,6 +151,20 @@ class Bip0032TestCase(unittest.TestCase): uag = my_prv.subkey(i=0, is_hardened=True, as_private=True) self.assertEqual(None, uag.subkey(i=0, as_...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 3 }, "num_modified_files"...
0.52
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.9", "reqs_path": [ "pip-req.txt" ], "test_cmd": "pytest --no-he...
exceptiongroup==1.2.2 iniconfig==2.1.0 packaging==24.2 pluggy==1.5.0 -e git+https://github.com/richardkiss/pycoin.git@f1460bae2d7cda77f1380ec08e7bbe1f38a34163#egg=pycoin pytest==8.3.5 tomli==2.2.1
name: pycoin channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11...
[ "tests/bip32_test.py::Bip0032TestCase::test_repr", "tests/key_validate_test.py::KeyUtilsTest::test_repr" ]
[]
[ "tests/bip32_test.py::Bip0032TestCase::test_public_subkey", "tests/bip32_test.py::Bip0032TestCase::test_streams", "tests/bip32_test.py::Bip0032TestCase::test_testnet", "tests/bip32_test.py::Bip0032TestCase::test_vector_1", "tests/bip32_test.py::Bip0032TestCase::test_vector_2", "tests/key_validate_test.py:...
[]
MIT License
43
[ "pycoin/key/Key.py", "pycoin/scripts/genwallet.py", "CREDITS" ]
[ "pycoin/key/Key.py", "pycoin/scripts/genwallet.py", "CREDITS" ]
ipython__ipython-7872
cbcf741896140953195ea9cd3de0f10c3f28bef1
2015-02-25 22:51:22
9e486f4cba27a9d43f75363e60d5371f6c18855c
diff --git a/IPython/config/manager.py b/IPython/config/manager.py index 429bfaa97..0628a6afa 100644 --- a/IPython/config/manager.py +++ b/IPython/config/manager.py @@ -86,7 +86,7 @@ def set(self, section_name, data): else: f = open(filename, 'wb') with f: - json.dump(data, f, ...
Default DOMWidget Padding should be 0px, and Button styling issue @jdfreder ![padding](https://cloud.githubusercontent.com/assets/2397974/6379572/53fb8cfc-bd01-11e4-9786-f350566688b0.png)
ipython/ipython
diff --git a/IPython/html/services/sessions/tests/test_sessionmanager.py b/IPython/html/services/sessions/tests/test_sessionmanager.py index 78036c961..36980bd6a 100644 --- a/IPython/html/services/sessions/tests/test_sessionmanager.py +++ b/IPython/html/services/sessions/tests/test_sessionmanager.py @@ -6,7 +6,6 @@ ...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_hyperlinks", "has_media", "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "is...
2.4
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[all]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "mock", "sphinx", "pandoc", "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], ...
alabaster==0.7.13 attrs @ file:///croot/attrs_1668696182826/work Babel==2.14.0 certifi @ file:///croot/certifi_1671487769961/work/certifi charset-normalizer==3.4.1 docutils==0.19 flit_core @ file:///opt/conda/conda-bld/flit-core_1644941570762/work/source/flit_core idna==3.10 imagesize==1.4.1 importlib-metadata @ file:/...
name: ipython channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - attrs=22.1.0=py37h06a4308_0 - ca-certificates=2025.2.25=h06a4308_0 - certifi=2022.12.7=py37h06a4308_0 - flit-co...
[ "IPython/html/services/sessions/tests/test_sessionmanager.py::TestSessionManager::test_bad_delete_session", "IPython/html/services/sessions/tests/test_sessionmanager.py::TestSessionManager::test_bad_get_session", "IPython/html/services/sessions/tests/test_sessionmanager.py::TestSessionManager::test_bad_update_s...
[]
[]
[]
BSD 3-Clause "New" or "Revised" License
44
[ "IPython/nbconvert/postprocessors/serve.py", "IPython/html/widgets/interaction.py", "IPython/html/services/config/manager.py", "examples/Interactive", "docs/source/parallel/dag_dependencies.rst", "IPython/html/static/style/ipython.min.css", "IPython/html/widgets/widget.py", "examples/Interactive Widge...
[ "IPython/nbconvert/postprocessors/serve.py", "IPython/html/widgets/interaction.py", "IPython/html/services/config/manager.py", "docs/source/parallel/dag_dependencies.rst", "IPython/html/static/style/ipython.min.css", "IPython/html/widgets/widget.py", "examples/Interactive Widgets/Index.ipynb", "IPytho...
Shopify__shopify_python_api-89
63c4a8dd026a60bce7880eeba792e1aeeaccc471
2015-02-26 16:57:37
c29e0ecbed9de67dd923f980a3ac053922dab75e
gavinballard: The build failures here are the same as those mentioned in PR #86 (issue with `pyactiveresource` and Python v2.7.9).
diff --git a/CHANGELOG b/CHANGELOG index 4301098..00fe323 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -2,6 +2,7 @@ * Added Checkout resource * Updated to pyactiveresource v2.1.1 which includes a test-related bugfix +* Changed OAuth validation from MD5 to HMAC-SHA256 == Version 2.1.0 diff --git a/shopify/session....
Update MD5 Signature validation to HMAC Docs say that MD5 signature validation 'To be removed after June 1st, 2015' It appears ```Session``` is still doing it this way vs HMAC
Shopify/shopify_python_api
diff --git a/test/session_test.py b/test/session_test.py index c8c1643..c85eb4b 100644 --- a/test/session_test.py +++ b/test/session_test.py @@ -113,24 +113,54 @@ class SessionTest(TestCase): session = shopify.Session("testshop.myshopify.com", "any-token") self.assertEqual("https://testshop.myshopify....
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 1, "test_score": 0...
2.1
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "mock>=1.0.1", "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.9"...
exceptiongroup==1.2.2 iniconfig==2.1.0 mock==5.2.0 packaging==24.2 pluggy==1.5.0 pyactiveresource==2.2.2 pytest==8.3.5 PyYAML==6.0.2 -e git+https://github.com/Shopify/shopify_python_api.git@63c4a8dd026a60bce7880eeba792e1aeeaccc471#egg=ShopifyAPI six==1.17.0 tomli==2.2.1
name: shopify_python_api channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - ...
[ "test/session_test.py::SessionTest::test_hmac_calculation", "test/session_test.py::SessionTest::test_raise_error_if_hmac_does_not_match_expected", "test/session_test.py::SessionTest::test_raise_error_if_timestamp_is_too_old", "test/session_test.py::SessionTest::test_return_token_if_hmac_is_valid", "test/ses...
[]
[ "test/session_test.py::SessionTest::test_be_valid_with_any_token_and_any_url", "test/session_test.py::SessionTest::test_create_permission_url_returns_correct_url_with_dual_scope_no_redirect_uri", "test/session_test.py::SessionTest::test_create_permission_url_returns_correct_url_with_no_scope_no_redirect_uri", ...
[]
MIT License
45
[ "CHANGELOG", "shopify/session.py" ]
[ "CHANGELOG", "shopify/session.py" ]
pre-commit__pre-commit-hooks-39
9f107a03276857c668fe3e090752d3d22a4195e5
2015-02-27 02:24:38
f82fb149af2c1b552b50e3e38e38ed3a44d4cda1
diff --git a/pre_commit_hooks/autopep8_wrapper.py b/pre_commit_hooks/autopep8_wrapper.py index a79a120..f6f55fb 100644 --- a/pre_commit_hooks/autopep8_wrapper.py +++ b/pre_commit_hooks/autopep8_wrapper.py @@ -10,7 +10,7 @@ import autopep8 def main(argv=None): argv = argv if argv is not None else sys.argv[1:] - ...
Autopep8 doesn't respect pep8 section in setup.cfg Since https://github.com/hhatto/autopep8/pull/167 autopep8 has started reading the ```pep8``` section from ```tox.ini``` or ```setup.cfg``` of a project. However, the autopep8 hook ignores this as it calls ```autopep8.parse_args()``` and ```autopep8.fix_code()``` witho...
pre-commit/pre-commit-hooks
diff --git a/tests/autopep8_wrapper_test.py b/tests/autopep8_wrapper_test.py index f32e8a0..9a395c9 100644 --- a/tests/autopep8_wrapper_test.py +++ b/tests/autopep8_wrapper_test.py @@ -2,7 +2,7 @@ from __future__ import absolute_import from __future__ import unicode_literals import io -import os.path +import os ...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_modified_files" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 3 }, "num_modified_files": 2 }
0.4
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "flake8", "pylint" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "pytho...
astroid==3.3.9 autopep8==2.3.2 dill==0.3.9 exceptiongroup==1.2.2 flake8==7.2.0 iniconfig==2.1.0 isort==6.0.1 mccabe==0.7.0 packaging==24.2 platformdirs==4.3.7 pluggy==1.5.0 plumbum==1.9.0 -e git+https://github.com/pre-commit/pre-commit-hooks.git@9f107a03276857c668fe3e090752d3d22a4195e5#egg=pre_commit_hooks pycodestyle=...
name: pre-commit-hooks channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - li...
[ "tests/autopep8_wrapper_test.py::test_respects_config_file" ]
[]
[ "tests/autopep8_wrapper_test.py::test_main_failing[print(1" ]
[]
MIT License
46
[ "setup.py", "pre_commit_hooks/autopep8_wrapper.py" ]
[ "setup.py", "pre_commit_hooks/autopep8_wrapper.py" ]
jacebrowning__yorm-52
59a6372eb90fe702863c3e231dffc1ed367b7613
2015-03-01 01:11:13
59a6372eb90fe702863c3e231dffc1ed367b7613
diff --git a/CHANGES.md b/CHANGES.md index 6116a4c..9653aeb 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,6 +1,11 @@ Changelog ========= +0.3 (dev) +--------- + +- Updated mapped objects to only read from the filesystem if there are changes. + 0.2.1 (2015-2-12) ----------------- diff --git a/yorm/__init__.py b...
Reload the file only after a configurable timeout has occurred Or, only read from the file if it **has** actually changed. <bountysource-plugin> --- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/4360121-reload-the-file-only-after-a-configurable-timeout-has-occurred?utm_campa...
jacebrowning/yorm
diff --git a/yorm/test/test_all.py b/yorm/test/test_all.py index ea57b45..0d60905 100644 --- a/yorm/test/test_all.py +++ b/yorm/test/test_all.py @@ -3,6 +3,9 @@ """Integration tests for the `yorm` package.""" +import time +import logging + import pytest from yorm import store, store_instances, map_attr, Conver...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_hyperlinks", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 2, "test_score": 3 }, ...
0.2
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.9",...
coverage==7.8.0 exceptiongroup==1.2.2 iniconfig==2.1.0 packaging==24.2 pluggy==1.5.0 pytest==8.3.5 pytest-cov==6.0.0 PyYAML==3.13 tomli==2.2.1 -e git+https://github.com/jacebrowning/yorm.git@59a6372eb90fe702863c3e231dffc1ed367b7613#egg=YORM
name: yorm channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11.2...
[ "yorm/test/test_base.py::TestMappable::test_init", "yorm/test/test_base.py::TestMappable::test_set", "yorm/test/test_base.py::TestMappable::test_set_converted", "yorm/test/test_base.py::TestMappable::test_set_error", "yorm/test/test_base.py::TestMappable::test_get", "yorm/test/test_base.py::TestMappable::...
[ "yorm/test/test_utilities.py::TestStore::test_store", "yorm/test/test_utilities.py::TestStore::test_retrieve", "yorm/test/test_utilities.py::TestStoreInstances::test_store", "yorm/test/test_utilities.py::TestStoreInstances::test_retrieve" ]
[ "yorm/test/test_all.py::test_imports", "yorm/test/test_base.py::TestConverter::test_not_implemented", "yorm/test/test_mapper.py::TestFake::test_create", "yorm/test/test_mapper.py::TestFake::test_delete", "yorm/test/test_mapper.py::TestReal::test_create", "yorm/test/test_mapper.py::TestReal::test_create_tw...
[]
MIT License
49
[ "yorm/utilities.py", "CHANGES.md", "yorm/common.py", "yorm/base.py", "yorm/__init__.py", "yorm/mapper.py" ]
[ "yorm/utilities.py", "CHANGES.md", "yorm/common.py", "yorm/base.py", "yorm/__init__.py", "yorm/mapper.py" ]
crccheck__postdoc-17
4080450041ae86b295a2e1f8aea2018bf5e4b32a
2015-03-02 04:21:22
4080450041ae86b295a2e1f8aea2018bf5e4b32a
diff --git a/README.rst b/README.rst index 599ed6e..c4e5cb4 100644 --- a/README.rst +++ b/README.rst @@ -49,7 +49,9 @@ You can do MySQL stuff too:: If your database url isn't `DATABASE_URL`, you can connect to it by making it the first argument:: + $ export FATTYBASE_URL=postgres://fatty@fat/phat $ phd FATT...
Add a way to let the user decide if postdoc outputs anything at all As a human using postdoc, I want to be able to see what it's doing under the hood. But if I were a script, I may not want any output at all.
crccheck/postdoc
diff --git a/test_postdoc.py b/test_postdoc.py index 0715a83..a61568a 100644 --- a/test_postdoc.py +++ b/test_postdoc.py @@ -12,6 +12,12 @@ import mock import postdoc +# Just a reminder to myself that if I set DATABASE_URL, it will mess up the +# test suite +if 'DATABASE_URL' in os.environ: + exit('Re-run tests...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 3 }, "num_modified_files": 2 }
0.3
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "pytest", "mock" ], "pre_install": [ "find . -name '*.pyc' -delete", "find . -name '.DS_Store' -delete", "rm -rf *....
exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work mock==5.2.0 packaging @ file:///croot/packaging_1734472117206/work pluggy @ file:///croot/pluggy_1733169602837/work -e git+https://github.com/crccheck/postdoc.git@4080450041ae86b295a2...
name: postdoc channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - exceptiongroup=1.2.0=py39h06a4308_0 - iniconfig=1.1.1=pyhd3eb1b0_0 - ld_...
[ "test_postdoc.py::PHDTest::test_main_can_do_a_dry_run_to_stdout", "test_postdoc.py::PHDTest::test_main_command_debug_can_be_quiet", "test_postdoc.py::PHDTest::test_make_tokens_and_env_can_use_alternate_url", "test_postdoc.py::PHDTest::test_make_tokens_and_env_exits_with_bad_command", "test_postdoc.py::PHDTe...
[]
[ "test_postdoc.py::ConnectBitsTest::test_connect_bits_supported_schemas", "test_postdoc.py::ConnectBitsTest::test_mysql_connect_bits_trivial_case", "test_postdoc.py::ConnectBitsTest::test_mysql_connect_bits_works", "test_postdoc.py::ConnectBitsTest::test_pg_connect_bits_trivial_case", "test_postdoc.py::Conne...
[]
Apache License 2.0
51
[ "README.rst", "postdoc.py" ]
[ "README.rst", "postdoc.py" ]
thisfred__val-9
a60e8de415d9ed855570fc09ee14a5974532cf07
2015-03-03 07:49:35
a60e8de415d9ed855570fc09ee14a5974532cf07
coveralls: [![Coverage Status](https://coveralls.io/builds/2031381/badge)](https://coveralls.io/builds/2031381) Coverage remained the same at 100.0% when pulling **8f5f8492be58f84c36c8751ec81a90b9d4f64353 on collect-all-errors** into **a60e8de415d9ed855570fc09ee14a5974532cf07 on master**.
diff --git a/README.rst b/README.rst index bc413c0..33d435d 100644 --- a/README.rst +++ b/README.rst @@ -184,11 +184,10 @@ not missing any of the keys specified (unless they are specified as >>> schema.validates({'foo': 12, 'bar': 888, 'baz': 299}) True - >>> schema.validate({'foo': 'bar'}) + >>> sche...
Return all validation errors, rather than just the first one. Currently val's ValidationErrors only contain a single validation error message, even if the data was invalid in more than one way. This makes validation a tiny bit faster, but at the expense of not being as informative as it could be. I think I am going to ...
thisfred/val
diff --git a/tests/test_val.py b/tests/test_val.py index c60bf63..fa4825b 100644 --- a/tests/test_val.py +++ b/tests/test_val.py @@ -487,3 +487,10 @@ def test_cannot_change_definition(): schema = Schema({"foo": "bar"}) with pytest.raises(AttributeError): schema.definition = {"qux": "baz"} + + +def te...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 2, "test_score": 3 }, "num_modified_files": 4 }
0.5
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov", "flake8", "coveralls", "schema" ], "pre_install": null, "python": "3.4", ...
attrs==22.2.0 certifi==2021.5.30 charset-normalizer==2.0.12 coverage==6.2 coveralls==3.3.1 docopt==0.6.2 flake8==5.0.4 idna==3.10 importlib-metadata==4.2.0 iniconfig==1.1.1 mccabe==0.7.0 packaging==21.3 pluggy==1.0.0 py==1.11.0 pycodestyle==2.9.1 pyflakes==2.5.0 pyparsing==3.1.4 pyRFC3339==2.0.1 pytest==7.0.1 pytest-co...
name: val channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi...
[ "tests/test_val.py::test_captures_multiple_errors" ]
[]
[ "tests/test_val.py::test_must_implement_validated", "tests/test_val.py::test_identity", "tests/test_val.py::test_non_identity", "tests/test_val.py::test_type_check", "tests/test_val.py::test_failing_type_check", "tests/test_val.py::test_dictionary", "tests/test_val.py::test_dictionary_not_a_dict", "te...
[]
BSD 2-Clause "Simplified" License
53
[ "README.rst", "val/__init__.py", "requirements.txt", "pp.yaml" ]
[ "README.rst", "val/__init__.py", "requirements.txt", "pp.yaml" ]
Turbo87__utm-12
a8b2496e534671e5f07a19371f2c80813d7f2f50
2015-03-06 12:48:24
4c7c13f2b2b9c01a8581392641aeb8bbda6aba6f
diff --git a/utm/__init__.py b/utm/__init__.py index 4c844d2..3dece60 100644 --- a/utm/__init__.py +++ b/utm/__init__.py @@ -1,2 +1,2 @@ -from utm.conversion import to_latlon, from_latlon +from utm.conversion import to_latlon, from_latlon, latlon_to_zone_number, latitude_to_zone_letter from utm.error import OutOfRange...
Zone letter problem Zone letter return 'None' for latitude 84
Turbo87/utm
diff --git a/test/test_utm.py b/test/test_utm.py old mode 100644 new mode 100755 index 1ffcab2..4e8f7e8 --- a/test/test_utm.py +++ b/test/test_utm.py @@ -58,6 +58,12 @@ class KnownValues(UTMTestCase): (377486, 6296562, 30, 'V'), {'northern': True}, ), + # Latitude 84 + (...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 0, "issue_text_score": 1, "test_score": 1 }, "num_modified_files"...
0.4
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.9", "reqs_path": null, "test_cmd": "pytest --no-header -rA --tb=line --color=no...
exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work packaging @ file:///croot/packaging_1734472117206/work pluggy @ file:///croot/pluggy_1733169602837/work pytest @ file:///croot/pytest_1738938843180/work tomli @ file:///opt/conda/cond...
name: utm channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - exceptiongroup=1.2.0=py39h06a4308_0 - iniconfig=1.1.1=pyhd3eb1b0_0 - ld_impl...
[ "test/test_utm.py::KnownValues::test_from_latlon" ]
[]
[ "test/test_utm.py::KnownValues::test_to_latlon", "test/test_utm.py::BadInput::test_from_latlon_range_checks", "test/test_utm.py::BadInput::test_to_latlon_range_checks" ]
[]
MIT License
54
[ "utm/conversion.py", "utm/__init__.py" ]
[ "utm/conversion.py", "utm/__init__.py" ]
tornadoweb__tornado-1373
cf2a54794ff5067d6d815013d6570ee10f74d5e5
2015-03-09 04:21:31
cf2a54794ff5067d6d815013d6570ee10f74d5e5
diff --git a/tornado/httpserver.py b/tornado/httpserver.py index 226f966a..13a6e92f 100644 --- a/tornado/httpserver.py +++ b/tornado/httpserver.py @@ -37,11 +37,9 @@ from tornado import httputil from tornado import iostream from tornado import netutil from tornado.tcpserver import TCPServer -from tornado.util import...
redirect requests starting with '//' to '/' leading to wrong place Tornado uses `urljoin` to join `self.request.uri` and the destination but when `self.request.uri` starts with '//' it generates locations still start with '//' because this behaviour of `urljoin`: ``` >>> from urllib.parse import urljoin ...
tornadoweb/tornado
diff --git a/tornado/test/httpserver_test.py b/tornado/test/httpserver_test.py index c1ba831c..62ef6ca3 100644 --- a/tornado/test/httpserver_test.py +++ b/tornado/test/httpserver_test.py @@ -162,22 +162,19 @@ class BadSSLOptionsTest(unittest.TestCase): application = Application() module_dir = os.path....
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 2, "test_score": 2 }, "num_modified_files": 4 }
4.1
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.6", "reqs_path": [ ...
attrs==22.2.0 autopep8==1.1 certifi==14.5.14 coverage==3.7.1 docutils==0.12 flake8==2.3.0 importlib-metadata==4.8.3 iniconfig==1.1.1 Jinja2==2.7.3 MarkupSafe==0.23 mccabe==0.3 packaging==21.3 pep8==1.6.0 pkginfo==1.2.1 pluggy==1.0.0 py==1.11.0 pycurl==7.19.5.1 pyflakes==0.8.1 Pygments==2.0.2 pyparsing==3.1.4 pytest==7....
name: tornado channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.3=he6710b0_2 - libgcc-ng=11....
[ "tornado/test/web_test.py::WSGISafeWebTest::test_web_redirect_double_slash" ]
[ "tornado/test/httpserver_test.py::HTTPServerRawTest::test_malformed_first_line", "tornado/test/httpserver_test.py::HTTPServerRawTest::test_malformed_headers", "tornado/test/httpserver_test.py::UnixSocketTest::test_unix_socket_bad_request", "tornado/test/httpserver_test.py::MaxHeaderSizeTest::test_large_header...
[ "tornado/test/httpserver_test.py::SSLv23Test::test_large_post", "tornado/test/httpserver_test.py::SSLv23Test::test_non_ssl_request", "tornado/test/httpserver_test.py::SSLv23Test::test_ssl", "tornado/test/httpserver_test.py::SSLv3Test::test_large_post", "tornado/test/httpserver_test.py::SSLv3Test::test_non_s...
[]
Apache License 2.0
56
[ "tornado/util.py", "tornado/web.py", "tornado/simple_httpclient.py", "tornado/httpserver.py" ]
[ "tornado/util.py", "tornado/web.py", "tornado/simple_httpclient.py", "tornado/httpserver.py" ]
bokeh__bokeh-2052
65d083b2504d6dc602fd892c4986eed56c5ddf49
2015-03-09 16:50:16
3134cdd802c6969274c8227b3231f27b4d383e1e
diff --git a/bokeh/__init__.py b/bokeh/__init__.py index d561ab1c0..51c521ab5 100644 --- a/bokeh/__init__.py +++ b/bokeh/__init__.py @@ -10,7 +10,7 @@ and data applications. For full documentation, please visit: http://bokeh.pydata.org """ -from __future__ import absolute_import, print_function +from __future__ imp...
simplify bokeh/__init__.py even more
bokeh/bokeh
diff --git a/bokeh/tests/test_bokeh_init.py b/bokeh/tests/test_bokeh_init.py index e47ad7f0b..628987bf4 100644 --- a/bokeh/tests/test_bokeh_init.py +++ b/bokeh/tests/test_bokeh_init.py @@ -1,49 +1,19 @@ from __future__ import absolute_import import unittest -import sys -import platform -import os -import mock +cl...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_removed_files", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 3, "issue_text_score": 3, "test_score": 3 ...
0.8
{ "env_vars": null, "env_yml_path": null, "install": "pip install bokeh", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.9", "reqs_path": null, "te...
bokeh==3.4.3 contourpy==1.3.0 exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work Jinja2==3.1.6 MarkupSafe==3.0.2 numpy==2.0.2 packaging @ file:///croot/packaging_1734472117206/work pandas==2.2.3 pillow==11.1.0 pluggy @ file:///croot/p...
name: bokeh channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - exceptiongroup=1.2.0=py39h06a4308_0 - iniconfig=1.1.1=pyhd3eb1b0_0 - ld_im...
[ "bokeh/tests/test_bokeh_init.py::TestContents::test_dir", "bokeh/tests/test_bokeh_init.py::TestContents::test_version_defined", "bokeh/util/tests/test_testing.py::TestPrintVersions::test_print" ]
[]
[]
[]
BSD 3-Clause "New" or "Revised" License
57
[ "sphinx/source/docs/user_guide/issues.rst", "sphinx/source/docs/user_guide.rst", "sphinx/source/conf.py", "bokeh/__init__.py", "sphinx/source/docs/reference/plot_objects.rst", "bokeh/resources.py", "bokeh/browserlib.py" ]
[ "sphinx/source/docs/user_guide/issues.rst", "sphinx/source/docs/user_guide.rst", "sphinx/source/conf.py", "bokeh/__init__.py", "sphinx/source/docs/reference/plot_objects.rst", "bokeh/resources.py", "bokeh/browserlib.py" ]
caesar0301__treelib-40
65635f48781f4426be9f55f1555d0c08454157bc
2015-03-10 07:23:19
bbd7bc557ab87dd0ebc449495f6041825be4a7c8
diff --git a/treelib/tree.py b/treelib/tree.py index 9bcf610..634566c 100644 --- a/treelib/tree.py +++ b/treelib/tree.py @@ -556,16 +556,16 @@ class Tree(object): if not self.contains(nid): raise NodeIDAbsentError("Node '%s' is not in the tree" % nid) - label = ('{0}'.format(self[nid].tag...
AttributeError: 'str' object has no attribute 'decode' python3.4, OSX 10.10 ```python >>> from treelib import Tree, Node >>> tree = Tree() >>> tree.create_node("Harry", "harry") >>> tree.create_node("Jane", "jane", parent="harry") >>> tree.show() Traceback (most recent call last): File "<stdin>", line 1, ...
caesar0301/treelib
diff --git a/tests/test_treelib.py b/tests/test_treelib.py index 952f851..a061c8a 100644 --- a/tests/test_treelib.py +++ b/tests/test_treelib.py @@ -1,4 +1,10 @@ #!/usr/bin/env python +# -*- coding: utf-8 -*- +from __future__ import unicode_literals +try: + from StringIO import StringIO as BytesIO +except ImportErr...
{ "commit_name": "head_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 2 }, "num_modified_files": 1 }
1.3
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "nose", "coverage", "pytest" ], "pre_install": null, "python": "3.9", "reqs_path": null, "test_cmd": "pytest --no-hea...
coverage==7.8.0 exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work nose==1.3.7 packaging @ file:///croot/packaging_1734472117206/work pluggy @ file:///croot/pluggy_1733169602837/work pytest @ file:///croot/pytest_1738938843180/work to...
name: treelib channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - exceptiongroup=1.2.0=py39h06a4308_0 - iniconfig=1.1.1=pyhd3eb1b0_0 - ld_...
[ "tests/test_treelib.py::TreeCase::test_print_backend" ]
[]
[ "tests/test_treelib.py::NodeCase::test_data", "tests/test_treelib.py::NodeCase::test_initialization", "tests/test_treelib.py::NodeCase::test_set_bpointer", "tests/test_treelib.py::NodeCase::test_set_fpointer", "tests/test_treelib.py::NodeCase::test_set_identifier", "tests/test_treelib.py::NodeCase::test_s...
[]
Apache License 2.0
58
[ "treelib/tree.py" ]
[ "treelib/tree.py" ]
ekalinin__nodeenv-118
677df66038d8ef2a5180a41e8335a857af5494f0
2015-03-11 21:55:41
677df66038d8ef2a5180a41e8335a857af5494f0
diff --git a/nodeenv.py b/nodeenv.py index c00a75c..ec9e358 100644 --- a/nodeenv.py +++ b/nodeenv.py @@ -36,13 +36,15 @@ except ImportError: # pragma: no cover (py3 only) from pkg_resources import parse_version - nodeenv_version = '0.13.0' join = os.path.join abspath = os.path.abspath src_domain = "nodejs.o...
nodeenv --list is raising TypeError When installed globally with `sudo pip install nodeenv`, `nodeenv --list` raises an exception. This is due to `pkg_resources.parse_version` method having different return types in older versions. ![nodeenv_bug](https://cloud.githubusercontent.com/assets/6031925/6599860/d253a2b...
ekalinin/nodeenv
diff --git a/tests/nodeenv_test.py b/tests/nodeenv_test.py index 8c8b163..f13b219 100644 --- a/tests/nodeenv_test.py +++ b/tests/nodeenv_test.py @@ -14,6 +14,17 @@ import nodeenv HERE = os.path.abspath(os.path.dirname(__file__)) +def test_compare_versions(): + assert nodeenv.compare_versions('1', '2') == -1 + ...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_hyperlinks", "has_media" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 1, "test_score": 2 }, "num_modified_files": 1 }
0.13
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-django", "pytest-cov", "pytest-localserver", "pytest-mock", "pytest-benchmark", ...
asynctest==0.13.0 atomicwrites==1.4.1 attrs==25.3.0 certifi==2025.1.31 configparser==7.2.0 contextlib2==21.6.0 coverage==7.8.0 docutils==0.21.2 ecs-logging==2.2.0 exceptiongroup==1.2.2 gherkin-official==29.0.0 glob2==0.7 greenlet==3.1.1 importlib_metadata==8.6.1 iniconfig==2.1.0 jsonschema==4.23.0 jsonschema-specificat...
name: nodeenv channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=1...
[ "tests/nodeenv_test.py::test_compare_versions" ]
[ "tests/nodeenv_test.py::test_smoke" ]
[ "tests/nodeenv_test.py::test_gets_a_hrefs_trivial", "tests/nodeenv_test.py::test_gets_a_hrefs_nodejs_org", "tests/nodeenv_test.py::test_gets_a_hrefs_iojs_org", "tests/nodeenv_test.py::test_get_node_versions_iojs", "tests/nodeenv_test.py::test_get_node_versions_nodejs", "tests/nodeenv_test.py::test_print_n...
[]
BSD License
59
[ "nodeenv.py" ]
[ "nodeenv.py" ]
ipython__ipython-8030
d4e786e20631074a8713f78c7103dcab0c72b840
2015-03-12 18:02:36
ff02638008de8c90ca5f177e559efa048a2557a0
diff --git a/IPython/config/loader.py b/IPython/config/loader.py index 12752d000..196ed4932 100644 --- a/IPython/config/loader.py +++ b/IPython/config/loader.py @@ -11,6 +11,7 @@ import re import sys import json +from ast import literal_eval from IPython.utils.path import filefind, get_ipython_dir from IPython.u...
commandline parser can't handle --something="all" It seems that parsing `all` will convert it to the `all()` function and an error is shown: ```python knitpy_aliases.update({ 'to' : 'KnitpyApp.export_format', [...] }) class KnitpyApp(BaseIPythonApplication): # '--to' ends up here export_form...
ipython/ipython
diff --git a/IPython/config/tests/test_loader.py b/IPython/config/tests/test_loader.py index a5fc91dd8..dc8f2573d 100644 --- a/IPython/config/tests/test_loader.py +++ b/IPython/config/tests/test_loader.py @@ -33,7 +33,7 @@ c.a=10 c.b=20 c.Foo.Bar.value=10 -c.Foo.Bam.value=list(range(10)) # list() is just so it's th...
{ "commit_name": "head_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "llm_score": { "difficulty_score": 2, "issue_text_score": 1, "test_score": 1 }, "num_modified_files": 1 }
3.0
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[test]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov", "pytest-xdist", "pytest-mock", "pytest-asyncio" ], "pre_install": [ "ap...
attrs==22.2.0 certifi==2021.5.30 charset-normalizer==2.0.12 coverage==6.2 execnet==1.9.0 idna==3.10 importlib-metadata==4.8.3 iniconfig==1.1.1 -e git+https://github.com/ipython/ipython.git@d4e786e20631074a8713f78c7103dcab0c72b840#egg=ipython nose==1.3.7 packaging==21.3 pluggy==1.0.0 py==1.11.0 pyparsing==3.1.4 pytest==...
name: ipython channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - li...
[ "IPython/config/tests/test_loader.py::TestKeyValueCL::test_basic", "IPython/config/tests/test_loader.py::TestKeyValueCL::test_eval", "IPython/config/tests/test_loader.py::TestArgParseKVCL::test_basic" ]
[]
[ "IPython/config/tests/test_loader.py::TestFileCL::test_collision", "IPython/config/tests/test_loader.py::TestFileCL::test_json", "IPython/config/tests/test_loader.py::TestFileCL::test_python", "IPython/config/tests/test_loader.py::TestFileCL::test_v2raise", "IPython/config/tests/test_loader.py::TestArgParse...
[]
BSD 3-Clause "New" or "Revised" License
60
[ "IPython/config/loader.py" ]
[ "IPython/config/loader.py" ]
marshmallow-code__marshmallow-168
4748220fc19c2b7389a1f3474e123fe285154538
2015-03-14 19:14:05
4748220fc19c2b7389a1f3474e123fe285154538
diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 81840c5e..589c12fe 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -6,8 +6,9 @@ Changelog Features: -- *Backwards-incompatible*: When ``many=True``, the errors dictionary returned by ``dump`` and ``load`` will be keyed on the indices of invalid items in the (de)se...
Remove MarshallingError and UnmarshallingError in favor of a single ValidationError Currently, `MarshallingError` and `UnmarshallingError` signal that an error should be stored in the `errors` dictionary during marshalling and unmarshalling. These exceptions only served a purpose prior to commit https://github.com/...
marshmallow-code/marshmallow
diff --git a/tests/base.py b/tests/base.py index 55980f5b..f4beca08 100644 --- a/tests/base.py +++ b/tests/base.py @@ -6,7 +6,8 @@ import uuid import pytz from marshmallow import Schema, fields -from marshmallow.exceptions import MarshallingError +from marshmallow.compat import text_type +from marshmallow.exception...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 1 }, "num_modified_files": 9 }
1.2
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.9", "reqs_path": [ "dev-requirements.txt", "docs/requireme...
alabaster @ git+https://github.com/sloria/alabaster.git@667b1b676c6bf7226db057f098ec826d84d3ae40 babel==2.17.0 cachetools==5.5.2 certifi==2025.1.31 chardet==5.2.0 charset-normalizer==3.4.1 colorama==0.4.6 distlib==0.3.9 docutils==0.20.1 exceptiongroup==1.2.2 filelock==3.18.0 flake8==2.4.0 idna==3.10 imagesize==1.4.1 im...
name: marshmallow channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-...
[ "tests/test_deserialization.py::TestDeserializingNone::test_fields_dont_allow_none_by_default[String]", "tests/test_deserialization.py::TestDeserializingNone::test_fields_dont_allow_none_by_default[Integer]", "tests/test_deserialization.py::TestDeserializingNone::test_fields_dont_allow_none_by_default[Boolean]"...
[]
[ "tests/test_deserialization.py::TestDeserializingNone::test_fields_allow_none_deserialize_to_none[String]", "tests/test_deserialization.py::TestDeserializingNone::test_fields_allow_none_deserialize_to_none[Integer]", "tests/test_deserialization.py::TestDeserializingNone::test_fields_allow_none_deserialize_to_no...
[]
MIT License
63
[ "docs/quickstart.rst", "docs/nesting.rst", "marshmallow/marshalling.py", "CHANGELOG.rst", "docs/extending.rst", "docs/upgrading.rst", "marshmallow/exceptions.py", "marshmallow/fields.py", "docs/custom_fields.rst" ]
[ "docs/quickstart.rst", "docs/nesting.rst", "marshmallow/marshalling.py", "CHANGELOG.rst", "docs/extending.rst", "docs/upgrading.rst", "marshmallow/exceptions.py", "marshmallow/fields.py", "docs/custom_fields.rst" ]
networkx__networkx-1407
33c39a05c03d699d76c4e4194ffeb9d818ee3934
2015-03-15 02:57:54
965640e7399c669980243d8b162c4521339f294f
diff --git a/networkx/algorithms/connectivity/connectivity.py b/networkx/algorithms/connectivity/connectivity.py index ef31f33a9..bf7916160 100644 --- a/networkx/algorithms/connectivity/connectivity.py +++ b/networkx/algorithms/connectivity/connectivity.py @@ -454,12 +454,13 @@ def all_pairs_node_connectivity(G, nbunch...
bug in all_pairs_node_connectivity For building the dictionary to store the results I was using: ```python all_pairs = dict.fromkeys(nbunch, dict()) ``` Which is using refrences to the same dict for each node. The tests did not catch this (ouch!), I found out while working on #1405. I'll send a PR fixing it, by usi...
networkx/networkx
diff --git a/networkx/algorithms/connectivity/tests/test_connectivity.py b/networkx/algorithms/connectivity/tests/test_connectivity.py index 93420ae76..6b0b8af4a 100644 --- a/networkx/algorithms/connectivity/tests/test_connectivity.py +++ b/networkx/algorithms/connectivity/tests/test_connectivity.py @@ -279,7 +279,58 @...
{ "commit_name": "head_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "llm_score": { "difficulty_score": 0, "issue_text_score": 1, "test_score": 0 }, "num_modified_files": 1 }
1.9
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "nose", "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y libgdal-dev graphviz" ], "pyth...
attrs==22.2.0 certifi==2021.5.30 decorator==5.1.1 importlib-metadata==4.8.3 iniconfig==1.1.1 -e git+https://github.com/networkx/networkx.git@33c39a05c03d699d76c4e4194ffeb9d818ee3934#egg=networkx nose==1.3.7 packaging==21.3 pluggy==1.0.0 py==1.11.0 pyparsing==3.1.4 pytest==7.0.1 tomli==1.2.3 typing_extensions==4.1.1 zip...
name: networkx channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - l...
[ "networkx/algorithms/connectivity/tests/test_connectivity.py::TestAllPairsNodeConnectivity::test_all_pairs_connectivity_nbunch", "networkx/algorithms/connectivity/tests/test_connectivity.py::TestAllPairsNodeConnectivity::test_all_pairs_connectivity", "networkx/algorithms/connectivity/tests/test_connectivity.py:...
[ "networkx/algorithms/connectivity/tests/test_connectivity.py::TestAllPairsNodeConnectivity::test_cycles", "networkx/algorithms/connectivity/tests/test_connectivity.py::TestAllPairsNodeConnectivity::test_complete", "networkx/algorithms/connectivity/tests/test_connectivity.py::TestAllPairsNodeConnectivity::test_p...
[ "networkx/algorithms/connectivity/tests/test_connectivity.py::test_average_connectivity", "networkx/algorithms/connectivity/tests/test_connectivity.py::test_average_connectivity_directed", "networkx/algorithms/connectivity/tests/test_connectivity.py::test_articulation_points", "networkx/algorithms/connectivit...
[]
BSD 3-Clause
64
[ "networkx/algorithms/connectivity/connectivity.py" ]
[ "networkx/algorithms/connectivity/connectivity.py" ]
klen__graphite-beacon-32
66ec0720ca5a3a9d43a63fa0a60b3eb6e26e4157
2015-03-17 20:27:02
66ec0720ca5a3a9d43a63fa0a60b3eb6e26e4157
diff --git a/graphite_beacon/core.py b/graphite_beacon/core.py index 88fadfa..adef419 100644 --- a/graphite_beacon/core.py +++ b/graphite_beacon/core.py @@ -2,6 +2,7 @@ import os from re import compile as re, M import json +import logging from tornado import ioloop, log from .alerts import BaseAlert @@ -56,7 +5...
Logging configuration only works in Python 2.7+ Hi, The way log level is set in [`Reactor`](https://github.com/klen/graphite-beacon/blob/develop/graphite_beacon/core.py#L59) requires that textual log levels ("INFO", "WARN") are converted to the numeric log levels by the `logging.Logger.setLevel` method. This is only...
klen/graphite-beacon
diff --git a/tests.py b/tests.py index 7bcd15a..9d5458a 100644 --- a/tests.py +++ b/tests.py @@ -1,5 +1,6 @@ """ TODO: Implement the tests. """ +import logging import pytest import mock @@ -24,6 +25,28 @@ def test_reactor(): assert len(rr.alerts) == 2 +def test_convert_config_log_level(): + from grap...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_hyperlinks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 0, "test_score": 2 }, "num_modified_files": 1 }
0.22
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "mock" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.9", ...
certifi==2025.1.31 exceptiongroup==1.2.2 -e git+https://github.com/klen/graphite-beacon.git@66ec0720ca5a3a9d43a63fa0a60b3eb6e26e4157#egg=graphite_beacon iniconfig==2.1.0 mock==5.2.0 packaging==24.2 pluggy==1.5.0 pytest==8.3.5 tomli==2.2.1 tornado==4.0.2
name: graphite-beacon channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - lib...
[ "tests.py::test_convert_config_log_level" ]
[ "tests.py::test_reactor", "tests.py::test_convert", "tests.py::test_parse_interval", "tests.py::test_interval_to_graphite", "tests.py::test_parse_rule" ]
[]
[]
MIT License
67
[ "graphite_beacon/core.py" ]
[ "graphite_beacon/core.py" ]
enthought__okonomiyaki-34
d32923ad74059883e31aaed8c12d3cd5e0288acd
2015-03-17 21:13:01
d32923ad74059883e31aaed8c12d3cd5e0288acd
diff --git a/okonomiyaki/platforms/epd_platform.py b/okonomiyaki/platforms/epd_platform.py index 441712a..d32d37a 100644 --- a/okonomiyaki/platforms/epd_platform.py +++ b/okonomiyaki/platforms/epd_platform.py @@ -172,20 +172,16 @@ def _guess_architecture(): """ Returns the architecture of the running python. ...
Fix platform guessing on 64 bits processes on 32 bits kernel See #31
enthought/okonomiyaki
diff --git a/okonomiyaki/platforms/tests/common.py b/okonomiyaki/platforms/tests/common.py index b7ff851..8eb942b 100644 --- a/okonomiyaki/platforms/tests/common.py +++ b/okonomiyaki/platforms/tests/common.py @@ -63,14 +63,12 @@ mock_osx_10_7 = MultiPatcher([ # Architecture mocking mock_machine = lambda machine: Patc...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_many_modified_files" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 3 }, "num_modified_files": 2 }
0.4
{ "env_vars": null, "env_yml_path": [], "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [], "python": "3.7", "reqs_path": [ "dev_requirements.txt" ], "test_cmd": "pyte...
certifi @ file:///croot/certifi_1671487769961/work/certifi coverage==7.2.7 docutils==0.20.1 enum34==1.1.10 exceptiongroup==1.2.2 flake8==5.0.4 haas==0.9.0 importlib-metadata==4.2.0 iniconfig==2.0.0 mccabe==0.7.0 mock==5.2.0 -e git+https://github.com/enthought/okonomiyaki.git@d32923ad74059883e31aaed8c12d3cd5e0288acd#egg...
name: okonomiyaki channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2022.12.7=py37h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 ...
[ "okonomiyaki/platforms/tests/test_epd_platform.py::TestEPDPlatformApplies::test_all", "okonomiyaki/platforms/tests/test_epd_platform.py::TestEPDPlatformApplies::test_current_linux", "okonomiyaki/platforms/tests/test_epd_platform.py::TestEPDPlatformApplies::test_current_windows", "okonomiyaki/platforms/tests/t...
[]
[ "okonomiyaki/platforms/tests/test_epd_platform.py::TestEPDPlatform::test_epd_platform_from_string", "okonomiyaki/platforms/tests/test_epd_platform.py::TestEPDPlatform::test_guessed_epd_platform", "okonomiyaki/platforms/tests/test_epd_platform.py::TestEPDPlatform::test_short_names_consistency", "okonomiyaki/pl...
[]
BSD License
68
[ "okonomiyaki/platforms/platform.py", "okonomiyaki/platforms/epd_platform.py" ]
[ "okonomiyaki/platforms/platform.py", "okonomiyaki/platforms/epd_platform.py" ]
ministryofjustice__salt-shaker-21
f7ab3acca99aa24b58d6d14f747c1d7b1daeac2c
2015-03-20 14:58:51
a7349bcd65608b0b2f18aadf3c181009b2d78398
diff --git a/shaker/helpers.py b/shaker/helpers.py index a04e149..8aa577f 100644 --- a/shaker/helpers.py +++ b/shaker/helpers.py @@ -2,6 +2,7 @@ import logging import json import requests import os +import re def get_valid_github_token(online_validation_enabled = False): """ @@ -97,3 +98,69 @@ def validate_g...
Duplicates in metadata.yml We don't throw an error if some idiot (me) puts duplicate lines in metadata.yml
ministryofjustice/salt-shaker
diff --git a/tests/test_metadata_handling.py b/tests/test_metadata_handling.py new file mode 100644 index 0000000..7723861 --- /dev/null +++ b/tests/test_metadata_handling.py @@ -0,0 +1,67 @@ +import unittest +import yaml +from shaker import helpers +from nose.tools import raises + +class TestMetadataHandling(unittest....
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_many_modified_files" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 2, "test_score": 2 }, "num_modified_files": 2 }
0.1
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "nose", "responses", "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y libgit2-dev libss...
certifi==2025.1.31 cffi==1.17.1 charset-normalizer==3.4.1 exceptiongroup==1.2.2 idna==3.10 iniconfig==2.1.0 nose==1.3.7 packaging==24.2 pluggy==1.5.0 pycparser==2.22 pygit2==1.15.1 pytest==8.3.5 PyYAML==6.0.2 requests==2.32.3 responses==0.25.7 -e git+https://github.com/ministryofjustice/salt-shaker.git@f7ab3acca99aa24b...
name: salt-shaker channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-...
[ "tests/test_metadata_handling.py::TestMetadataHandling::test_resolve_metadata_duplicates", "tests/test_metadata_handling.py::TestMetadataHandling::test_resolve_metadata_duplicates_bad_metadata_object", "tests/test_metadata_handling.py::TestMetadataHandling::test_resolve_metadata_duplicates_metadata_missing_inde...
[]
[]
[]
null
69
[ "shaker/helpers.py", "shaker/resolve_deps.py" ]
[ "shaker/helpers.py", "shaker/resolve_deps.py" ]
ipython__ipython-8111
2af39462d92d3834d5780a87f44d5e6cee7ecb81
2015-03-21 23:44:47
ff02638008de8c90ca5f177e559efa048a2557a0
diff --git a/IPython/config/application.py b/IPython/config/application.py index ef97162b3..264d3793a 100644 --- a/IPython/config/application.py +++ b/IPython/config/application.py @@ -159,7 +159,7 @@ def _log_level_changed(self, name, old, new): help="The date format used by logging formatters for %(asctime)s...
`_log_format_changed()` missing 3 required positional arguments In `IPython.config.application`, the `_log_datefmt_changed` handler calls `_log_format_changed` but does not pass it the required arguments. My guess would be that this is the correct implementation: ``` def _log_datefmt_changed(self, name, old, new): ...
ipython/ipython
diff --git a/IPython/config/tests/test_application.py b/IPython/config/tests/test_application.py index a03d548c2..5da6a1306 100644 --- a/IPython/config/tests/test_application.py +++ b/IPython/config/tests/test_application.py @@ -80,6 +80,7 @@ def test_log(self): # trigger reconstruction of the log formatter ...
{ "commit_name": "head_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 2 }, "num_modified_files": 1 }
3.0
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[test]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov", "pytest-xdist", "pytest-mock", "pytest-asyncio" ], "pre_install": [ "ap...
attrs==22.2.0 certifi==2021.5.30 charset-normalizer==2.0.12 coverage==6.2 execnet==1.9.0 idna==3.10 importlib-metadata==4.8.3 iniconfig==1.1.1 -e git+https://github.com/ipython/ipython.git@2af39462d92d3834d5780a87f44d5e6cee7ecb81#egg=ipython nose==1.3.7 packaging==21.3 pluggy==1.0.0 py==1.11.0 pyparsing==3.1.4 pytest==...
name: ipython channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - li...
[ "IPython/config/tests/test_application.py::TestApplication::test_log" ]
[]
[ "IPython/config/tests/test_application.py::TestApplication::test_aliases", "IPython/config/tests/test_application.py::TestApplication::test_basic", "IPython/config/tests/test_application.py::TestApplication::test_config", "IPython/config/tests/test_application.py::TestApplication::test_config_propagation", ...
[]
BSD 3-Clause "New" or "Revised" License
71
[ "IPython/config/application.py" ]
[ "IPython/config/application.py" ]
richardkiss__pycoin-108
130f1cec7ed41b05c4f887dc386c6447d74cb97e
2015-03-24 16:58:56
7833e86ac5260f784ded567dcec42d63cee036aa
diff --git a/pycoin/ecdsa/ellipticcurve.py b/pycoin/ecdsa/ellipticcurve.py index 0644c52..02b1ecd 100644 --- a/pycoin/ecdsa/ellipticcurve.py +++ b/pycoin/ecdsa/ellipticcurve.py @@ -55,10 +55,15 @@ class CurveFp( object ): """Is the point (x,y) on this curve?""" return ( y * y - ( x * x * x + self.__a * x + se...
BIP32 private key derivation edge case Regarding this section of BIP32: https://github.com/bitcoin/bips/blob/2ea19daaa0380fed7a2b053fd1f488fadba28bda/bip-0032.mediawiki#private-parent-key--private-child-key > In case parse256(IL) ≥ n or ki = 0, the resulting key is invalid, and one should proceed with the next valu...
richardkiss/pycoin
diff --git a/tests/bip32_test.py b/tests/bip32_test.py index 75bb2a9..c6473e8 100755 --- a/tests/bip32_test.py +++ b/tests/bip32_test.py @@ -1,22 +1,13 @@ #!/usr/bin/env python import unittest - -from pycoin.key import bip32 -from pycoin.serialize import h2b - from pycoin.key.BIP32Node import BIP32Node - -def Wall...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 0, "issue_text_score": 2, "test_score": 0 }, "num_...
0.52
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "pytest", "tox" ], "pre_install": null, "python": "3.9", "reqs_path": null, "test_cmd": "pytest --no-header -rA --tb=line...
cachetools==5.5.2 chardet==5.2.0 colorama==0.4.6 distlib==0.3.9 exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work filelock==3.18.0 iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work packaging @ file:///croot/packaging_1734472117206/work platformdirs==4.3.7 pluggy @ file:///croot/plug...
name: pycoin channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - exceptiongroup=1.2.0=py39h06a4308_0 - iniconfig=1.1.1=pyhd3eb1b0_0 - ld_i...
[ "tests/key_validate_test.py::KeyUtilsTest::test_key_limits", "tests/key_validate_test.py::KeyUtilsTest::test_points" ]
[]
[ "tests/bip32_test.py::Bip0032TestCase::test_public_subkey", "tests/bip32_test.py::Bip0032TestCase::test_repr", "tests/bip32_test.py::Bip0032TestCase::test_streams", "tests/bip32_test.py::Bip0032TestCase::test_testnet", "tests/bip32_test.py::Bip0032TestCase::test_vector_1", "tests/bip32_test.py::Bip0032Tes...
[]
MIT License
72
[ "pycoin/scripts/ku.py", "pycoin/key/Key.py", "pycoin/ecdsa/ellipticcurve.py", "pycoin/key/bip32.py", "pycoin/key/BIP32Node.py" ]
[ "pycoin/scripts/ku.py", "pycoin/key/Key.py", "pycoin/ecdsa/ellipticcurve.py", "pycoin/key/bip32.py", "pycoin/key/BIP32Node.py" ]
CleanCut__green-40
9450d48e8099b15e87ddbd12243fb61db29fe4ba
2015-03-25 15:20:15
9450d48e8099b15e87ddbd12243fb61db29fe4ba
diff --git a/green/loader.py b/green/loader.py index f93d26c..50e5e91 100644 --- a/green/loader.py +++ b/green/loader.py @@ -121,11 +121,21 @@ def findDottedModuleAndParentDir(file_path): return (dotted_module, parent_dir) +def isNoseDisabledCase(test_case_class, attrname): + test_func = getattr(test_case_c...
Make green work with nose_parameterized Green doesn't work with `nose_parameterized` since it executes tests that `nose_parameterized` [marks](https://github.com/wolever/nose-parameterized/blob/master/nose_parameterized/parameterized.py#L232) as disabled using the nose-specific [`__test__`](https://github.com/nose-devs...
CleanCut/green
diff --git a/green/test/test_loader.py b/green/test/test_loader.py index 09f0b76..397844f 100644 --- a/green/test/test_loader.py +++ b/green/test/test_loader.py @@ -264,6 +264,17 @@ class TestLoadFromTestCase(unittest.TestCase): set(['test_method1', 'test_method2'])) + def test_nose_dis...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_hyperlinks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 0 }, "num_modified_files": 1 }
1.7
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.4", "reqs_path": [ "requirements.txt" ], "test_cmd": "pytest --...
attrs==22.2.0 certifi==2021.5.30 -e git+https://github.com/CleanCut/green.git@9450d48e8099b15e87ddbd12243fb61db29fe4ba#egg=green importlib-metadata==4.8.3 iniconfig==1.1.1 packaging==21.3 pluggy==1.0.0 py==1.11.0 pyparsing==3.1.4 pytest==7.0.1 python-termstyle==0.1.10 tomli==1.2.3 typing_extensions==4.1.1 zipp==3.6.0
name: green channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libf...
[ "green/test/test_loader.py::TestLoadFromTestCase::test_nose_disabled_attribute" ]
[ "green/test/test_loader.py::TestCompletions::test_completionPartial", "green/test/test_loader.py::TestCompletions::test_completionPartialShort", "green/test/test_loader.py::TestLoadTargets::test_emptyDirAbsolute", "green/test/test_loader.py::TestLoadTargets::test_emptyDirRelative", "green/test/test_loader.p...
[ "green/test/test_loader.py::TestToProtoTestList::test_moduleImportFailure", "green/test/test_loader.py::TestToProtoTestList::test_moduleImportFailureIgnored", "green/test/test_loader.py::TestCompletions::test_completionBad", "green/test/test_loader.py::TestCompletions::test_completionDot", "green/test/test_...
[]
MIT License
74
[ "green/loader.py" ]
[ "green/loader.py" ]
eadhost__eadator-2
9ca6058a79729250f0c4399ac54e48d1543017c3
2015-03-26 06:44:18
9ca6058a79729250f0c4399ac54e48d1543017c3
diff --git a/eadator/eadator.py b/eadator/eadator.py index d1734ea..6a0c32e 100755 --- a/eadator/eadator.py +++ b/eadator/eadator.py @@ -16,14 +16,20 @@ def main(argv=None): type=argparse.FileType('r')) parser.add_argument('--dtd', required=False, ) parser.add_argument('--xsd', requir...
Add the number of errors Hello, Could you add the number of errors at the end of the list of errors? It could be useful for verify if a modification adds or deletes an error. Thanks.
eadhost/eadator
diff --git a/tests/test_eadator.py b/tests/test_eadator.py index a90571d..68d55d9 100755 --- a/tests/test_eadator.py +++ b/tests/test_eadator.py @@ -17,17 +17,32 @@ class TestEadator(unittest.TestCase): type=argparse.FileType('r')) parser.add_argument('--dtd', default="%s/ents/ead....
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 1 }, "num_modified_files": 1 }
0.3
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y libxml2-dev libxslt-dev" ], "python": "3.9", "reqs_path"...
-e git+https://github.com/eadhost/eadator.git@9ca6058a79729250f0c4399ac54e48d1543017c3#egg=eadator exceptiongroup==1.2.2 iniconfig==2.1.0 lxml==5.3.1 packaging==24.2 pluggy==1.5.0 pytest==8.3.5 tomli==2.2.1
name: eadator channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=1...
[ "tests/test_eadator.py::TestEadator::test_eadator" ]
[]
[]
[]
BSD License
75
[ "eadator/eadator.py" ]
[ "eadator/eadator.py" ]
kissmetrics__py-KISSmetrics-27
3e1819f735771472c112ee471ec732e5a8277bfe
2015-03-27 15:29:10
3e1819f735771472c112ee471ec732e5a8277bfe
diff --git a/KISSmetrics/query_string.py b/KISSmetrics/query_string.py index 4765b2c..4013d3a 100644 --- a/KISSmetrics/query_string.py +++ b/KISSmetrics/query_string.py @@ -43,7 +43,7 @@ def create_query(key, person, event=None, timestamp=None, query_dict = {KEY_KEY: key, PERSON_KEY: person} if timestamp: ...
Support for timestamps submitted as floats From Dylan: " Currently, if someone using the Python library (and potentially other libraries) tries to send in a float as a timestamp, it gets converted to something like 1426982400.0. This doesn't generate any errors, and it shows up in the live tab just fine, but any even...
kissmetrics/py-KISSmetrics
diff --git a/KISSmetrics/tests/test_kissmetrics.py b/KISSmetrics/tests/test_kissmetrics.py index bfc5734..a15ba99 100644 --- a/KISSmetrics/tests/test_kissmetrics.py +++ b/KISSmetrics/tests/test_kissmetrics.py @@ -113,7 +113,7 @@ class TestKISSmetricsRequestFunctionsTestCase(unittest.TestCase): assert parse_qs(...
{ "commit_name": "head_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "llm_score": { "difficulty_score": 0, "issue_text_score": 1, "test_score": 0 }, "num_modified_files": 1 }
1.0
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov" ], "pre_install": null, "python": "3.9", "reqs_path": [ "requirements.txt" ], "tes...
coverage==7.8.0 exceptiongroup==1.2.2 iniconfig==2.1.0 packaging==24.2 pluggy==1.5.0 -e git+https://github.com/kissmetrics/py-KISSmetrics.git@3e1819f735771472c112ee471ec732e5a8277bfe#egg=py_KISSmetrics pytest==8.3.5 pytest-cov==6.0.0 tomli==2.2.1 urllib3==1.26.20
name: py-KISSmetrics channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libg...
[ "KISSmetrics/tests/test_kissmetrics.py::TestKISSmetricsRequestFunctionsTestCase::test_record_with_non_whole_float_timestamp", "KISSmetrics/tests/test_kissmetrics.py::TestKISSmetricsRequestFunctionsTestCase::test_record_with_whole_float_timestamp", "KISSmetrics/tests/test_kissmetrics.py::TestKISSmetricsRequestFu...
[]
[ "KISSmetrics/tests/test_kissmetrics.py::KISSmetricsClientTestCase::test_client_http_object", "KISSmetrics/tests/test_kissmetrics.py::KISSmetricsClientTestCase::test_client_key", "KISSmetrics/tests/test_kissmetrics.py::KISSmetricsClientTestCase::test_client_scheme", "KISSmetrics/tests/test_kissmetrics.py::KISS...
[]
MIT License
76
[ "KISSmetrics/query_string.py" ]
[ "KISSmetrics/query_string.py" ]
wndhydrnt__python-oauth2-38
afa9d84b54392391b888dc3bff36aaf08bbd5834
2015-03-29 12:17:16
9d56b2202515aaaf3bed7a5b3bc3b61f7fe17199
diff --git a/CHANGELOG.md b/CHANGELOG.md index 186083e..e1fe12f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ Improvements: Bugfixes: - Fix Resource Owner Grant responding with HTTP status code '500' in case an owner could not be authorized ([@wndhydrnt][]) + - Fix "scope" parameter not being ur...
Returned state token not url-encoded Current implementation reads state from request query parameter with request.get_param(), which handles url-decoding automatically. When state is written back to a redirect url it is not url-encoded. This causes state mismatch in client. Only applies to clients that use state string...
wndhydrnt/python-oauth2
diff --git a/oauth2/test/test_grant.py b/oauth2/test/test_grant.py index 1cb7cb2..231c3ca 100644 --- a/oauth2/test/test_grant.py +++ b/oauth2/test/test_grant.py @@ -1,6 +1,7 @@ from mock import Mock, call, patch import json from oauth2.client_authenticator import ClientAuthenticator +from oauth2.compatibility import...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_modified_files" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 0, "issue_text_score": 0, "test_score": 1 }, "num_modified_files": 2 }
0.7
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.9", "reqs_path": [ ...
async-timeout==5.0.1 dnspython==2.7.0 exceptiongroup==1.2.2 iniconfig==2.1.0 mock==5.2.0 mysql-connector-python @ http://dev.mysql.com/get/Downloads/Connector-Python/mysql-connector-python-1.1.7.tar.gz#sha256=66f9aeadf2b908be0e31bf683cfa199c1c13401eb7c0acce7cec56d75d76e24a nose==1.3.7 packaging==24.2 pluggy==1.5.0 pymo...
name: python-oauth2 channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgc...
[ "oauth2/test/test_grant.py::AuthorizationCodeAuthHandlerTestCase::test_process", "oauth2/test/test_grant.py::ImplicitGrantHandlerTestCase::test_process_redirect_with_state" ]
[]
[ "oauth2/test/test_grant.py::AuthorizationCodeGrantTestCase::test_create_auth_handler", "oauth2/test/test_grant.py::AuthorizationCodeGrantTestCase::test_create_no_match", "oauth2/test/test_grant.py::AuthorizationCodeGrantTestCase::test_create_token_handler", "oauth2/test/test_grant.py::AuthRequestMixinTestCase...
[]
MIT License
77
[ "oauth2/grant.py", "CHANGELOG.md" ]
[ "oauth2/grant.py", "CHANGELOG.md" ]
jpadilla__pyjwt-122
8f28b4a6124830fcea400668840e645bb91e38a2
2015-03-29 14:57:58
b39b9a7887c2feab1058fa371f761e1e27f6da1d
diff --git a/jwt/api.py b/jwt/api.py index 5f2ce6f..201bffd 100644 --- a/jwt/api.py +++ b/jwt/api.py @@ -181,16 +181,32 @@ class PyJWT(object): except KeyError: raise InvalidAlgorithmError('Algorithm not supported') + if 'iat' in payload: + try: + int(payload['ia...
non-numeric expiration claim does not raise an error I would expect a non-numeric expiration claim to raise an error but it does not. To reproduce, here's a JWT with ``{exp: '<not a number>'}``': ```` >>> import jwt >>> import calendar, time >>> iat = calendar.timegm(time.gmtime()) >>> token = jwt.encode({'aud':...
jpadilla/pyjwt
diff --git a/tests/test_api.py b/tests/test_api.py index 3b79490..371390d 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -195,6 +195,33 @@ class TestAPI(unittest.TestCase): exception = context.exception self.assertEquals(str(exception), 'Algorithm not supported') + def test_decode_rais...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 2, "test_score": 3 }, "num_modified_files": 1 }
1.0
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "cryptography", "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.9", "reqs...
cffi==1.17.1 cryptography==44.0.2 exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work packaging @ file:///croot/packaging_1734472117206/work pluggy @ file:///croot/pluggy_1733169602837/work pycparser==2.22 -e git+https://github.com/jpa...
name: pyjwt channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - exceptiongroup=1.2.0=py39h06a4308_0 - iniconfig=1.1.1=pyhd3eb1b0_0 - ld_im...
[ "tests/test_api.py::TestAPI::test_decode_raises_exception_if_exp_is_not_int", "tests/test_api.py::TestAPI::test_decode_raises_exception_if_iat_is_not_int", "tests/test_api.py::TestAPI::test_decode_raises_exception_if_nbf_is_not_int" ]
[ "tests/test_api.py::TestAPI::test_decodes_valid_es384_jwt", "tests/test_api.py::TestAPI::test_decodes_valid_rs384_jwt", "tests/test_api.py::TestAPI::test_encode_decode_with_ecdsa_sha256", "tests/test_api.py::TestAPI::test_encode_decode_with_ecdsa_sha384", "tests/test_api.py::TestAPI::test_encode_decode_with...
[ "tests/test_api.py::TestAPI::test_algorithms_parameter_removes_alg_from_algorithms_list", "tests/test_api.py::TestAPI::test_allow_skip_verification", "tests/test_api.py::TestAPI::test_bad_secret", "tests/test_api.py::TestAPI::test_bytes_secret", "tests/test_api.py::TestAPI::test_check_audience", "tests/te...
[]
MIT License
78
[ "jwt/api.py" ]
[ "jwt/api.py" ]
mkdocs__mkdocs-390
9b0aa1f87266f35c366ee2383987c6ba2f7b31d4
2015-04-02 07:34:11
bfc393ce2dd31d0fea2be3a5b0fec20ed361bfe0
diff --git a/.travis.sh b/.travis.sh index ab95ebbc..de43ce8e 100755 --- a/.travis.sh +++ b/.travis.sh @@ -3,7 +3,7 @@ set -xe if [ $TOX_ENV == "coverage" ] then pip install coveralls - tox -e py27 + tox -e py27-unittests coveralls else tox -e $TOX_ENV diff --git a/mkdocs/config.py b/mkdocs/config.py inde...
Don't allow the `site_dir` to be within the `docs_dir` This leads to the output being copied into the output during a build.
mkdocs/mkdocs
diff --git a/mkdocs/tests/config_tests.py b/mkdocs/tests/config_tests.py index b28d9465..4c27ec9a 100644 --- a/mkdocs/tests/config_tests.py +++ b/mkdocs/tests/config_tests.py @@ -111,3 +111,27 @@ class ConfigTests(unittest.TestCase): self.assertEqual(conf['pages'], ['index.md', 'about.md']) finall...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_many_modified_files", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 0, "issue_text_score": 1, "test_score": 0 }, "num_modified_...
0.11
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "nose", "coverage", "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "pytho...
attrs==22.2.0 certifi==2021.5.30 coverage==6.2 ghp-import==2.1.0 importlib-metadata==4.8.3 iniconfig==1.1.1 Jinja2==3.0.3 Markdown==2.4.1 MarkupSafe==2.0.1 -e git+https://github.com/mkdocs/mkdocs.git@9b0aa1f87266f35c366ee2383987c6ba2f7b31d4#egg=mkdocs nose==1.3.7 packaging==21.3 pluggy==1.0.0 py==1.11.0 pyparsing==3.1....
name: mkdocs channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - lib...
[ "mkdocs/tests/config_tests.py::ConfigTests::test_doc_dir_in_site_dir" ]
[ "mkdocs/tests/config_tests.py::ConfigTests::test_config_option", "mkdocs/tests/config_tests.py::ConfigTests::test_empty_config", "mkdocs/tests/config_tests.py::ConfigTests::test_theme" ]
[ "mkdocs/tests/config_tests.py::ConfigTests::test_default_pages", "mkdocs/tests/config_tests.py::ConfigTests::test_missing_config_file", "mkdocs/tests/config_tests.py::ConfigTests::test_missing_site_name" ]
[]
BSD 2-Clause "Simplified" License
79
[ ".travis.sh", "mkdocs/config.py" ]
[ ".travis.sh", "mkdocs/config.py" ]
mkdocs__mkdocs-395
88bb485ee4bd863f1cbfed6a786ef995cc844929
2015-04-02 19:29:19
bfc393ce2dd31d0fea2be3a5b0fec20ed361bfe0
diff --git a/mkdocs/nav.py b/mkdocs/nav.py index c8257e12..932399b4 100644 --- a/mkdocs/nav.py +++ b/mkdocs/nav.py @@ -209,14 +209,17 @@ def _generate_site_navigation(pages_config, url_context, use_directory_urls=True ) raise exceptions.ConfigurationError(msg) + # If both the title an...
Title is used as a section if file is in subdirectory Assuming I have a file at `research/stats.md` and a config line: ``` pages: - ["research/stats.md", "Stats about Our Collection"] ``` I would assume that it would generate a top-level nav item titled "Stats about Our Collection". In reality, it generate...
mkdocs/mkdocs
diff --git a/mkdocs/tests/nav_tests.py b/mkdocs/tests/nav_tests.py index 7013a66e..b6876f35 100644 --- a/mkdocs/tests/nav_tests.py +++ b/mkdocs/tests/nav_tests.py @@ -63,6 +63,39 @@ class SiteNavigationTests(unittest.TestCase): self.assertEqual(len(site_navigation.nav_items), 3) self.assertEqual(len(s...
{ "commit_name": "head_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 0 }, "num_modified_files": 1 }
0.11
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "nose", "mock", "pytest" ], "pre_install": [ "pip install tox" ], "python": "3.4", "reqs_path": [ "...
attrs==22.2.0 certifi==2021.5.30 distlib==0.3.9 filelock==3.4.1 ghp-import==2.1.0 importlib-metadata==4.8.3 importlib-resources==5.4.0 iniconfig==1.1.1 Jinja2==3.0.3 Markdown==2.4.1 MarkupSafe==2.0.1 -e git+https://github.com/mkdocs/mkdocs.git@88bb485ee4bd863f1cbfed6a786ef995cc844929#egg=mkdocs mock==5.2.0 nose==1.3.7 ...
name: mkdocs channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - lib...
[ "mkdocs/tests/nav_tests.py::SiteNavigationTests::test_nested_ungrouped" ]
[]
[ "mkdocs/tests/nav_tests.py::SiteNavigationTests::test_base_url", "mkdocs/tests/nav_tests.py::SiteNavigationTests::test_empty_toc_item", "mkdocs/tests/nav_tests.py::SiteNavigationTests::test_generate_site_navigation", "mkdocs/tests/nav_tests.py::SiteNavigationTests::test_generate_site_navigation_windows", "m...
[]
BSD 2-Clause "Simplified" License
80
[ "mkdocs/nav.py" ]
[ "mkdocs/nav.py" ]
mkdocs__mkdocs-402
74e60382b84b3af9969b30cc2cd9a98894d113f5
2015-04-03 08:53:55
bfc393ce2dd31d0fea2be3a5b0fec20ed361bfe0
diff --git a/mkdocs/compat.py b/mkdocs/compat.py index 49bd396a..518a4937 100644 --- a/mkdocs/compat.py +++ b/mkdocs/compat.py @@ -13,6 +13,7 @@ if PY2: httpserver = httpserver import SocketServer socketserver = SocketServer + from HTMLParser import HTMLParser import itertools zip = iterto...
Not all headers are automatically linked I have an API reference site for a project that's hosted on ReadTheDocs using mkdocs as the documentation engine. Headers that contain things like `<code>` blocks aren't linked, while all others seem to be. I can reproduce this locally with a plain mkdocs install using the RT...
mkdocs/mkdocs
diff --git a/mkdocs/tests/toc_tests.py b/mkdocs/tests/toc_tests.py index 03ab9cd0..b0bdea11 100644 --- a/mkdocs/tests/toc_tests.py +++ b/mkdocs/tests/toc_tests.py @@ -29,6 +29,20 @@ class TableOfContentsTests(unittest.TestCase): toc = self.markdown_to_toc(md) self.assertEqual(str(toc).strip(), expecte...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 0 }, "num_modified_files": 2 }
0.11
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov" ], "pre_install": null, "python": "3.7", "reqs_path": [ "requirements.txt" ], ...
certifi @ file:///croot/certifi_1671487769961/work/certifi coverage==7.2.7 exceptiongroup==1.2.2 ghp-import==2.1.0 importlib-metadata==6.7.0 iniconfig==2.0.0 Jinja2==3.1.6 Markdown==2.4.1 MarkupSafe==2.1.5 -e git+https://github.com/mkdocs/mkdocs.git@74e60382b84b3af9969b30cc2cd9a98894d113f5#egg=mkdocs packaging==24.0 pl...
name: mkdocs channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2022.12.7=py37h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - lib...
[ "mkdocs/tests/toc_tests.py::TableOfContentsTests::test_indented_toc_html" ]
[]
[ "mkdocs/tests/toc_tests.py::TableOfContentsTests::test_flat_h2_toc", "mkdocs/tests/toc_tests.py::TableOfContentsTests::test_flat_toc", "mkdocs/tests/toc_tests.py::TableOfContentsTests::test_indented_toc", "mkdocs/tests/toc_tests.py::TableOfContentsTests::test_mixed_toc" ]
[]
BSD 2-Clause "Simplified" License
81
[ "mkdocs/compat.py", "mkdocs/toc.py" ]
[ "mkdocs/compat.py", "mkdocs/toc.py" ]
google__vimdoc-89
301b139ce8108bf6b8e814de5a36414034aa915b
2015-04-05 04:36:47
301b139ce8108bf6b8e814de5a36414034aa915b
diff --git a/vimdoc/block.py b/vimdoc/block.py index e56c357..03bed17 100644 --- a/vimdoc/block.py +++ b/vimdoc/block.py @@ -16,6 +16,7 @@ class Block(object): contain metadata statements specifying things like the plugin author, etc. Args: + type: Block type, e.g. vim.SECTION or vim.FUNCTION. is_second...
More intuitive section/order handling It's annoying how you don't have to specify section order with the `@order` directive until you add the first custom section, at which point you have to explicitly list every section ID in the order. You have to cross-reference the list of default sections if you want to preserve t...
google/vimdoc
diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/tests/module_tests.py b/tests/module_tests.py new file mode 100644 index 0000000..1226997 --- /dev/null +++ b/tests/module_tests.py @@ -0,0 +1,92 @@ +import unittest + +import vimdoc +from vimdoc.block import Blo...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 2, "test_score": 3 }, "num_modified_files": 3 }
0.5
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.9", "reqs_path": null, "test_cmd": "pytest --no-header -rA --tb=line --color=no...
exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work packaging @ file:///croot/packaging_1734472117206/work pluggy @ file:///croot/pluggy_1733169602837/work pytest @ file:///croot/pytest_1738938843180/work tomli @ file:///opt/conda/cond...
name: vimdoc channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - exceptiongroup=1.2.0=py39h06a4308_0 - iniconfig=1.1.1=pyhd3eb1b0_0 - ld_i...
[ "tests/module_tests.py::TestVimModule::test_default_section_ordering", "tests/module_tests.py::TestVimModule::test_duplicate_section", "tests/module_tests.py::TestVimModule::test_manual_section_ordering", "tests/module_tests.py::TestVimModule::test_partial_ordering", "tests/module_tests.py::TestVimModule::t...
[]
[]
[]
Apache License 2.0
82
[ "vimdoc/block.py", "vimdoc/module.py", "vimdoc/error.py" ]
[ "vimdoc/block.py", "vimdoc/module.py", "vimdoc/error.py" ]
jpadilla__pyjwt-131
a2601ad46433a99c8777a74abeaf4dfd70630d17
2015-04-07 04:00:01
b39b9a7887c2feab1058fa371f761e1e27f6da1d
diff --git a/AUTHORS b/AUTHORS index be65bf8..02fbc3b 100644 --- a/AUTHORS +++ b/AUTHORS @@ -21,3 +21,5 @@ Patches and Suggestions - Mark Adams <mark@markadams.me> - Wouter Bolsterlee <uws@xs4all.nl> + + - Michael Davis <mike.philip.davis@gmail.com> <mike.davis@workiva.com> diff --git a/CHANGELOG.md b/CHANGELOG.m...
Add more flexible and complete verification options I was thinking that it might be useful for us to implement more flexible verification options. I propose something like this: ``` def decode(token, secret, options=None) ``` where options is a dict that looks something like this: ``` options = { 'veri...
jpadilla/pyjwt
diff --git a/tests/test_api.py b/tests/test_api.py index f1734b4..33ccd51 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -71,6 +71,27 @@ class TestAPI(unittest.TestCase): self.assertNotIn('none', self.jwt.get_algorithms()) self.assertIn('HS256', self.jwt.get_algorithms()) + def test_de...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 0 }, "num_...
1.0
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "coverage", "unittest2", "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "...
attrs @ file:///opt/conda/conda-bld/attrs_1642510447205/work certifi==2021.5.30 coverage==6.2 importlib-metadata @ file:///tmp/build/80754af9/importlib-metadata_1631916693255/work iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work linecache2==1.0.0 more-itertools @ file:///tmp/build/80754af9/more-i...
name: pyjwt channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - attrs=21.4.0=pyhd3eb1b0_0 - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - importlib-m...
[ "tests/test_api.py::TestAPI::test_decode_skip_expiration_verification", "tests/test_api.py::TestAPI::test_decode_skip_notbefore_verification", "tests/test_api.py::TestAPI::test_default_options", "tests/test_api.py::TestAPI::test_non_default_options_persist", "tests/test_api.py::TestAPI::test_override_option...
[]
[ "tests/test_api.py::TestAPI::test_algorithms_parameter_removes_alg_from_algorithms_list", "tests/test_api.py::TestAPI::test_allow_skip_verification", "tests/test_api.py::TestAPI::test_bad_secret", "tests/test_api.py::TestAPI::test_bytes_secret", "tests/test_api.py::TestAPI::test_check_audience_in_array_when...
[]
MIT License
83
[ "jwt/api.py", "README.md", "CHANGELOG.md", "AUTHORS" ]
[ "jwt/api.py", "README.md", "CHANGELOG.md", "AUTHORS" ]
google__yapf-75
cfb99aba49789019542ec6cb2b3f7215d1f9a04f
2015-04-07 05:21:11
5e7c8aadfe6ed7d892e858b305ef2ca60c65bfcc
coveralls: [![Coverage Status](https://coveralls.io/builds/2278632/badge)](https://coveralls.io/builds/2278632) Coverage decreased (-0.05%) to 90.88% when pulling **da1a700cebe8bc3698a501766295befafccaa404 on hayd:fix_74** into **cfb99aba49789019542ec6cb2b3f7215d1f9a04f on google:master**. coveralls: [![Coverage St...
diff --git a/plugins/yapf.vim b/plugins/yapf.vim index cdbb048..3b43104 100644 --- a/plugins/yapf.vim +++ b/plugins/yapf.vim @@ -23,7 +23,7 @@ function! yapf#YAPF() range " Determine range to format. let l:line_ranges = a:firstline . '-' . a:lastline - let l:cmd = 'yapf --lines=' . l:line_ranges + let l:cmd = ...
Fixing lines with a multi-line string inserts too many lines Note: I have a fix for this #74. ``` code = '"""\ndocstring\n\n"""\n\nimport blah' from yapf.yapflib.yapf_api import FormatCode In [4]: FormatCode(code) Out[4]: '"""\ndocstring\n\n"""\n\nimport blah\n' In [5]: FormatCode(code, lines=[(2, 2)]) Out...
google/yapf
diff --git a/yapftests/yapf_test.py b/yapftests/yapf_test.py index 5ae4e46..fb9f201 100644 --- a/yapftests/yapf_test.py +++ b/yapftests/yapf_test.py @@ -503,6 +503,24 @@ class CommandLineTest(unittest.TestCase): self.assertIsNone(stderrdata) self.assertEqual(reformatted_code.decode('utf-8'), expected_formatte...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_issue_reference", "has_many_modified_files" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 0, "issue_text_score": 1, "test_score": 0 }, "num_modified_files": 2 }
0.1
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.9", "reqs_path": null, "test_cmd": "pytest --no-header -rA --tb=line ...
exceptiongroup==1.2.2 iniconfig==2.1.0 packaging==24.2 pluggy==1.5.0 pytest==8.3.5 tomli==2.2.1 -e git+https://github.com/google/yapf.git@cfb99aba49789019542ec6cb2b3f7215d1f9a04f#egg=yapf
name: yapf channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11.2...
[ "yapftests/yapf_test.py::CommandLineTest::testREtainingVerticalWhitespace" ]
[]
[ "yapftests/yapf_test.py::YapfTest::testNoEndingNewline", "yapftests/yapf_test.py::YapfTest::testSimple", "yapftests/yapf_test.py::CommandLineTest::testDisableButAdjustIndentations", "yapftests/yapf_test.py::CommandLineTest::testDisableWholeDataStructure", "yapftests/yapf_test.py::CommandLineTest::testEncodi...
[]
Apache License 2.0
84
[ "plugins/yapf.vim", "yapf/yapflib/reformatter.py" ]
[ "plugins/yapf.vim", "yapf/yapflib/reformatter.py" ]
mkdocs__mkdocs-435
a633d92852794d8d86c289bcafa9121d680b1ae9
2015-04-08 16:12:44
bfc393ce2dd31d0fea2be3a5b0fec20ed361bfe0
diff --git a/docs/user-guide/configuration.md b/docs/user-guide/configuration.md index fbd5a287..bb0ba228 100644 --- a/docs/user-guide/configuration.md +++ b/docs/user-guide/configuration.md @@ -200,6 +200,22 @@ For example, to enable the [SmartyPants typography extension][smarty], use: markdown_extensions: [sma...
Support Markdown Extension Configs Mkdocs uses Python-Markdown and offers support for users to specify extensions supported by Python-Markdown. However, currently mkdocs provides no way (sort-of; see below) to pass config settings into the extensions specified. For example, I would often like to use the [TOC][1] Extens...
mkdocs/mkdocs
diff --git a/mkdocs/tests/build_tests.py b/mkdocs/tests/build_tests.py index eaadf753..8c0808d5 100644 --- a/mkdocs/tests/build_tests.py +++ b/mkdocs/tests/build_tests.py @@ -320,3 +320,22 @@ class BuildTests(unittest.TestCase): self.assertRaises( MarkdownNotFound, build.convert_markd...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_hyperlinks", "has_issue_reference", "has_many_modified_files", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 2 }, ...
0.11
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "nose", "coverage", "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "pytho...
attrs==22.2.0 certifi==2021.5.30 coverage==6.2 ghp-import==2.1.0 importlib-metadata==4.8.3 iniconfig==1.1.1 Jinja2==3.0.3 Markdown==3.3.7 MarkupSafe==2.0.1 -e git+https://github.com/mkdocs/mkdocs.git@a633d92852794d8d86c289bcafa9121d680b1ae9#egg=mkdocs nose==1.3.7 packaging==21.3 pluggy==1.0.0 py==1.11.0 pyparsing==3.1....
name: mkdocs channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - lib...
[ "mkdocs/tests/build_tests.py::BuildTests::test_extension_config" ]
[ "mkdocs/tests/build_tests.py::BuildTests::test_markdown_custom_extension" ]
[ "mkdocs/tests/build_tests.py::BuildTests::test_anchor_only_link", "mkdocs/tests/build_tests.py::BuildTests::test_convert_internal_asbolute_media", "mkdocs/tests/build_tests.py::BuildTests::test_convert_internal_link", "mkdocs/tests/build_tests.py::BuildTests::test_convert_internal_link_differing_directory", ...
[]
BSD 2-Clause "Simplified" License
85
[ "docs/user-guide/configuration.md", "mkdocs/build.py" ]
[ "docs/user-guide/configuration.md", "mkdocs/build.py" ]
mkdocs__mkdocs-443
74d3191e419b7cb79fe66f700119ead3365f70d0
2015-04-09 12:25:57
bfc393ce2dd31d0fea2be3a5b0fec20ed361bfe0
diff --git a/mkdocs/main.py b/mkdocs/main.py index d73f9091..8b9a9412 100755 --- a/mkdocs/main.py +++ b/mkdocs/main.py @@ -55,7 +55,7 @@ def main(cmd, args, options=None): build(config, clean_site_dir=clean_site_dir) gh_deploy(config) elif cmd == 'new': - new(args, options) + new(ar...
`mkdocs new` broken under python2 current master, python 2.7.9 virtualenv only top directory and mkdocs.yml created, no docs dir or index.md ``` (karasu)[lashni@orphan src]$ mkdocs new karasu Creating project directory: karasu Writing config file: karasu/mkdocs.yml Traceback (most recent call last): File "/h...
mkdocs/mkdocs
diff --git a/mkdocs/tests/new_tests.py b/mkdocs/tests/new_tests.py new file mode 100644 index 00000000..e54fcb58 --- /dev/null +++ b/mkdocs/tests/new_tests.py @@ -0,0 +1,28 @@ +#!/usr/bin/env python +# coding: utf-8 + +import tempfile +import unittest +import os + +from mkdocs import new + + +class NewTests(unittest.Te...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_modified_files" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 2 }, "num_modified_files": 2 }
0.11
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov", "pytest-xdist", "pytest-mock", "pytest-asyncio" ], "pre_install": [ "apt...
coverage==7.8.0 exceptiongroup==1.2.2 execnet==2.1.1 ghp-import==2.1.0 importlib_metadata==8.6.1 iniconfig==2.1.0 Jinja2==3.1.6 Markdown==3.7 MarkupSafe==3.0.2 -e git+https://github.com/mkdocs/mkdocs.git@74d3191e419b7cb79fe66f700119ead3365f70d0#egg=mkdocs packaging==24.2 pluggy==1.5.0 pytest==8.3.5 pytest-asyncio==0.26...
name: mkdocs channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11...
[ "mkdocs/tests/new_tests.py::NewTests::test_new" ]
[]
[]
[]
BSD 2-Clause "Simplified" License
86
[ "mkdocs/new.py", "mkdocs/main.py" ]
[ "mkdocs/new.py", "mkdocs/main.py" ]
ReactiveX__RxPY-37
72eecb5292f7ce105fdadf3f66d9c49091e72fd5
2015-04-10 02:08:16
72eecb5292f7ce105fdadf3f66d9c49091e72fd5
diff --git a/examples/asyncio/toasyncgenerator.py b/examples/asyncio/toasyncgenerator.py index 076b82c4..9b3c2319 100644 --- a/examples/asyncio/toasyncgenerator.py +++ b/examples/asyncio/toasyncgenerator.py @@ -1,6 +1,6 @@ -import asyncio - import rx +asyncio = rx.config['asyncio'] + from rx.concurrency import AsyncI...
AsyncIOScheduler for Python 2.7 via Trollius? It seems possible to make the `AsyncIOScheduler` available for Python 2.7 through the use of [trollius](http://trollius.readthedocs.org/). Perhaps it can be configured through `rx.config`, like the class for `Future` can be?
ReactiveX/RxPY
diff --git a/tests/test_concurrency/test_mainloopscheduler/py2_asyncioscheduler.py b/tests/test_concurrency/test_mainloopscheduler/py2_asyncioscheduler.py new file mode 100644 index 00000000..60d32c45 --- /dev/null +++ b/tests/test_concurrency/test_mainloopscheduler/py2_asyncioscheduler.py @@ -0,0 +1,86 @@ +from nose i...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_hyperlinks", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 2, "test_score": 2 }, ...
1.1
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "nose", "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.4", "reqs_path": ...
attrs @ file:///opt/conda/conda-bld/attrs_1642510447205/work certifi==2021.5.30 importlib-metadata @ file:///tmp/build/80754af9/importlib-metadata_1631916693255/work iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work more-itertools @ file:///tmp/build/80754af9/more-itertools_1637733554872/work nose...
name: RxPY channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - attrs=21.4.0=pyhd3eb1b0_0 - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - importlib-me...
[ "tests/test_concurrency/test_mainloopscheduler/py3_asyncioscheduler.py::TestAsyncIOScheduler::test_asyncio_schedule_action", "tests/test_concurrency/test_mainloopscheduler/py3_asyncioscheduler.py::TestAsyncIOScheduler::test_asyncio_schedule_action_cancel", "tests/test_concurrency/test_mainloopscheduler/py3_asyn...
[]
[]
[]
MIT License
87
[ "rx/concurrency/mainloopscheduler/asyncioscheduler.py", "examples/autocomplete/autocomplete_asyncio.py", "rx/__init__.py", "examples/asyncio/toasyncgenerator.py" ]
[ "rx/concurrency/mainloopscheduler/asyncioscheduler.py", "examples/autocomplete/autocomplete_asyncio.py", "rx/__init__.py", "examples/asyncio/toasyncgenerator.py" ]
Polyconseil__getconf-11
28028bd9d85df0486e6c5c8f5bb25a9415c06816
2015-04-10 08:57:17
28028bd9d85df0486e6c5c8f5bb25a9415c06816
diff --git a/ChangeLog b/ChangeLog index 4ef00ca..55b40c1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,8 @@ ChangeLog *New:* * Add getfloat() method + * Allow globs in `config_files` + * <PROJECT>_CONFIG env var will now have the same behaviour than `config_files` items 1.2.1 (2014-10-24) diff -...
Load particular files from a directory When using ``ansible`` to deploy a new configuration, ``ansible`` will create backups of the files it plans to update. Here, this would be ``/path/to/file.ini.20150218``, which *will* be loaded by ``getconf``. I'd like ``getconf`` to only load ``*.ini`` files. (original fre...
Polyconseil/getconf
diff --git a/tests/test_base.py b/tests/test_base.py index c1e9ba6..17673ce 100644 --- a/tests/test_base.py +++ b/tests/test_base.py @@ -106,7 +106,7 @@ class ConfigGetterTestCase(unittest.TestCase): def test_from_directory(self): """Test fetching from a directory.""" getter = getconf.ConfigGette...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 3 }, "num_modified_files": 4 }
1.2
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov", "pytest-xdist", "pytest-mock", "pytest-asyncio" ], "pre_install": [ "apt...
coverage==7.8.0 exceptiongroup==1.2.2 execnet==2.1.1 -e git+https://github.com/Polyconseil/getconf.git@28028bd9d85df0486e6c5c8f5bb25a9415c06816#egg=getconf iniconfig==2.1.0 packaging==24.2 pluggy==1.5.0 pytest==8.3.5 pytest-asyncio==0.26.0 pytest-cov==6.0.0 pytest-mock==3.14.0 pytest-xdist==3.6.1 tomli==2.2.1 typing_ex...
name: getconf channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=1...
[ "tests/test_base.py::ConfigGetterTestCase::test_environ_defined_globs", "tests/test_base.py::ConfigGetterTestCase::test_from_directory", "tests/test_base.py::ConfigGetterTestCase::test_from_directory_and_files", "tests/test_base.py::ConfigGetterTestCase::test_from_globs" ]
[]
[ "tests/test_base.py::ConfigGetterTestCase::test_defaults", "tests/test_base.py::ConfigGetterTestCase::test_defaults_with_directory", "tests/test_base.py::ConfigGetterTestCase::test_defaults_with_file", "tests/test_base.py::ConfigGetterTestCase::test_environ_defined_file", "tests/test_base.py::ConfigGetterTe...
[]
BSD 2-Clause "Simplified" License
88
[ "README.rst", "getconf/base.py", "ChangeLog", "docs/reference.rst" ]
[ "README.rst", "getconf/base.py", "ChangeLog", "docs/reference.rst" ]
softlayer__softlayer-python-518
d6612c3546b5525dc61c48ffd9d755288d42b64b
2015-04-10 16:43:56
200787d4c3bf37bc4e701caf6a52e24dd07d18a3
diff --git a/SoftLayer/API.py b/SoftLayer/API.py index 5b75fd96..fc0494c6 100644 --- a/SoftLayer/API.py +++ b/SoftLayer/API.py @@ -12,11 +12,20 @@ from SoftLayer import consts from SoftLayer import transports +# pylint: disable=invalid-name + + API_PUBLIC_ENDPOINT = consts.API_PUBLIC_ENDPOINT API_PRIVATE_ENDPOINT...
Solidify Client Construction I want to make the following changes: * Rename SoftLayer.API.Client to SoftLayer.API.BaseClient * Remove all other arguments from SoftLayer.API.BaseClient except for: * transport * auth * Transports will now be constructed with endpoint_url, timeout, proxy and user_agent * a new...
softlayer/softlayer-python
diff --git a/SoftLayer/tests/CLI/modules/config_tests.py b/SoftLayer/tests/CLI/modules/config_tests.py index 8299d7b9..73baf54a 100644 --- a/SoftLayer/tests/CLI/modules/config_tests.py +++ b/SoftLayer/tests/CLI/modules/config_tests.py @@ -24,8 +24,8 @@ def test_show(self): self.assertEqual(json.loads(result.ou...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 2, "test_score": 2 }, "num_modified_files": 6 }
3.3
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.6", "reqs_path...
alabaster==0.7.13 attrs==22.2.0 Babel==2.11.0 certifi==2021.5.30 charset-normalizer==2.0.12 click==8.0.4 coverage==6.2 distlib==0.3.9 docutils==0.18.1 filelock==3.4.1 fixtures==4.0.1 idna==3.10 imagesize==1.4.1 importlib-metadata==4.8.3 importlib-resources==5.4.0 iniconfig==1.1.1 Jinja2==3.0.3 MarkupSafe==2.0.1 mock==5...
name: softlayer-python channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - ld_impl_linux-64=2.40=h12ee557...
[ "SoftLayer/tests/CLI/modules/config_tests.py::TestHelpShow::test_show", "SoftLayer/tests/api_tests.py::Inititialization::test_env", "SoftLayer/tests/api_tests.py::Inititialization::test_init", "SoftLayer/tests/api_tests.py::APIClient::test_call_compression_enabled", "SoftLayer/tests/api_tests.py::APIClient:...
[ "SoftLayer/tests/transport_tests.py::TestRestAPICall::test_proxy_without_protocol" ]
[ "SoftLayer/tests/CLI/modules/config_tests.py::TestHelpSetup::test_get_user_input_custom", "SoftLayer/tests/CLI/modules/config_tests.py::TestHelpSetup::test_get_user_input_default", "SoftLayer/tests/CLI/modules/config_tests.py::TestHelpSetup::test_get_user_input_private", "SoftLayer/tests/CLI/modules/config_te...
[]
MIT License
89
[ "SoftLayer/auth.py", "SoftLayer/transports.py", "SoftLayer/CLI/config/__init__.py", "SoftLayer/managers/metadata.py", "SoftLayer/API.py", "SoftLayer/config.py" ]
[ "SoftLayer/auth.py", "SoftLayer/transports.py", "SoftLayer/CLI/config/__init__.py", "SoftLayer/managers/metadata.py", "SoftLayer/API.py", "SoftLayer/config.py" ]
Pylons__webob-192
643ac0afc561165575a999d7458daa2bc5b0a2c1
2015-04-11 16:22:54
9b79f5f913fb1f07c68102a2279ed757a2a9abf6
diff --git a/webob/request.py b/webob/request.py index 01c170f..8269ac5 100644 --- a/webob/request.py +++ b/webob/request.py @@ -785,8 +785,10 @@ class BaseRequest(object): return NoVars('Not an HTML form submission (Content-Type: %s)' % content_type) self._check_charset...
Accessing request.POST modifyed body I have a request which is POSTing JSON data, but some clients do not send along a `Content-Type` header. When this happens accessing `request.POST` will mangle the request body. Here is an example: ```python (Pdb) p request.content_type '' (Pdb) p request.body '{"password": "...
Pylons/webob
diff --git a/tests/test_request.py b/tests/test_request.py index ebe5daf..f325bb9 100644 --- a/tests/test_request.py +++ b/tests/test_request.py @@ -512,6 +512,21 @@ class TestRequestCommon(unittest.TestCase): result = req.POST self.assertEqual(result['var1'], 'value1') + def test_POST_json_no_co...
{ "commit_name": "head_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 3 }, "num_modified_files": 1 }
1.4
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.4", "reqs_path": null, "test_cmd": "pytest --no-header -rA --tb=line --col...
attrs @ file:///opt/conda/conda-bld/attrs_1642510447205/work certifi==2021.5.30 importlib-metadata @ file:///tmp/build/80754af9/importlib-metadata_1631916693255/work iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work more-itertools @ file:///tmp/build/80754af9/more-itertools_1637733554872/work pack...
name: webob channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - attrs=21.4.0=pyhd3eb1b0_0 - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - importlib-m...
[ "tests/test_request.py::TestRequestCommon::test_POST_json_no_content_type" ]
[]
[ "tests/test_request.py::TestRequestCommon::test_GET_reflects_query_string", "tests/test_request.py::TestRequestCommon::test_GET_updates_query_string", "tests/test_request.py::TestRequestCommon::test_POST_existing_cache_hit", "tests/test_request.py::TestRequestCommon::test_POST_missing_content_type", "tests/...
[]
null
90
[ "webob/request.py" ]
[ "webob/request.py" ]
softlayer__softlayer-python-523
200787d4c3bf37bc4e701caf6a52e24dd07d18a3
2015-04-14 01:39:04
200787d4c3bf37bc4e701caf6a52e24dd07d18a3
diff --git a/SoftLayer/CLI/call_api.py b/SoftLayer/CLI/call_api.py index 4d89cf74..e24e185d 100644 --- a/SoftLayer/CLI/call_api.py +++ b/SoftLayer/CLI/call_api.py @@ -9,21 +9,24 @@ @click.command('call', short_help="Call arbitrary API endpoints.") @click.argument('service') @click.argument('method') +@click.argument...
enableSnapshots method not working Hi, I'm trying to enable HOURLY/DAILY/WEEKLY snapshots using slcli as follows: slcli call-api Network_Storage enableSnapshots --id=XXXXXX --retentionCount=3 --scheduleType=HOURLY --minute=59 Error: no such option: --retentionCount According to the WSDL all these parameters a...
softlayer/softlayer-python
diff --git a/SoftLayer/tests/CLI/modules/call_api_tests.py b/SoftLayer/tests/CLI/modules/call_api_tests.py index b14cd9f1..2555b8e8 100644 --- a/SoftLayer/tests/CLI/modules/call_api_tests.py +++ b/SoftLayer/tests/CLI/modules/call_api_tests.py @@ -119,6 +119,17 @@ def test_list_table(self): :......:......:.......:........
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 2 }, "num_modified_files": 1 }
3.3
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.6", "reqs_path...
alabaster==0.7.13 attrs==22.2.0 Babel==2.11.0 certifi==2021.5.30 charset-normalizer==2.0.12 click==8.0.4 coverage==6.2 distlib==0.3.9 docutils==0.18.1 filelock==3.4.1 fixtures==4.0.1 idna==3.10 imagesize==1.4.1 importlib-metadata==4.8.3 importlib-resources==5.4.0 iniconfig==1.1.1 Jinja2==3.0.3 MarkupSafe==2.0.1 mock==5...
name: softlayer-python channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - ld_impl_linux-64=2.40=h12ee557...
[ "SoftLayer/tests/CLI/modules/call_api_tests.py::CallCliTests::test_parameters" ]
[]
[ "SoftLayer/tests/CLI/modules/call_api_tests.py::CallCliTests::test_list", "SoftLayer/tests/CLI/modules/call_api_tests.py::CallCliTests::test_list_table", "SoftLayer/tests/CLI/modules/call_api_tests.py::CallCliTests::test_object", "SoftLayer/tests/CLI/modules/call_api_tests.py::CallCliTests::test_object_nested...
[]
MIT License
91
[ "SoftLayer/CLI/call_api.py" ]
[ "SoftLayer/CLI/call_api.py" ]
chimpler__pyhocon-13
4e8c1621c49dac503a790cd46f843135342ae618
2015-04-14 03:15:18
4e8c1621c49dac503a790cd46f843135342ae618
diff --git a/pyhocon/__init__.py b/pyhocon/__init__.py index 2a467e8..5b3b7a5 100644 --- a/pyhocon/__init__.py +++ b/pyhocon/__init__.py @@ -145,7 +145,7 @@ class ConfigParser(object): eol = Word('\n\r').suppress() eol_comma = Word('\n\r,').suppress() - comment = (Optional(eol_comma) + (Liter...
String substitution broken? Could it be that the fix for object merging (issue #10) broken string substitution? Expanding on the simple unit test from pyhocon codebase: ``` In [54]: config = ConfigFactory.parse_string( ....: """ ....: { ....: a: { ....: ...
chimpler/pyhocon
diff --git a/tests/test_config_parser.py b/tests/test_config_parser.py index be865ba..492816d 100644 --- a/tests/test_config_parser.py +++ b/tests/test_config_parser.py @@ -1,6 +1,6 @@ import pytest -from pyhocon import ConfigFactory -from pyhocon.exceptions import ConfigMissingException +from pyhocon import ConfigFac...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_issue_reference", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 0, "test_score": 2 }, "num_modified_files": 2 }
0.2
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.9", "reqs_path": [ "requirements/base.txt" ], "test_cmd": ...
exceptiongroup==1.2.2 iniconfig==2.1.0 packaging==24.2 pluggy==1.5.0 -e git+https://github.com/chimpler/pyhocon.git@4e8c1621c49dac503a790cd46f843135342ae618#egg=pyhocon pyparsing==2.0.3 pytest==8.3.5 tomli==2.2.1
name: pyhocon channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=1...
[ "tests/test_config_parser.py::TestConfigParser::test_string_substitutions", "tests/test_config_parser.py::TestConfigParser::test_non_compatible_substitution" ]
[]
[ "tests/test_config_parser.py::TestConfigParser::test_parse_simple_value", "tests/test_config_parser.py::TestConfigParser::test_parse_with_enclosing_brace", "tests/test_config_parser.py::TestConfigParser::test_parse_with_enclosing_square_bracket", "tests/test_config_parser.py::TestConfigParser::test_quoted_key...
[]
Apache License 2.0
92
[ "pyhocon/__init__.py", "pyhocon/config_tree.py" ]
[ "pyhocon/__init__.py", "pyhocon/config_tree.py" ]
falconry__falcon-494
92560ebafb8dc20f8aaa6e072536185622c5a88e
2015-04-14 13:58:49
6608a5f10aead236ae5345488813de805b85b064
mcmasterathl: I will rebase this when #495 is merged, as I am pretty sure they conflict. jmvrbanac: @mcmasterathl when you have time, could you rebase your change? Thanks! mcmasterathl: Yup, was working on that right now actually. mcmasterathl: @jmvrbanac All set jmvrbanac: :+1: LGTM
diff --git a/falcon/request.py b/falcon/request.py index 6acb1e6..116af67 100644 --- a/falcon/request.py +++ b/falcon/request.py @@ -617,12 +617,13 @@ class Request(object): try: http_date = self.get_header(header, required=required) - return util.http_date_to_dt(http_date) + ...
Support obsolete HTTP date formats In looking at [RFC 7231](http://tools.ietf.org/html/rfc7231#section-7.1.1.1), Falcon date parsing is actually restricted to IMF-fixdate and does not support the other two obsolete formats. Should we support those formats? Doing so may have minor performance implications for little ben...
falconry/falcon
diff --git a/tests/test_req_vars.py b/tests/test_req_vars.py index 56a786d..48dfe06 100644 --- a/tests/test_req_vars.py +++ b/tests/test_req_vars.py @@ -527,7 +527,7 @@ class TestReqVars(testing.TestBase): headers = {header: 'Thu, 04 Apr 2013'} expected_desc = ('The value provided for the {0} ' ...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_modified_files" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 1, "test_score": 3 }, "num_modified_files": 2 }
0.2
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "nose", "coverage", "ddt", "pyyaml", "requests", "testtools", "pytest" ], "pre_install": [ "a...
certifi==2025.1.31 charset-normalizer==3.4.1 coverage==7.8.0 ddt==1.7.2 exceptiongroup==1.2.2 -e git+https://github.com/falconry/falcon.git@92560ebafb8dc20f8aaa6e072536185622c5a88e#egg=falcon idna==3.10 iniconfig==2.1.0 nose==1.3.7 packaging==24.2 pluggy==1.5.0 pytest==8.3.5 python-mimeparse==2.0.0 PyYAML==6.0.2 reques...
name: falcon channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11...
[ "tests/test_req_vars.py::TestReqVars::test_date_invalid_1___Date____date__", "tests/test_req_vars.py::TestReqVars::test_date_invalid_2___If_Modified_Since____if_modified_since__", "tests/test_req_vars.py::TestReqVars::test_date_invalid_3___If_Unmodified_Since____if_unmodified_since__", "tests/test_utils.py::T...
[ "tests/test_req_vars.py::TestReqVars::test_client_accepts", "tests/test_utils.py::TestFalconUtils::test_deprecated_decorator" ]
[ "tests/test_req_vars.py::TestReqVars::test_attribute_headers", "tests/test_req_vars.py::TestReqVars::test_bogus_content_length_nan", "tests/test_req_vars.py::TestReqVars::test_bogus_content_length_neg", "tests/test_req_vars.py::TestReqVars::test_client_accepts_bogus", "tests/test_req_vars.py::TestReqVars::t...
[]
Apache License 2.0
93
[ "falcon/request.py", "falcon/util/misc.py" ]
[ "falcon/request.py", "falcon/util/misc.py" ]
softlayer__softlayer-python-524
200787d4c3bf37bc4e701caf6a52e24dd07d18a3
2015-04-14 18:26:39
200787d4c3bf37bc4e701caf6a52e24dd07d18a3
diff --git a/SoftLayer/CLI/server/detail.py b/SoftLayer/CLI/server/detail.py index 61eeb43e..943b694b 100644 --- a/SoftLayer/CLI/server/detail.py +++ b/SoftLayer/CLI/server/detail.py @@ -35,7 +35,7 @@ def cli(env, identifier, passwords, price): result = utils.NestedDict(result) table.add_row(['id', result['...
problem with hourly bare metal servers immediate cancelation in CLI and manager slcli server cancel --immediate <server id> does not produce an error, but cancels server on its monthly anniversary. The cause of the problem is "old" logic in cancel_hardware method of harware.py. In SL API 4.0 harware.py place_order now ...
softlayer/softlayer-python
diff --git a/SoftLayer/tests/managers/hardware_tests.py b/SoftLayer/tests/managers/hardware_tests.py index 283598c9..79aa5025 100644 --- a/SoftLayer/tests/managers/hardware_tests.py +++ b/SoftLayer/tests/managers/hardware_tests.py @@ -243,57 +243,53 @@ def test_place_order(self, create_dict): self.assert_calle...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_issue_reference", "has_many_modified_files", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 2 }, "num_modified_files": ...
3.3
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.6", "reqs_path...
alabaster==0.7.13 attrs==22.2.0 Babel==2.11.0 certifi==2021.5.30 charset-normalizer==2.0.12 click==8.0.4 coverage==6.2 distlib==0.3.9 docutils==0.18.1 filelock==3.4.1 fixtures==4.0.1 idna==3.10 imagesize==1.4.1 importlib-metadata==4.8.3 importlib-resources==5.4.0 iniconfig==1.1.1 Jinja2==3.0.3 MarkupSafe==2.0.1 mock==5...
name: softlayer-python channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - ld_impl_linux-64=2.40=h12ee557...
[ "SoftLayer/tests/managers/hardware_tests.py::HardwareTests::test_cancel_hardware", "SoftLayer/tests/managers/hardware_tests.py::HardwareTests::test_cancel_hardware_no_billing_item", "SoftLayer/tests/managers/hardware_tests.py::HardwareTests::test_cancel_hardware_with_reason_and_comment", "SoftLayer/tests/mana...
[]
[ "SoftLayer/tests/managers/hardware_tests.py::HardwareTests::test_change_port_speed_private", "SoftLayer/tests/managers/hardware_tests.py::HardwareTests::test_change_port_speed_public", "SoftLayer/tests/managers/hardware_tests.py::HardwareTests::test_edit", "SoftLayer/tests/managers/hardware_tests.py::Hardware...
[]
MIT License
94
[ "SoftLayer/CLI/server/detail.py", "SoftLayer/managers/hardware.py" ]
[ "SoftLayer/CLI/server/detail.py", "SoftLayer/managers/hardware.py" ]
Shopify__shopify_python_api-94
77dfd01e6e2bda80767663bd8214234f11b9ebdc
2015-04-14 20:53:47
c29e0ecbed9de67dd923f980a3ac053922dab75e
diff --git a/.gitignore b/.gitignore index f62c50b..ba6c0eb 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ tags /ShopifyAPI.egg-info *.egg /.idea +.DS_Store diff --git a/CHANGELOG b/CHANGELOG index 00fe323..4301098 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -2,7 +2,6 @@ * Added Checkout resource * Updat...
RecurringApplicationCharge.current() does not work as expected In RecurringApplicationCharge class there is class method "current" that doesn't work as expexted. ## Problem I have few RecurringApplicationCharge instances for my test shop but none of them has status=active. I was expecting to get None as a result w...
Shopify/shopify_python_api
diff --git a/test/fixtures/recurring_application_charges.json b/test/fixtures/recurring_application_charges.json new file mode 100644 index 0000000..45b4109 --- /dev/null +++ b/test/fixtures/recurring_application_charges.json @@ -0,0 +1,38 @@ +{ + "recurring_application_charges": [ + { + "activated_on": null, ...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 2, "test_score": 3 }, "num_...
2.1
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.9", "reqs_path": [ "requirements/base.txt" ], "test_cmd": ...
exceptiongroup==1.2.2 iniconfig==2.1.0 packaging==24.2 pluggy==1.5.0 pyactiveresource==2.2.2 pytest==8.3.5 PyYAML==6.0.2 -e git+https://github.com/Shopify/shopify_python_api.git@77dfd01e6e2bda80767663bd8214234f11b9ebdc#egg=ShopifyAPI six==1.17.0 tomli==2.2.1
name: shopify_python_api channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - ...
[ "test/recurring_charge_test.py::RecurringApplicationChargeTest::test_current_method_returns_active_charge", "test/recurring_charge_test.py::RecurringApplicationChargeTest::test_current_method_returns_none_if_active_not_found", "test/session_test.py::SessionTest::test_return_token_if_signature_is_valid" ]
[]
[ "test/recurring_charge_test.py::RecurringApplicationChargeTest::test_activate_charge", "test/session_test.py::SessionTest::test_be_valid_with_any_token_and_any_url", "test/session_test.py::SessionTest::test_create_permission_url_returns_correct_url_with_dual_scope_no_redirect_uri", "test/session_test.py::Sess...
[]
MIT License
95
[ ".gitignore", "README.md", "shopify/session.py", "shopify/resources/recurring_application_charge.py", "CHANGELOG" ]
[ ".gitignore", "README.md", "shopify/session.py", "shopify/resources/recurring_application_charge.py", "CHANGELOG" ]
softlayer__softlayer-python-526
200787d4c3bf37bc4e701caf6a52e24dd07d18a3
2015-04-14 21:29:21
200787d4c3bf37bc4e701caf6a52e24dd07d18a3
diff --git a/SoftLayer/managers/metadata.py b/SoftLayer/managers/metadata.py index 405f88da..d6477cc1 100644 --- a/SoftLayer/managers/metadata.py +++ b/SoftLayer/managers/metadata.py @@ -82,10 +82,13 @@ def get(self, name, param=None): raise exceptions.SoftLayerError( 'Parameter re...
'slcli metadata tags' command fails The 'slcli metadata tags' command fails, the following exception is raised when debug is set: slcli -vvv metadata tags === REQUEST === https://api.service.softlayer.com/rest/v3.1/SoftLayer_Resource_Metadata/Tags/None.json {'Content-Type': 'application/json', 'Accept-Encoding': ...
softlayer/softlayer-python
diff --git a/SoftLayer/tests/managers/metadata_tests.py b/SoftLayer/tests/managers/metadata_tests.py index 9d471265..1ee2b3bd 100644 --- a/SoftLayer/tests/managers/metadata_tests.py +++ b/SoftLayer/tests/managers/metadata_tests.py @@ -28,7 +28,8 @@ def test_no_param(self): self.assertEqual('dal01', resp) ...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_hyperlinks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 0, "issue_text_score": 1, "test_score": 0 }, "num_modified_files": 1 }
3.3
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.6", "reqs_path...
alabaster==0.7.13 attrs==22.2.0 Babel==2.11.0 certifi==2021.5.30 charset-normalizer==2.0.12 click==8.0.4 coverage==6.2 distlib==0.3.9 docutils==0.18.1 filelock==3.4.1 fixtures==4.0.1 idna==3.10 imagesize==1.4.1 importlib-metadata==4.8.3 importlib-resources==5.4.0 iniconfig==1.1.1 Jinja2==3.0.3 MarkupSafe==2.0.1 mock==5...
name: softlayer-python channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - ld_impl_linux-64=2.40=h12ee557...
[ "SoftLayer/tests/managers/metadata_tests.py::MetadataTests::test_no_param" ]
[]
[ "SoftLayer/tests/managers/metadata_tests.py::MetadataTests::test_404", "SoftLayer/tests/managers/metadata_tests.py::MetadataTests::test_error", "SoftLayer/tests/managers/metadata_tests.py::MetadataTests::test_get", "SoftLayer/tests/managers/metadata_tests.py::MetadataTests::test_networks", "SoftLayer/tests/...
[]
MIT License
96
[ "SoftLayer/managers/metadata.py" ]
[ "SoftLayer/managers/metadata.py" ]
falconry__falcon-505
9dc3d87259b8fc50abc638a42b20e1eaa04d0cbc
2015-04-15 12:55:19
6608a5f10aead236ae5345488813de805b85b064
diff --git a/falcon/request.py b/falcon/request.py index 0663c21..be8aabf 100644 --- a/falcon/request.py +++ b/falcon/request.py @@ -343,6 +343,9 @@ class Request(object): value = self.env['HTTP_RANGE'] if value.startswith('bytes='): value = value[6:] + else: + ...
Make "bytes" prefix in Range header value required Currently, range header values without a "bytes" prefix are allowed. Change the code to always require a "bytes" prefix.
falconry/falcon
diff --git a/tests/test_req_vars.py b/tests/test_req_vars.py index 904d622..5ee1809 100644 --- a/tests/test_req_vars.py +++ b/tests/test_req_vars.py @@ -368,15 +368,15 @@ class TestReqVars(testing.TestBase): self.assertEqual(preferred_type, None) def test_range(self): - headers = {'Range': '10-'}...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 0 }, "num_modified_files": 1 }
0.2
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "nose", "coverage", "ddt", "pyyaml", "requests", "six", "testtools", "pytest" ], "pre_install...
certifi==2025.1.31 charset-normalizer==3.4.1 coverage==7.8.0 ddt==1.7.2 exceptiongroup==1.2.2 -e git+https://github.com/falconry/falcon.git@9dc3d87259b8fc50abc638a42b20e1eaa04d0cbc#egg=falcon idna==3.10 iniconfig==2.1.0 nose==1.3.7 packaging==24.2 pluggy==1.5.0 pytest==8.3.5 python-mimeparse==2.0.0 PyYAML==6.0.2 reques...
name: falcon channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11...
[ "tests/test_req_vars.py::TestReqVars::test_range_invalid" ]
[ "tests/test_req_vars.py::TestReqVars::test_client_accepts" ]
[ "tests/test_req_vars.py::TestReqVars::test_attribute_headers", "tests/test_req_vars.py::TestReqVars::test_bogus_content_length_nan", "tests/test_req_vars.py::TestReqVars::test_bogus_content_length_neg", "tests/test_req_vars.py::TestReqVars::test_client_accepts_bogus", "tests/test_req_vars.py::TestReqVars::t...
[]
Apache License 2.0
97
[ "falcon/request.py" ]
[ "falcon/request.py" ]
falconry__falcon-511
73d9f4142ff9f04342f6abfe649c98dda409c477
2015-04-15 16:48:05
6608a5f10aead236ae5345488813de805b85b064
diff --git a/doc/user/install.rst b/doc/user/install.rst index 6633e0e..482becd 100644 --- a/doc/user/install.rst +++ b/doc/user/install.rst @@ -21,16 +21,6 @@ type: $ pip install --upgrade falcon -.. note:: - - When using Cython, you should always recompile Falcon after - upgrading Python. To do this, s...
Return if-modified-since, if-unmodified-since as datetime.datetime Currently, the HTTP date string is returned. It might as well be parsed, since the app will need to do that anyway before it can use the value.
falconry/falcon
diff --git a/falcon/testing/helpers.py b/falcon/testing/helpers.py index a292587..5e1dfb0 100644 --- a/falcon/testing/helpers.py +++ b/falcon/testing/helpers.py @@ -15,28 +15,15 @@ import random import io import sys -from datetime import datetime import six -import falcon from falcon.util import uri # Const...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_added_files", "has_removed_files", "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 0...
0.2
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest pytest-cov pytest-xdist pytest-mock pytest-asyncio", "pytest" ], "pre_install": [ "apt-get update", "...
certifi==2025.1.31 charset-normalizer==3.4.1 coverage==7.8.0 ddt==1.7.2 exceptiongroup==1.2.2 execnet==2.1.1 -e git+https://github.com/falconry/falcon.git@73d9f4142ff9f04342f6abfe649c98dda409c477#egg=falcon idna==3.10 iniconfig==2.1.0 nose==1.3.7 packaging==24.2 pluggy==1.5.0 pytest==8.3.5 pytest-asyncio==0.26.0 pytest...
name: falcon channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11...
[ "tests/test_req_vars.py::TestReqVars::test_date_2___If_Modified_since____if_modified_since__", "tests/test_req_vars.py::TestReqVars::test_date_3___If_Unmodified_since____if_unmodified_since__", "tests/test_req_vars.py::TestReqVars::test_date_invalid_2___If_Modified_Since____if_modified_since__", "tests/test_r...
[ "tests/test_req_vars.py::TestReqVars::test_client_accepts" ]
[ "tests/test_req_vars.py::TestReqVars::test_attribute_headers", "tests/test_req_vars.py::TestReqVars::test_bogus_content_length_nan", "tests/test_req_vars.py::TestReqVars::test_bogus_content_length_neg", "tests/test_req_vars.py::TestReqVars::test_client_accepts_bogus", "tests/test_req_vars.py::TestReqVars::t...
[]
Apache License 2.0
98
[ "falcon/request.py", "tools/clean_cythoned.sh", "falcon/api.py", "tox.ini", "tools/clean.sh", "doc/user/install.rst" ]
[ "falcon/request.py", "tools/clean_cythoned.sh", "falcon/api.py", "tox.ini", "tools/clean.sh", "doc/user/install.rst" ]
typesafehub__conductr-cli-47
e6196516227db9bb9b2027e1d2aa1bd8cb082337
2015-04-16 09:38:43
e5561a7e43d92a0c19e7b6e31a36448455a17fba
diff --git a/conductr_cli/conduct_services.py b/conductr_cli/conduct_services.py index cacec60..2b07544 100644 --- a/conductr_cli/conduct_services.py +++ b/conductr_cli/conduct_services.py @@ -34,10 +34,11 @@ def services(args): service_endpoints = {} for service in data: url = urlparse(service['serv...
Distinct authorities causing spurious warnings on service cmd @edwardcallahan Discovered the following warnings when performing `conduct services` having `http://:8080` and `http://milo.typesafe.com` as endpoint services: ```bash ubuntu@10:~$ conduct services SERVICE BUNDLE ID BUNDLE NAME ...
typesafehub/conductr-cli
diff --git a/conductr_cli/test/data/two_bundles_no_path.json b/conductr_cli/test/data/two_bundles_no_path.json new file mode 100644 index 0000000..5199179 --- /dev/null +++ b/conductr_cli/test/data/two_bundles_no_path.json @@ -0,0 +1,144 @@ +[ + { + "attributes": { + "bundleName": "multi-comp-multi-endp-1.0.0"...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_hyperlinks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 0, "issue_text_score": 1, "test_score": 0 }, "num_modified_files": 1 }
0.13
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "requests>=2.3.0", "argcomplete>=0.8.1", "pyhocon==0.2.1", "pytest" ], "pre_install": [ "apt-get update", "apt-...
argcomplete==3.6.1 certifi==2025.1.31 charset-normalizer==3.4.1 -e git+https://github.com/typesafehub/conductr-cli.git@e6196516227db9bb9b2027e1d2aa1bd8cb082337#egg=conductr_cli exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work idna==3.10 iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/...
name: conductr-cli channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - exceptiongroup=1.2.0=py39h06a4308_0 - iniconfig=1.1.1=pyhd3eb1b0_0 ...
[ "conductr_cli/test/test_conduct_services.py::TestConductServicesCommand::test_two_bundles_mult_components_endpoints_no_path" ]
[]
[ "conductr_cli/test/test_conduct_services.py::TestConductServicesCommand::test_no_bundles", "conductr_cli/test/test_conduct_services.py::TestConductServicesCommand::test_one_bundle_starting", "conductr_cli/test/test_conduct_services.py::TestConductServicesCommand::test_one_bundle_starting_long_ids", "conductr_...
[]
Apache License 2.0
100
[ "conductr_cli/conduct_services.py" ]
[ "conductr_cli/conduct_services.py" ]
mkdocs__mkdocs-464
852996e7e1e17e83ac650a5c5be6834323cca94e
2015-04-18 10:10:36
463c5b647e9ce5992b519708a0b9c4cba891d65c
diff --git a/mkdocs/nav.py b/mkdocs/nav.py index 5a215b28..ee7d6b34 100644 --- a/mkdocs/nav.py +++ b/mkdocs/nav.py @@ -224,6 +224,13 @@ def _generate_site_navigation(pages_config, url_context, use_directory_urls=True filename = path.split(os.path.sep)[0] title = filename_to_title(filename) +...
Regression when building docs I got this when building the Django REST Framework docs with 0.12.1 $ mkdocs build Building documentation to directory: site Directory site contains stale files. Use --clean to remove them. Traceback (most recent call last): File "/home/dougalmatthews/.virtual...
mkdocs/mkdocs
diff --git a/mkdocs/tests/nav_tests.py b/mkdocs/tests/nav_tests.py index 4e8531cd..cdd2bf9f 100644 --- a/mkdocs/tests/nav_tests.py +++ b/mkdocs/tests/nav_tests.py @@ -63,6 +63,30 @@ class SiteNavigationTests(unittest.TestCase): self.assertEqual(len(site_navigation.nav_items), 3) self.assertEqual(len(s...
{ "commit_name": "head_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "llm_score": { "difficulty_score": 2, "issue_text_score": 1, "test_score": 0 }, "num_modified_files": 1 }
0.12
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "mock", "click" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "pyt...
click==8.1.8 exceptiongroup==1.2.2 ghp-import==2.1.0 importlib_metadata==8.6.1 iniconfig==2.1.0 Jinja2==3.1.6 livereload==2.7.1 Markdown==3.7 MarkupSafe==3.0.2 -e git+https://github.com/mkdocs/mkdocs.git@852996e7e1e17e83ac650a5c5be6834323cca94e#egg=mkdocs mock==5.2.0 packaging==24.2 pluggy==1.5.0 pytest==8.3.5 python-d...
name: mkdocs channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11...
[ "mkdocs/tests/nav_tests.py::SiteNavigationTests::test_indented_toc_missing_child_title" ]
[]
[ "mkdocs/tests/nav_tests.py::SiteNavigationTests::test_ancestors", "mkdocs/tests/nav_tests.py::SiteNavigationTests::test_base_url", "mkdocs/tests/nav_tests.py::SiteNavigationTests::test_empty_toc_item", "mkdocs/tests/nav_tests.py::SiteNavigationTests::test_generate_site_navigation", "mkdocs/tests/nav_tests.p...
[]
BSD 2-Clause "Simplified" License
101
[ "mkdocs/nav.py" ]
[ "mkdocs/nav.py" ]
mahmoud__boltons-31
c9b3d2452e4ffe43920874f4f6f2e8fe425ebf00
2015-04-19 07:14:14
c9b3d2452e4ffe43920874f4f6f2e8fe425ebf00
asottile: I guess I'll fix tbutils to work under python3? Kinda unfortunate for the build to fail because I added tests :( (when it wouldn't have worked before then!)
diff --git a/.travis.yml b/.travis.yml index 9f97722..0df3b47 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,4 +6,4 @@ python: - "pypy" install: "pip install -r requirements-test.txt" -script: "py.test --doctest-modules boltons" +script: "py.test --doctest-modules boltons tests" diff --git a/boltons/tbutils.py ...
ParsedException.from_string produces wrong result when a frame is missing source (such as from eval) Take this (modified from the original) trace: ``` Traceback (most recent call last): File "<string>", line 2, in _some_function File "myfile.py", line 3, in some_other_function return foo(bar, baz) MyExc...
mahmoud/boltons
diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/tests/tbutils_test.py b/tests/tbutils_test.py new file mode 100644 index 0000000..64eb17a --- /dev/null +++ b/tests/tbutils_test.py @@ -0,0 +1,54 @@ +from __future__ import absolute_import +from __future__ import...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 1 }, "num_modified_files": 3 }
0.6
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "py", "pytest" ], "pre_install": null, "python": "3.4", "reqs_path": null, "test_cmd": "pytest --no-header -rA --tb=line ...
attrs @ file:///opt/conda/conda-bld/attrs_1642510447205/work -e git+https://github.com/mahmoud/boltons.git@c9b3d2452e4ffe43920874f4f6f2e8fe425ebf00#egg=boltons certifi==2021.5.30 importlib-metadata @ file:///tmp/build/80754af9/importlib-metadata_1631916693255/work iniconfig @ file:///home/linux1/recipes/ci/iniconfig_16...
name: boltons channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - attrs=21.4.0=pyhd3eb1b0_0 - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - importlib...
[ "tests/tbutils_test.py::test_normal_tb", "tests/tbutils_test.py::test_eval_tb", "tests/tbutils_test.py::test_last_line_is_eval_like" ]
[]
[]
[]
BSD License
102
[ "boltons/tbutils.py", ".travis.yml", "tox.ini" ]
[ "boltons/tbutils.py", ".travis.yml", "tox.ini" ]
Pylons__webob-197
9b79f5f913fb1f07c68102a2279ed757a2a9abf6
2015-04-23 02:49:34
9b79f5f913fb1f07c68102a2279ed757a2a9abf6
diff --git a/webob/response.py b/webob/response.py index a164938..9579b7e 100644 --- a/webob/response.py +++ b/webob/response.py @@ -116,16 +116,13 @@ class Response(object): if 'charset' in kw: charset = kw.pop('charset') elif self.default_charset: - if (content_type - ...
JSON content shouldn't need a UTF-8 on the content-type Fix this issue: https://github.com/Pylons/pyramid/issues/1611#issuecomment-93073442
Pylons/webob
diff --git a/tests/test_response.py b/tests/test_response.py index d9c1cd3..6425a22 100644 --- a/tests/test_response.py +++ b/tests/test_response.py @@ -104,6 +104,7 @@ def test_set_response_status_code_generic_reason(): assert res.status_code == 299 assert res.status == '299 Success' + def test_content_ty...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_hyperlinks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 2, "test_score": 2 }, "num_modified_files": 1 }
1.4
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "nose", "coverage", "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "...
coverage==7.8.0 exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work nose==1.3.7 packaging @ file:///croot/packaging_1734472117206/work pluggy @ file:///croot/pluggy_1733169602837/work pytest @ file:///croot/pytest_1738938843180/work to...
name: webob channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - exceptiongroup=1.2.0=py39h06a4308_0 - iniconfig=1.1.1=pyhd3eb1b0_0 - ld_im...
[ "tests/test_response.py::test_init_no_charset_when_json" ]
[]
[ "tests/test_response.py::test_response", "tests/test_response.py::test_set_response_status_binary", "tests/test_response.py::test_set_response_status_str_no_reason", "tests/test_response.py::test_set_response_status_str_generic_reason", "tests/test_response.py::test_set_response_status_code", "tests/test_...
[]
null
103
[ "webob/response.py" ]
[ "webob/response.py" ]
joblib__joblib-204
21cb6f3fd32b11a9b6bc1528b86bbf83fce7bb1f
2015-04-23 08:08:27
21cb6f3fd32b11a9b6bc1528b86bbf83fce7bb1f
lesteve: Forgot to say, but I checked that this fix didn't affect the hash of non datetime-like numpy arrays. ogrisel: Other than my comment, LGTM.
diff --git a/joblib/hashing.py b/joblib/hashing.py index 564817c..d3d783a 100644 --- a/joblib/hashing.py +++ b/joblib/hashing.py @@ -154,14 +154,21 @@ class NumpyHasher(Hasher): if isinstance(obj, self.np.ndarray) and not obj.dtype.hasobject: # Compute a hash of the object: try: - ...
Cannot hash datetime64 ``` In [59]: joblib.hashing.hash(numpy.zeros(dtype="<m8[s]", shape=(10,))) --------------------------------------------------------------------------- ValueError Traceback (most recent call last) <ipython-input-59-8b9b8a0f034d> in <module>() ----> 1 joblib.hash...
joblib/joblib
diff --git a/joblib/test/test_hashing.py b/joblib/test/test_hashing.py index 15a5da9..a1f52b1 100644 --- a/joblib/test/test_hashing.py +++ b/joblib/test/test_hashing.py @@ -133,6 +133,18 @@ def test_hash_numpy(): yield nose.tools.assert_not_equal, hash(arr1), hash(arr1.T) +@with_numpy +def test_numpy_datetime_...
{ "commit_name": "head_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "llm_score": { "difficulty_score": 0, "issue_text_score": 1, "test_score": 2 }, "num_modified_files": 1 }
0.8
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "", "pip_packages": [ "nose", "coverage", "numpy>=1.6.1", "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "p...
attrs==22.2.0 certifi==2021.5.30 coverage==6.2 importlib-metadata==4.8.3 iniconfig==1.1.1 -e git+https://github.com/joblib/joblib.git@21cb6f3fd32b11a9b6bc1528b86bbf83fce7bb1f#egg=joblib nose==1.3.7 numpy==1.19.5 packaging==21.3 pluggy==1.0.0 py==1.11.0 pyparsing==3.1.4 pytest==7.0.1 tomli==1.2.3 typing_extensions==4.1....
name: joblib channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - lib...
[ "joblib/test/test_hashing.py::test_numpy_datetime_array" ]
[]
[ "joblib/test/test_hashing.py::test_memory_setup_func", "joblib/test/test_hashing.py::test_memory_teardown_func", "joblib/test/test_hashing.py::test_hash_methods", "joblib/test/test_hashing.py::test_hash_numpy_noncontiguous", "joblib/test/test_hashing.py::test_hash_numpy_performance", "joblib/test/test_has...
[]
BSD 3-Clause "New" or "Revised" License
104
[ "joblib/hashing.py" ]
[ "joblib/hashing.py" ]
softlayer__softlayer-python-531
05ca114d4cf35597182051d5acb4db74fc333cfc
2015-04-23 15:10:47
1195b2020ef6efc40462d59eb079f26e5f39a6d8
diff --git a/SoftLayer/CLI/config/setup.py b/SoftLayer/CLI/config/setup.py index 30ba070a..f9b37d55 100644 --- a/SoftLayer/CLI/config/setup.py +++ b/SoftLayer/CLI/config/setup.py @@ -13,14 +13,12 @@ import click -def get_api_key(client, username, secret, endpoint_url=None): +def get_api_key(client, username, secre...
[Bug] slcli config setup doesnt accept default value when one is already present When you already have a `.softlayer` configured, and you `slcli config setup`, it loads previous values from `.softlayer` and shows them to you, but pressing enter at the prompt doesnt keep the previous value and move on to the next settin...
softlayer/softlayer-python
diff --git a/SoftLayer/tests/CLI/environment_tests.py b/SoftLayer/tests/CLI/environment_tests.py index e1ebf0e2..b3826df8 100644 --- a/SoftLayer/tests/CLI/environment_tests.py +++ b/SoftLayer/tests/CLI/environment_tests.py @@ -43,13 +43,13 @@ def test_get_command(self): @mock.patch('click.prompt') def test_in...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 2 }, "num_modified_files": 5 }
4.0
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.6", "reqs_path...
alabaster==0.7.13 attrs==22.2.0 Babel==2.11.0 certifi==2021.5.30 charset-normalizer==2.0.12 click==8.0.4 coverage==6.2 distlib==0.3.9 docutils==0.18.1 filelock==3.4.1 fixtures==4.0.1 idna==3.10 imagesize==1.4.1 importlib-metadata==4.8.3 importlib-resources==5.4.0 iniconfig==1.1.1 Jinja2==3.0.3 MarkupSafe==2.0.1 mock==5...
name: softlayer-python channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - ld_impl_linux-64=2.40=h12ee557...
[ "SoftLayer/tests/CLI/environment_tests.py::EnvironmentTests::test_getpass", "SoftLayer/tests/CLI/environment_tests.py::EnvironmentTests::test_input", "SoftLayer/tests/CLI/helper_tests.py::PromptTests::test_confirmation", "SoftLayer/tests/CLI/helper_tests.py::PromptTests::test_do_or_die" ]
[]
[ "SoftLayer/tests/CLI/environment_tests.py::EnvironmentTests::test_get_command", "SoftLayer/tests/CLI/environment_tests.py::EnvironmentTests::test_get_command_invalid", "SoftLayer/tests/CLI/environment_tests.py::EnvironmentTests::test_list_commands", "SoftLayer/tests/CLI/environment_tests.py::EnvironmentTests:...
[]
MIT License
105
[ "SoftLayer/CLI/environment.py", "SoftLayer/CLI/formatting.py", "SoftLayer/config.py", "SoftLayer/CLI/config/setup.py", "SoftLayer/CLI/core.py" ]
[ "SoftLayer/CLI/environment.py", "SoftLayer/CLI/formatting.py", "SoftLayer/config.py", "SoftLayer/CLI/config/setup.py", "SoftLayer/CLI/core.py" ]
mne-tools__mne-python-2018
0bf2f433842c26436fc8f1ee168dfa49b07c45c3
2015-04-24 12:26:56
edceb8f38349d6dc0cade1c9f8384cc0707ce3e8
diff --git a/mne/report.py b/mne/report.py index a8e0d21a6..892aab074 100644 --- a/mne/report.py +++ b/mne/report.py @@ -554,7 +554,12 @@ image_template = Template(u""" {{if comment is not None}} <br><br> <div style="text-align:center;"> - {{comment}} + <style> + ...
BUG: Adding more than one figure to Report is broken If a call to `add_figs_to_section` is made with a list of figures, only the first one is added. In this example, only the first figure appears on the report. ```Python import numpy as np import matplotlib.pyplot as plt from mne.report import Report r = Re...
mne-tools/mne-python
diff --git a/mne/tests/test_report.py b/mne/tests/test_report.py index 500f408b4..dd0d02ffe 100644 --- a/mne/tests/test_report.py +++ b/mne/tests/test_report.py @@ -212,4 +212,21 @@ def test_add_htmls_to_section(): assert_equal(html, html_compare) +def test_validate_input(): + report = Report() + items =...
{ "commit_name": "head_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 3 }, "num_modified_files": 1 }
0.8
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "numpy>=1.16.0", "pandas>=1.0.0", "scikit-learn", "h5py", "pysurfer", "nose", "nose-timer", ...
apptools==5.2.1 certifi @ file:///croot/certifi_1671487769961/work/certifi configobj==5.0.9 cycler==0.11.0 envisage==7.0.3 exceptiongroup==1.2.2 fonttools==4.38.0 h5py==3.8.0 importlib-metadata==6.7.0 importlib-resources==5.12.0 iniconfig==2.0.0 joblib==1.3.2 kiwisolver==1.4.5 matplotlib==3.5.3 mayavi==4.8.1 -e git+htt...
name: mne-python channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2022.12.7=py37h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 -...
[ "mne/tests/test_report.py::test_validate_input" ]
[]
[]
[]
BSD 3-Clause "New" or "Revised" License
106
[ "mne/report.py" ]
[ "mne/report.py" ]
pysmt__pysmt-83
18c4ecb85ed6e799ec4947dcb5a072a21fdf7303
2015-04-25 15:40:24
18c4ecb85ed6e799ec4947dcb5a072a21fdf7303
diff --git a/pysmt/native_nodes/__init__.py b/pysmt/native_nodes/__init__.py new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/pysmt/native_nodes/__init__.py @@ -0,0 +1,1 @@ + diff --git a/pysmt/solvers/eager.py b/pysmt/solvers/eager.py index da3fbc7..9f43040 100644 --- a/pysmt/solvers/eager.py +++ b/pysm...
Solver.get_model should not try to assign a value to each variable in the environment Implementation of get_model in the solvers using EagerModel, extracts one value for each symbol defined in the environment. This has a few problems: 1. In same cases we are doing much more work than needed 2. We cannot extract "pa...
pysmt/pysmt
diff --git a/pysmt/test/test_eager_model.py b/pysmt/test/test_eager_model.py index aed7433..610908a 100644 --- a/pysmt/test/test_eager_model.py +++ b/pysmt/test/test_eager_model.py @@ -54,7 +54,7 @@ class TestEagerModel(TestCase): model = EagerModel(assignment=d) with self.assertRaises(TypeError): -...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_added_files", "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 0, "test_score": 0 }, "num...
0.2
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "nose", "nose-cov", "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "...
cov-core==1.15.0 coverage==7.8.0 exceptiongroup==1.2.2 iniconfig==2.1.0 nose==1.3.7 nose-cov==1.6 packaging==24.2 pluggy==1.5.0 -e git+https://github.com/pysmt/pysmt.git@18c4ecb85ed6e799ec4947dcb5a072a21fdf7303#egg=PySMT pytest==8.3.5 six==1.17.0 tomli==2.2.1
name: pysmt channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "pysmt/test/test_eager_model.py::TestEagerModel::test_complete_model" ]
[]
[ "pysmt/test/test_eager_model.py::TestEagerModel::test_construction", "pysmt/test/test_eager_model.py::TestEagerModel::test_contains", "pysmt/test/test_eager_model.py::TestEagerModel::test_env_default_arguments", "pysmt/test/test_eager_model.py::TestEagerModel::test_result_is_const", "pysmt/test/test_regress...
[]
Apache License 2.0
108
[ "pysmt/solvers/z3.py", "pysmt/solvers/eager.py", "pysmt/solvers/msat.py", "pysmt/native_nodes/__init__.py", "pysmt/solvers/solver.py" ]
[ "pysmt/solvers/z3.py", "pysmt/solvers/eager.py", "pysmt/solvers/msat.py", "pysmt/native_nodes/__init__.py", "pysmt/solvers/solver.py" ]
albertyw__itolapi-11
18ab55c5526ef6c8f3285af9363fb8e0e22f2bf1
2015-04-26 05:13:26
18ab55c5526ef6c8f3285af9363fb8e0e22f2bf1
diff --git a/examples/example.py b/examples/example.py index e879042..cac8202 100644 --- a/examples/example.py +++ b/examples/example.py @@ -13,9 +13,9 @@ sys.path.append(parent_path) from itolapi import Itol, ItolExport -print 'Running example itol and itolexport script' -print '' -print 'Creating the upload para...
Support Python 3
albertyw/itolapi
diff --git a/tests/comm.py b/tests/comm.py index 3096f64..b4f5e65 100644 --- a/tests/comm.py +++ b/tests/comm.py @@ -1,3 +1,4 @@ +from __future__ import unicode_literals from mock import MagicMock, patch import tempfile import unittest @@ -6,10 +7,16 @@ from itolapi import Comm class PullOutFilesTest(unittest.T...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_added_files", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 3, "test_score": 0 },...
1.1
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-mock", "mock" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], ...
certifi==2025.1.31 charset-normalizer==3.4.1 exceptiongroup==1.2.2 idna==3.10 iniconfig==2.1.0 -e git+https://github.com/albertyw/itolapi.git@18ab55c5526ef6c8f3285af9363fb8e0e22f2bf1#egg=itolapi mock==5.2.0 packaging==24.2 pluggy==1.5.0 pytest==8.3.5 pytest-mock==3.14.0 requests==2.32.3 tomli==2.2.1 urllib3==2.3.0
name: itolapi channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=1...
[ "tests/comm.py::PullOutFilesTest::test_doesnt_modify_params", "tests/comm.py::PullOutFilesTest::test_pull_out_files", "tests/comm.py::UploadTreeTest::test_upload_tree", "tests/comm.py::ParseUploadTest::test_fatal", "tests/comm.py::ParseUploadTest::test_successful", "tests/comm.py::ParseUploadTest::test_su...
[]
[]
[]
MIT License
109
[ "itolapi/Itol.py", "examples/failures/fatal.py", "examples/example.py", "setup.py", "itolapi/Comm.py", "itolapi/ItolExport.py", "examples/failures/warnings.py", "tox.ini" ]
[ "itolapi/Itol.py", "examples/failures/fatal.py", "examples/example.py", "setup.py", "itolapi/Comm.py", "itolapi/ItolExport.py", "examples/failures/warnings.py", "tox.ini" ]
mne-tools__mne-python-2023
acf8364f01f98233613f7574cac7d533c35183bf
2015-04-26 17:46:14
edceb8f38349d6dc0cade1c9f8384cc0707ce3e8
agramfort: Lgtm Merge when Travis is happy Thx for the quick fix
diff --git a/mne/io/brainvision/brainvision.py b/mne/io/brainvision/brainvision.py index 35fd057a2..81b41fa78 100644 --- a/mne/io/brainvision/brainvision.py +++ b/mne/io/brainvision/brainvision.py @@ -396,6 +396,10 @@ def _get_eeg_info(vhdr_fname, eog, misc): info['filename'] = vhdr_fname eeg_info = {} + ...
check extension of brainvision file I mistakenly tried: raw = mne.io.read_raw_brainvision('test.vmrk') instead of raw = mne.io.read_raw_brainvision('test.vhdr') and got this error, which is not super explicit: --> 402 assert l == 'Brain Vision Data Exchange Header File Version 1.0' to help her...
mne-tools/mne-python
diff --git a/mne/io/brainvision/tests/test_brainvision.py b/mne/io/brainvision/tests/test_brainvision.py index 44eb09816..5131d978a 100644 --- a/mne/io/brainvision/tests/test_brainvision.py +++ b/mne/io/brainvision/tests/test_brainvision.py @@ -22,6 +22,7 @@ from mne.io import read_raw_brainvision FILE = inspect.getfi...
{ "commit_name": "head_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "llm_score": { "difficulty_score": 0, "issue_text_score": 0, "test_score": 2 }, "num_modified_files": 1 }
0.8
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "numpy>=1.16.0", "pandas>=1.0.0", "scikit-learn", "h5py", "pysurfer", "nose", "nose-timer", ...
apptools==5.2.1 certifi @ file:///croot/certifi_1671487769961/work/certifi configobj==5.0.9 cycler==0.11.0 envisage==7.0.3 exceptiongroup==1.2.2 fonttools==4.38.0 h5py==3.8.0 importlib-metadata==6.7.0 importlib-resources==5.12.0 iniconfig==2.0.0 joblib==1.3.2 kiwisolver==1.4.5 matplotlib==3.5.3 mayavi==4.8.1 -e git+htt...
name: mne-python channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2022.12.7=py37h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 -...
[ "mne/io/brainvision/tests/test_brainvision.py::test_brainvision_data" ]
[]
[ "mne/io/brainvision/tests/test_brainvision.py::test_brainvision_data_filters", "mne/io/brainvision/tests/test_brainvision.py::test_events", "mne/io/brainvision/tests/test_brainvision.py::test_read_segment" ]
[]
BSD 3-Clause "New" or "Revised" License
110
[ "mne/io/brainvision/brainvision.py" ]
[ "mne/io/brainvision/brainvision.py" ]
mkdocs__mkdocs-482
1a0dfb5ee3d5dd290da9c8c03b0946e784aa6959
2015-04-27 19:05:31
463c5b647e9ce5992b519708a0b9c4cba891d65c
ci5er: I never personally had a problem with the old way, but this is pretty dang sweet. Thank you. waylan: Wow, that is a great improvement. At a glance, the page structure is immediately obvious from the config. I like it. d0ugal: This is not supported in the MkDocs theme. ![MkDocs theme](https://dl.dropboxuserc...
diff --git a/docs/index.md b/docs/index.md index 047f6a4e..9f9b1367 100644 --- a/docs/index.md +++ b/docs/index.md @@ -105,8 +105,8 @@ We'd like our documentation site to include some navigation headers, so we'll ed site_name: MkLorum pages: - - [index.md, Home] - - [about.md, About] + - Home: inde...
Allow nav links with depth > 2 The default theme doesn't necessarily need to deal with styling them, but they should at least be allowed.
mkdocs/mkdocs
diff --git a/mkdocs/tests/build_tests.py b/mkdocs/tests/build_tests.py index 784d8925..728b4c7a 100644 --- a/mkdocs/tests/build_tests.py +++ b/mkdocs/tests/build_tests.py @@ -84,9 +84,9 @@ class BuildTests(unittest.TestCase): def test_convert_internal_media(self): """Test relative image URL's are the same...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_added_files", "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score":...
0.12
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov", "pytest-xdist", "pytest-mock", "pytest-asyncio", "mock" ], "pre_install"...
click==8.1.8 coverage==7.8.0 exceptiongroup==1.2.2 execnet==2.1.1 ghp-import==2.1.0 importlib_metadata==8.6.1 iniconfig==2.1.0 Jinja2==3.1.6 livereload==2.7.1 Markdown==3.7 MarkupSafe==3.0.2 -e git+https://github.com/mkdocs/mkdocs.git@1a0dfb5ee3d5dd290da9c8c03b0946e784aa6959#egg=mkdocs mock==5.2.0 packaging==24.2 plugg...
name: mkdocs channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11...
[ "mkdocs/tests/config_tests.py::ConfigTests::test_config_option", "mkdocs/tests/config_tests.py::ConfigTests::test_default_pages", "mkdocs/tests/config_tests.py::ConfigTests::test_doc_dir_in_site_dir", "mkdocs/tests/config_tests.py::ConfigTests::test_empty_config", "mkdocs/tests/config_tests.py::ConfigTests:...
[ "mkdocs/tests/build_tests.py::BuildTests::test_anchor_only_link", "mkdocs/tests/build_tests.py::BuildTests::test_convert_internal_asbolute_media", "mkdocs/tests/build_tests.py::BuildTests::test_convert_internal_link", "mkdocs/tests/build_tests.py::BuildTests::test_convert_internal_link_differing_directory", ...
[]
[]
BSD 2-Clause "Simplified" License
111
[ "docs/index.md", "mkdocs/themes/mkdocs/css/base.css", "docs/user-guide/writing-your-docs.md", "docs/user-guide/configuration.md", "mkdocs/config.py", "mkdocs.yml", "mkdocs/themes/mkdocs/nav.html", "mkdocs/legacy.py", "mkdocs/themes/readthedocs/base.html", "mkdocs/themes/readthedocs/toc.html", "m...
[ "docs/index.md", "mkdocs/themes/mkdocs/css/base.css", "docs/user-guide/writing-your-docs.md", "docs/user-guide/configuration.md", "mkdocs/config.py", "mkdocs.yml", "mkdocs/themes/mkdocs/nav.html", "mkdocs/legacy.py", "mkdocs/themes/readthedocs/base.html", "mkdocs/themes/readthedocs/toc.html", "m...
google__yapf-131
5e7c8aadfe6ed7d892e858b305ef2ca60c65bfcc
2015-04-27 19:32:21
5e7c8aadfe6ed7d892e858b305ef2ca60c65bfcc
coveralls: [![Coverage Status](https://coveralls.io/builds/2434186/badge)](https://coveralls.io/builds/2434186) Coverage decreased (-0.2%) to 91.89% when pulling **53c06d00461e35cfd3ae9a27cecc7dcc9d0912f0 on sbc100:handle_errors** into **8c7840c8b835568116219e9d960764198add4927 on google:master**.
diff --git a/yapf/__init__.py b/yapf/__init__.py index 7634c5c..7ffdfee 100644 --- a/yapf/__init__.py +++ b/yapf/__init__.py @@ -32,6 +32,7 @@ import logging import os import sys +from yapf.yapflib import errors from yapf.yapflib import file_resources from yapf.yapflib import py3compat from yapf.yapflib import s...
yapf crashes with misggin style (e.g. --style=foo) I've got a fix for this that I will send a PR for. This is the crash: ``` PYTHONPATH=$PWD/yapf python -m yapf --style=foo -i -r . Traceback (most recent call last): File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main "__main__", fname, ...
google/yapf
diff --git a/yapftests/main_test.py b/yapftests/main_test.py index 314dcba..e216d67 100644 --- a/yapftests/main_test.py +++ b/yapftests/main_test.py @@ -57,10 +57,23 @@ def patched_input(code): yapf.py3compat.raw_input = raw_input +class RunMainTest(unittest.TestCase): + + def testShouldHandleYapfError(self):...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_added_files", "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 2 }, "num...
0.1
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.9", "reqs_path": null, "test_cmd": "pytest --no-header -rA --tb=line --col...
exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work packaging @ file:///croot/packaging_1734472117206/work pluggy @ file:///croot/pluggy_1733169602837/work pytest @ file:///croot/pytest_1738938843180/work tomli @ file:///opt/conda/cond...
name: yapf channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - exceptiongroup=1.2.0=py39h06a4308_0 - iniconfig=1.1.1=pyhd3eb1b0_0 - ld_imp...
[ "yapftests/main_test.py::RunMainTest::testShouldHandleYapfError", "yapftests/main_test.py::MainTest::testNoPythonFilesMatched" ]
[]
[ "yapftests/main_test.py::MainTest::testEchoBadInput", "yapftests/main_test.py::MainTest::testEchoInput", "yapftests/main_test.py::MainTest::testEchoInputWithStyle", "yapftests/main_test.py::MainTest::testHelp", "yapftests/main_test.py::MainTest::testVersion" ]
[]
Apache License 2.0
112
[ "yapf/yapflib/__init__.py", "yapf/yapflib/errors.py", "yapf/__init__.py", "yapf/yapflib/style.py" ]
[ "yapf/yapflib/__init__.py", "yapf/yapflib/errors.py", "yapf/__init__.py", "yapf/yapflib/style.py" ]
softlayer__softlayer-python-537
f6722dcb5dc6021cd813280a789fd39e81053da0
2015-04-28 02:21:51
1195b2020ef6efc40462d59eb079f26e5f39a6d8
landscape-bot: [![Code Health](https://landscape.io/badge/153445/landscape.svg?style=flat)](https://landscape.io/diff/140430) Code quality remained the same when pulling **[4a1754c](https://github.com/sudorandom/softlayer-python/commit/4a1754cc1ec2498205c7a24f66e4a883ab705e70) on sudorandom:issue-536** into **[f6722dc]...
diff --git a/SoftLayer/CLI/server/list.py b/SoftLayer/CLI/server/list.py index dec63ee5..03ba456e 100644 --- a/SoftLayer/CLI/server/list.py +++ b/SoftLayer/CLI/server/list.py @@ -41,7 +41,7 @@ def cli(env, sortby, cpu, domain, datacenter, hostname, memory, network, tag): tags=tag) ...
ID > GUID Switch the default display to use an object's ID rather than its GUID. Also use the ID rather than the GUID during confirmation text entries.
softlayer/softlayer-python
diff --git a/SoftLayer/tests/CLI/modules/server_tests.py b/SoftLayer/tests/CLI/modules/server_tests.py index acbab824..a65538cf 100644 --- a/SoftLayer/tests/CLI/modules/server_tests.py +++ b/SoftLayer/tests/CLI/modules/server_tests.py @@ -65,7 +65,7 @@ def test_list_servers(self): 'datacenter': 'TEST00...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 0, "issue_text_score": 2, "test_score": 0 }, "num_modified_files"...
4.0
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.6", "reqs_path...
alabaster==0.7.13 attrs==22.2.0 Babel==2.11.0 certifi==2021.5.30 charset-normalizer==2.0.12 click==8.0.4 coverage==6.2 distlib==0.3.9 docutils==0.18.1 filelock==3.4.1 fixtures==4.0.1 idna==3.10 imagesize==1.4.1 importlib-metadata==4.8.3 importlib-resources==5.4.0 iniconfig==1.1.1 Jinja2==3.0.3 MarkupSafe==2.0.1 mock==5...
name: softlayer-python channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - ld_impl_linux-64=2.40=h12ee557...
[ "SoftLayer/tests/CLI/modules/server_tests.py::ServerCLITests::test_list_servers", "SoftLayer/tests/CLI/modules/vs_tests.py::DnsTests::test_list_vs" ]
[]
[ "SoftLayer/tests/CLI/modules/server_tests.py::ServerCLITests::test_cancel_server", "SoftLayer/tests/CLI/modules/server_tests.py::ServerCLITests::test_create_options", "SoftLayer/tests/CLI/modules/server_tests.py::ServerCLITests::test_create_server", "SoftLayer/tests/CLI/modules/server_tests.py::ServerCLITests...
[]
MIT License
113
[ "SoftLayer/CLI/virt/list.py", "SoftLayer/CLI/server/list.py" ]
[ "SoftLayer/CLI/virt/list.py", "SoftLayer/CLI/server/list.py" ]
projectmesa__mesa-103
ca1e91c6ea8b5bc476ae0fdbf708c1f28ae55dc4
2015-04-28 14:22:30
ca1e91c6ea8b5bc476ae0fdbf708c1f28ae55dc4
diff --git a/examples/ForestFire/.ipynb_checkpoints/Forest Fire Model-checkpoint.ipynb b/examples/ForestFire/.ipynb_checkpoints/Forest Fire Model-checkpoint.ipynb index 8c8746c5..72b54805 100644 --- a/examples/ForestFire/.ipynb_checkpoints/Forest Fire Model-checkpoint.ipynb +++ b/examples/ForestFire/.ipynb_checkpoints/...
Add data collection features Discovered a need for these two features while using Mesa "in production": - Break apart the constructor to allow variables to be added later - Create tables that the model and/or agents can write to directly as needed, rather than data collected automatically every step.
projectmesa/mesa
diff --git a/tests/test_datacollector.py b/tests/test_datacollector.py new file mode 100644 index 00000000..e1115978 --- /dev/null +++ b/tests/test_datacollector.py @@ -0,0 +1,119 @@ +''' +Test the DataCollector +''' +import unittest + +from mesa import Model, Agent +from mesa.time import BaseScheduler +from mesa.datac...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": -1, "issue_text_score": 2, "test_score": -1 }, "num_modified_files": 3 }
unknown
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov", "flake8" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ],...
coverage==7.8.0 exceptiongroup==1.2.2 flake8==7.2.0 iniconfig==2.1.0 mccabe==0.7.0 -e git+https://github.com/projectmesa/mesa.git@ca1e91c6ea8b5bc476ae0fdbf708c1f28ae55dc4#egg=Mesa numpy==2.0.2 packaging==24.2 pandas==2.2.3 pluggy==1.5.0 pycodestyle==2.13.0 pyflakes==3.3.1 pytest==8.3.5 pytest-cov==6.0.0 python-dateutil...
name: mesa channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11.2...
[ "tests/test_datacollector.py::TestDataCollector::test_agent_vars", "tests/test_datacollector.py::TestDataCollector::test_exports", "tests/test_datacollector.py::TestDataCollector::test_model_vars", "tests/test_datacollector.py::TestDataCollector::test_table_rows" ]
[]
[]
[]
Apache License 2.0
114
[ "examples/ForestFire/Forest", "mesa/datacollection.py", "examples/ForestFire/Forest Fire Model.ipynb", "examples/ForestFire/.ipynb_checkpoints/Forest", "examples/ForestFire/.ipynb_checkpoints/Forest Fire Model-checkpoint.ipynb" ]
[ "examples/ForestFire/Forest Fire Model.ipynb", "examples/ForestFire/.ipynb_checkpoints/Forest Fire Model-checkpoint.ipynb", "mesa/datacollection.py", "re" ]
sjagoe__usagi-49
66dccaaca17941c7cd587d7c8828f68cc87f41f0
2015-04-28 17:51:59
66dccaaca17941c7cd587d7c8828f68cc87f41f0
diff --git a/CHANGELOG.rst b/CHANGELOG.rst index ef6028e..27fa8ce 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -10,6 +10,8 @@ Enhancements * Added an option to the body assertion to filter json responses with a ``jq`` (https://pypi.python.org/pypi/jq) filter (#44). +* Added an option to cases and tests to al...
Allow setting maxDiff at the testCase level and test level Currently if a body assertion fails there is no way to see the whole diff to resolve the issue. We need a mechanism to set the underlying TestCase `maxDiff` attribute on a test-case level and an individual test level.
sjagoe/usagi
diff --git a/usagi/tests/test_schema.py b/usagi/tests/test_schema.py index 21fac64..f270e32 100644 --- a/usagi/tests/test_schema.py +++ b/usagi/tests/test_schema.py @@ -337,3 +337,137 @@ class TestSchema(unittest.TestCase): # Validation fails with self.assertRaises(ValidationError): jsons...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_modified_files", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 1, "test_score": 3 }, "num_modified_files": 2 }
0.2
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "coverage", "mock", "responses", "pytest" ], "pre_install": [ "apt-get update", "apt-get install...
attrs==22.2.0 certifi==2021.5.30 charset-normalizer==2.0.12 coverage==6.2 docutils==0.18.1 enum34==1.1.10 haas==0.9.0 idna==3.10 importlib-metadata==4.8.3 iniconfig==1.1.1 jq==0.1.8 jsonschema==3.2.0 mock==5.2.0 packaging==21.3 pbr==6.1.1 pluggy==1.0.0 py==1.11.0 pyparsing==3.1.4 pyrsistent==0.18.0 pytest==7.0.1 PyYAML...
name: usagi channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libf...
[ "usagi/tests/test_schema.py::TestSchema::test_schema_case_max_diff_string", "usagi/tests/test_schema.py::TestSchema::test_schema_test_max_diff_string" ]
[ "usagi/tests/test_web_test.py::TestWebTest::test_poll_fail", "usagi/tests/test_web_test.py::TestWebTest::test_poll_success", "usagi/tests/test_web_test.py::TestWebTest::test_run" ]
[ "usagi/tests/test_schema.py::TestSchema::test_schema", "usagi/tests/test_schema.py::TestSchema::test_schema_assertions", "usagi/tests/test_schema.py::TestSchema::test_schema_bad_host", "usagi/tests/test_schema.py::TestSchema::test_schema_bad_pre_definition", "usagi/tests/test_schema.py::TestSchema::test_sch...
[]
BSD 3-Clause "New" or "Revised" License
115
[ "CHANGELOG.rst", "usagi/schema.py" ]
[ "CHANGELOG.rst", "usagi/schema.py" ]
WikiWatershed__tr-55-21
9f2680961841099dcbebaabdb460b11f8789a4ae
2015-04-30 20:03:55
9f2680961841099dcbebaabdb460b11f8789a4ae
diff --git a/README.md b/README.md index 72023c1..0bda9ed 100644 --- a/README.md +++ b/README.md @@ -4,73 +4,174 @@ A Python implementation of TR-55. ## Functions -`simulate_all_tiles` and `simulate_year` are the two functions intended for consumers of this module. +`simulate_day`, `simulate_year`, `simulate_modif...
Add simple water quality routine. Barry Evans has provided an algorithm to extend TR-55 results with simple water quality predictions based on the same workflow of the existing model.
WikiWatershed/tr-55
diff --git a/test/test_model.py b/test/test_model.py index ac66ae5..201b339 100644 --- a/test/test_model.py +++ b/test/test_model.py @@ -1,25 +1,28 @@ +# -*- coding: utf-8 -*- +from __future__ import print_function +from __future__ import unicode_literals +from __future__ import division + """ Model test set """ ...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_added_files", "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 3, "issue_text_score":...
unknown
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[test]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.9", "reqs_path": [ "requirements.txt" ], "test_cmd": "pyt...
exceptiongroup==1.2.2 iniconfig==2.1.0 nose==1.3.4 packaging==24.2 pluggy==1.5.0 pytest==8.3.5 tomli==2.2.1 -e git+https://github.com/WikiWatershed/tr-55.git@9f2680961841099dcbebaabdb460b11f8789a4ae#egg=tr55
name: tr-55 channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "test/test_model.py::TestModel::test_simulate_day_invalid", "test/test_model.py::TestModel::test_simulate_tile_1", "test/test_operations.py::TestOperations::test_minus", "test/test_operations.py::TestOperations::test_plus", "test/test_tablelookup.py::TestTablelookups::test_lookup_bmp_infiltration", "test/...
[ "test/test_model.py::TestModel::test_nrcs", "test/test_model.py::TestModel::test_simulate_day_precolumbian", "test/test_model.py::TestModel::test_simulate_day_subst_1", "test/test_model.py::TestModel::test_simulate_day_subst_2", "test/test_model.py::TestModel::test_simulate_day_valid", "test/test_model.py...
[]
[]
Apache License 2.0
116
[ "tr55/model.py", "tr55/water_quality.py", "tr55/tablelookup.py", "README.md", "tr55/operations.py", "tr55/tables.py" ]
[ "tr55/model.py", "tr55/water_quality.py", "tr55/tablelookup.py", "README.md", "tr55/operations.py", "tr55/tables.py" ]
typesafehub__conductr-cli-50
171c9dc9c17827b586d3002ba49186e5653f37bf
2015-05-01 08:35:41
e5561a7e43d92a0c19e7b6e31a36448455a17fba
diff --git a/conductr_cli/bundle_utils.py b/conductr_cli/bundle_utils.py index cf11423..c7b72e2 100644 --- a/conductr_cli/bundle_utils.py +++ b/conductr_cli/bundle_utils.py @@ -7,5 +7,5 @@ def short_id(bundle_id): def conf(bundle_path): bundle_zip = ZipFile(bundle_path) - bundleConf = [bundle_zip.read(name) ...
conduct load should support urls We should extend the `load` sub command so that it can download a remote resource for the purposes of then uploading it to ConductR. Accepting a URL therefore allows us to pull down bundles and their respective configurations from remote locations.
typesafehub/conductr-cli
diff --git a/conductr_cli/test/cli_test_case.py b/conductr_cli/test/cli_test_case.py index f57eaad..5f44a83 100644 --- a/conductr_cli/test/cli_test_case.py +++ b/conductr_cli/test/cli_test_case.py @@ -10,7 +10,7 @@ class CliTestCase(): @property def default_connection_error(self): - return strip_marg...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 2 }, "num_modified_files": 10 }
0.13
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.9", "reqs_path": null, "tes...
argcomplete==3.6.1 certifi==2025.1.31 charset-normalizer==3.4.1 -e git+https://github.com/typesafehub/conductr-cli.git@171c9dc9c17827b586d3002ba49186e5653f37bf#egg=conductr_cli exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work idna==3.10 iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/...
name: conductr-cli channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - exceptiongroup=1.2.0=py39h06a4308_0 - iniconfig=1.1.1=pyhd3eb1b0_0 ...
[ "conductr_cli/test/test_conduct_load.py::TestConductLoadCommand::test_failure", "conductr_cli/test/test_conduct_load.py::TestConductLoadCommand::test_failure_invalid_address", "conductr_cli/test/test_conduct_load.py::TestConductLoadCommand::test_failure_no_bundle", "conductr_cli/test/test_conduct_load.py::Tes...
[]
[ "conductr_cli/test/test_conduct_load.py::TestConductLoadCommand::test_failure_no_disk_space", "conductr_cli/test/test_conduct_load.py::TestConductLoadCommand::test_failure_no_memory", "conductr_cli/test/test_conduct_load.py::TestConductLoadCommand::test_failure_no_nr_of_cpus", "conductr_cli/test/test_conduct_...
[]
Apache License 2.0
117
[ "conductr_cli/bundle_utils.py", "conductr_cli/conduct_services.py", "conductr_cli/conduct_load.py", "conductr_cli/conduct_stop.py", "conductr_cli/conduct_logging.py", "conductr_cli/conduct_info.py", "conductr_cli/conduct_unload.py", "conductr_cli/conduct_version.py", "conductr_cli/conduct_run.py", ...
[ "conductr_cli/bundle_utils.py", "conductr_cli/conduct_services.py", "conductr_cli/conduct_load.py", "conductr_cli/conduct_stop.py", "conductr_cli/conduct_logging.py", "conductr_cli/conduct_info.py", "conductr_cli/conduct_unload.py", "conductr_cli/conduct_version.py", "conductr_cli/conduct_run.py", ...
falconry__falcon-538
0af00afd67d92dbf9c6a721d0a1d1218408c1eb7
2015-05-01 23:38:20
b78ffaac7c412d3b3d6cd3c70dd05024d79d2cce
diff --git a/falcon/routing/compiled.py b/falcon/routing/compiled.py index 1a2f903..79a7bac 100644 --- a/falcon/routing/compiled.py +++ b/falcon/routing/compiled.py @@ -29,74 +29,6 @@ class CompiledRouter(object): tree for each look-up, it generates inlined, bespoke Python code to perform the search, then com...
URI template conflicts after router update I have been abusing the route order a bit, and would like to know if there is a way to do this with the new router, or if this is actually a bug. ```python application = falcon.API() application.add_route('/action1', Action1Handler()) application.add_route('/action2', Ac...
falconry/falcon
diff --git a/tests/test_default_router.py b/tests/test_default_router.py index cb14489..8e3b518 100644 --- a/tests/test_default_router.py +++ b/tests/test_default_router.py @@ -7,6 +7,9 @@ class ResourceWithId(object): def __init__(self, resource_id): self.resource_id = resource_id + def __repr__(sel...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 2 }, "num_modified_files": 1 }
0.3
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "nose", "coverage", "ddt", "pyyaml", "requests", "testtools", "pytest" ], "pre_install": [ "apt-get upd...
attrs @ file:///croot/attrs_1668696182826/work certifi @ file:///croot/certifi_1671487769961/work/certifi charset-normalizer==3.4.1 coverage==7.2.7 ddt==1.7.2 -e git+https://github.com/falconry/falcon.git@0af00afd67d92dbf9c6a721d0a1d1218408c1eb7#egg=falcon flit_core @ file:///opt/conda/conda-bld/flit-core_1644941570762...
name: falcon channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - attrs=22.1.0=py37h06a4308_0 - ca-certificates=2025.2.25=h06a4308_0 - certifi=2022.12.7=py37h06a4308_0 - flit-cor...
[ "tests/test_default_router.py::TestStandaloneRouter::test_collision_1__teams__collision_", "tests/test_default_router.py::TestStandaloneRouter::test_collision_2__repos__org___repo__compare__simple_collision_", "tests/test_default_router.py::TestStandaloneRouter::test_collision_3__emojis_signs__id_too_", "test...
[]
[]
[]
Apache License 2.0
118
[ "falcon/routing/compiled.py" ]
[ "falcon/routing/compiled.py" ]
mne-tools__mne-python-2053
1164d58d954f4dae9266b551d9d3efb979c3f597
2015-05-02 21:12:47
edceb8f38349d6dc0cade1c9f8384cc0707ce3e8
diff --git a/mne/io/meas_info.py b/mne/io/meas_info.py index 6e850b71a..b55a983b6 100644 --- a/mne/io/meas_info.py +++ b/mne/io/meas_info.py @@ -31,7 +31,7 @@ from ..externals.six import b, BytesIO, string_types, text_type _kind_dict = dict( - eeg=(FIFF.FIFFV_EEG_CH, FIFF.FIFFV_COIL_NONE, FIFF.FIFF_UNIT_V), + ...
Initialise coil types How to initialize coil types in info object? ``` chans = mne.channels.read_montage('BrainAmpMRIPlus_32sfp', ch_names=None, path= datapath, unit='mm', transform=False) chanNames = chans.ch_names info = mne.create_info(chanNames, 250.0, ch_types='eeg') layout = mne.channels.find_layout(info...
mne-tools/mne-python
diff --git a/mne/io/tests/test_meas_info.py b/mne/io/tests/test_meas_info.py index 7668f36dd..588ac65a1 100644 --- a/mne/io/tests/test_meas_info.py +++ b/mne/io/tests/test_meas_info.py @@ -24,6 +24,15 @@ hsp_fname = op.join(data_dir, 'test_hsp.txt') elp_fname = op.join(data_dir, 'test_elp.txt') +def test_make_info...
{ "commit_name": "head_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "llm_score": { "difficulty_score": 0, "issue_text_score": 1, "test_score": 0 }, "num_modified_files": 1 }
0.8
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "numpy>=1.16.0", "pandas>=1.0.0", "scikit-learn", "h5py", "pysurfer", "nose", "nose-timer", ...
apptools==5.2.1 certifi @ file:///croot/certifi_1671487769961/work/certifi configobj==5.0.9 cycler==0.11.0 envisage==7.0.3 exceptiongroup==1.2.2 fonttools==4.38.0 h5py==3.8.0 importlib-metadata==6.7.0 importlib-resources==5.12.0 iniconfig==2.0.0 joblib==1.3.2 kiwisolver==1.4.5 matplotlib==3.5.3 mayavi==4.8.1 -e git+htt...
name: mne-python channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2022.12.7=py37h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 -...
[ "mne/io/tests/test_meas_info.py::test_make_info" ]
[]
[ "mne/io/tests/test_meas_info.py::test_fiducials_io", "mne/io/tests/test_meas_info.py::test_info", "mne/io/tests/test_meas_info.py::test_read_write_info", "mne/io/tests/test_meas_info.py::test_io_dig_points", "mne/io/tests/test_meas_info.py::test_make_dig_points" ]
[]
BSD 3-Clause "New" or "Revised" License
119
[ "mne/io/meas_info.py" ]
[ "mne/io/meas_info.py" ]
softlayer__softlayer-python-542
6ece88935972d6165adba9f2ea19e56020967c55
2015-05-03 21:31:29
1195b2020ef6efc40462d59eb079f26e5f39a6d8
diff --git a/SoftLayer/CLI/formatting.py b/SoftLayer/CLI/formatting.py index 138e5318..b7f25a5c 100644 --- a/SoftLayer/CLI/formatting.py +++ b/SoftLayer/CLI/formatting.py @@ -192,8 +192,8 @@ def no_going_back(confirmation): prompt = ('This action cannot be undone! Type "%s" or press Enter ' 'to abor...
dns record-remove AttributeError I think the transcript speaks for itself. :) ``` $ slcli --version slcli (SoftLayer Command-line), version 4.0.1 $ slcli dns record-remove 56530852 This action cannot be undone! Type "yes" or press Enter to abort: yes An unexpected error has occured: Traceback (most recent call...
softlayer/softlayer-python
diff --git a/SoftLayer/tests/CLI/helper_tests.py b/SoftLayer/tests/CLI/helper_tests.py index 1dea9ab4..d6017355 100644 --- a/SoftLayer/tests/CLI/helper_tests.py +++ b/SoftLayer/tests/CLI/helper_tests.py @@ -41,21 +41,21 @@ def test_fail(self): class PromptTests(testing.TestCase): - @mock.patch('click.confirm') ...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_modified_files" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 0, "issue_text_score": 1, "test_score": 0 }, "num_modified_files": 2 }
4.0
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.6", "reqs_path...
alabaster==0.7.13 attrs==22.2.0 Babel==2.11.0 certifi==2021.5.30 charset-normalizer==2.0.12 click==8.0.4 coverage==6.2 distlib==0.3.9 docutils==0.18.1 filelock==3.4.1 fixtures==4.0.1 idna==3.10 imagesize==1.4.1 importlib-metadata==4.8.3 importlib-resources==5.4.0 iniconfig==1.1.1 Jinja2==3.0.3 MarkupSafe==2.0.1 mock==5...
name: softlayer-python channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - ld_impl_linux-64=2.40=h12ee557...
[ "SoftLayer/tests/CLI/helper_tests.py::PromptTests::test_do_or_die" ]
[]
[ "SoftLayer/tests/CLI/helper_tests.py::CLIJSONEncoderTest::test_default", "SoftLayer/tests/CLI/helper_tests.py::CLIJSONEncoderTest::test_fail", "SoftLayer/tests/CLI/helper_tests.py::PromptTests::test_confirmation", "SoftLayer/tests/CLI/helper_tests.py::FormattedItemTests::test_blank", "SoftLayer/tests/CLI/he...
[]
MIT License
120
[ "SoftLayer/CLI/formatting.py", "SoftLayer/managers/messaging.py" ]
[ "SoftLayer/CLI/formatting.py", "SoftLayer/managers/messaging.py" ]
softlayer__softlayer-python-543
6ece88935972d6165adba9f2ea19e56020967c55
2015-05-03 23:26:15
1195b2020ef6efc40462d59eb079f26e5f39a6d8
diff --git a/SoftLayer/CLI/formatting.py b/SoftLayer/CLI/formatting.py index 138e5318..41556a9a 100644 --- a/SoftLayer/CLI/formatting.py +++ b/SoftLayer/CLI/formatting.py @@ -73,6 +73,7 @@ def format_prettytable(table): for i, row in enumerate(table.rows): for j, item in enumerate(row): table...
unable to pipe out the `slcli server list commands` Running `slcli server list` works fine, but it throws an error when piping to another file (or grep) `slcli vs list` can pipe to another unix commands fine. `slcli server list | tee /tmp/a` An unexpected error has occured: Traceback (most recent call...
softlayer/softlayer-python
diff --git a/SoftLayer/testing/fixtures/SoftLayer_Account.py b/SoftLayer/testing/fixtures/SoftLayer_Account.py index 994d5fb6..9e1a43da 100644 --- a/SoftLayer/testing/fixtures/SoftLayer_Account.py +++ b/SoftLayer/testing/fixtures/SoftLayer_Account.py @@ -136,7 +136,7 @@ 'friendlyName': 'Friendly Transactio...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 0, "test_score": 0 }, "num_modified_files": 2 }
4.0
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.6", "reqs_path...
alabaster==0.7.13 attrs==22.2.0 Babel==2.11.0 certifi==2021.5.30 charset-normalizer==2.0.12 click==8.0.4 coverage==6.2 distlib==0.3.9 docutils==0.18.1 filelock==3.4.1 fixtures==4.0.1 idna==3.10 imagesize==1.4.1 importlib-metadata==4.8.3 importlib-resources==5.4.0 iniconfig==1.1.1 Jinja2==3.0.3 MarkupSafe==2.0.1 mock==5...
name: softlayer-python channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - ld_impl_linux-64=2.40=h12ee557...
[ "SoftLayer/tests/CLI/helper_tests.py::FormattedItemTests::test_sort", "SoftLayer/tests/CLI/helper_tests.py::FormattedItemTests::test_sort_mixed" ]
[]
[ "SoftLayer/tests/CLI/helper_tests.py::CLIJSONEncoderTest::test_default", "SoftLayer/tests/CLI/helper_tests.py::CLIJSONEncoderTest::test_fail", "SoftLayer/tests/CLI/helper_tests.py::PromptTests::test_confirmation", "SoftLayer/tests/CLI/helper_tests.py::PromptTests::test_do_or_die", "SoftLayer/tests/CLI/helpe...
[]
MIT License
121
[ "SoftLayer/CLI/formatting.py", "SoftLayer/CLI/server/list.py" ]
[ "SoftLayer/CLI/formatting.py", "SoftLayer/CLI/server/list.py" ]
falconry__falcon-540
3791b3a1c9e210e2e04a8a57f64561101685ef0e
2015-05-04 22:59:32
b78ffaac7c412d3b3d6cd3c70dd05024d79d2cce
diff --git a/falcon/request.py b/falcon/request.py index b16e154..74915a0 100644 --- a/falcon/request.py +++ b/falcon/request.py @@ -599,7 +599,7 @@ class Request(object): if not required: return None - raise HTTPMissingParam(name) + raise HTTPMissingHeader(name) ...
Request.get_header raises the wrong exception Found an issue that is making exception-handling not very intuitive when dealing with required headers... ``` try: my_header = req.get_header('My-Header', required=True) except falcon.HTTPMissingHeader: print 'Missing header' except falcon.HTTPMissingParam: p...
falconry/falcon
diff --git a/tests/test_headers.py b/tests/test_headers.py index f2a689a..654eee9 100644 --- a/tests/test_headers.py +++ b/tests/test_headers.py @@ -183,9 +183,14 @@ class TestHeaders(testing.TestBase): def test_required_header(self): self.simulate_request(self.test_route) - self.assertRaises(fal...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 0, "issue_text_score": 0, "test_score": 3 }, "num_modified_files": 1 }
0.3
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "nose", "nose-cov", "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "pytho...
certifi==2025.1.31 charset-normalizer==3.4.1 cov-core==1.15.0 coverage==7.8.0 ddt==1.7.2 exceptiongroup==1.2.2 -e git+https://github.com/falconry/falcon.git@3791b3a1c9e210e2e04a8a57f64561101685ef0e#egg=falcon idna==3.10 iniconfig==2.1.0 nose==1.3.7 nose-cov==1.6 packaging==24.2 pluggy==1.5.0 pytest==8.3.5 python-mimepa...
name: falcon channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11...
[ "tests/test_headers.py::TestHeaders::test_required_header" ]
[]
[ "tests/test_headers.py::TestHeaders::test_add_link_complex", "tests/test_headers.py::TestHeaders::test_add_link_multiple", "tests/test_headers.py::TestHeaders::test_add_link_single", "tests/test_headers.py::TestHeaders::test_add_link_with_anchor", "tests/test_headers.py::TestHeaders::test_add_link_with_href...
[]
Apache License 2.0
122
[ "falcon/request.py" ]
[ "falcon/request.py" ]
falconry__falcon-541
6912cdc1232754f8e8be4bd25ce150f9485012c2
2015-05-05 00:11:45
b78ffaac7c412d3b3d6cd3c70dd05024d79d2cce
diff --git a/doc/api/routing.rst b/doc/api/routing.rst index b76ba4f..c0ce2d2 100644 --- a/doc/api/routing.rst +++ b/doc/api/routing.rst @@ -43,4 +43,4 @@ A custom routing engine may be specified when instantiating api = API(router=fancy) .. automodule:: falcon.routing - :members: create_http_method_map, Com...
Has compile_uri_template been removed? I can't see it in the code any more.
falconry/falcon
diff --git a/tests/test_headers.py b/tests/test_headers.py index 654eee9..f2a689a 100644 --- a/tests/test_headers.py +++ b/tests/test_headers.py @@ -183,14 +183,9 @@ class TestHeaders(testing.TestBase): def test_required_header(self): self.simulate_request(self.test_route) - try: - sel...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 2, "test_score": 2...
0.3
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "nose", "coverage", "ddt", "pyyaml", "requests", "testtools", "pytest" ], "pre_install": [ "apt-get upd...
attrs @ file:///croot/attrs_1668696182826/work certifi @ file:///croot/certifi_1671487769961/work/certifi charset-normalizer==3.4.1 coverage==7.2.7 ddt==1.7.2 -e git+https://github.com/falconry/falcon.git@6912cdc1232754f8e8be4bd25ce150f9485012c2#egg=falcon flit_core @ file:///opt/conda/conda-bld/flit-core_1644941570762...
name: falcon channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - attrs=22.1.0=py37h06a4308_0 - ca-certificates=2025.2.25=h06a4308_0 - certifi=2022.12.7=py37h06a4308_0 - flit-cor...
[ "tests/test_uri_templates_legacy.py::TestUriTemplates::test_malformed_field", "tests/test_uri_templates_legacy.py::TestUriTemplates::test_no_fields_1__hello", "tests/test_uri_templates_legacy.py::TestUriTemplates::test_no_fields_2__hello_world", "tests/test_uri_templates_legacy.py::TestUriTemplates::test_no_f...
[]
[ "tests/test_headers.py::TestHeaders::test_add_link_complex", "tests/test_headers.py::TestHeaders::test_add_link_multiple", "tests/test_headers.py::TestHeaders::test_add_link_single", "tests/test_headers.py::TestHeaders::test_add_link_with_anchor", "tests/test_headers.py::TestHeaders::test_add_link_with_href...
[]
Apache License 2.0
123
[ "falcon/request.py", "falcon/routing/util.py", "falcon/routing/__init__.py", "doc/api/routing.rst" ]
[ "falcon/request.py", "falcon/routing/util.py", "falcon/routing/__init__.py", "doc/api/routing.rst" ]
mkdocs__mkdocs-497
aa7dd95813f49ad187111af387fa3f427720184b
2015-05-05 05:36:38
463c5b647e9ce5992b519708a0b9c4cba891d65c
diff --git a/mkdocs/build.py b/mkdocs/build.py index 86617977..1bc2c318 100644 --- a/mkdocs/build.py +++ b/mkdocs/build.py @@ -10,9 +10,8 @@ from jinja2.exceptions import TemplateNotFound from six.moves.urllib.parse import urljoin import jinja2 import json -import markdown -from mkdocs import nav, search, toc, uti...
If no title is provided in the mkdocs.yml use the title in the markdown file As per the title, this came up in #308 but it's something I've wanted for a while.
mkdocs/mkdocs
diff --git a/mkdocs/tests/nav_tests.py b/mkdocs/tests/nav_tests.py index cdd2bf9f..90fc4469 100644 --- a/mkdocs/tests/nav_tests.py +++ b/mkdocs/tests/nav_tests.py @@ -348,3 +348,16 @@ class SiteNavigationTests(unittest.TestCase): for page, expected_ancestor in zip(site_navigation.pages, ancestors): ...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 0 }, "num_modified_files"...
0.12
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "mock" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.9", ...
click==8.1.8 exceptiongroup==1.2.2 ghp-import==2.1.0 importlib_metadata==8.6.1 iniconfig==2.1.0 Jinja2==3.1.6 livereload==2.7.1 Markdown==3.7 MarkupSafe==3.0.2 -e git+https://github.com/mkdocs/mkdocs.git@aa7dd95813f49ad187111af387fa3f427720184b#egg=mkdocs mock==5.2.0 packaging==24.2 pluggy==1.5.0 pytest==8.3.5 python-d...
name: mkdocs channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11...
[ "mkdocs/tests/nav_tests.py::SiteNavigationTests::test_file_to_tile" ]
[]
[ "mkdocs/tests/nav_tests.py::SiteNavigationTests::test_ancestors", "mkdocs/tests/nav_tests.py::SiteNavigationTests::test_base_url", "mkdocs/tests/nav_tests.py::SiteNavigationTests::test_empty_toc_item", "mkdocs/tests/nav_tests.py::SiteNavigationTests::test_generate_site_navigation", "mkdocs/tests/nav_tests.p...
[]
BSD 2-Clause "Simplified" License
124
[ "mkdocs/utils.py", "mkdocs/nav.py", "mkdocs/build.py" ]
[ "mkdocs/utils.py", "mkdocs/nav.py", "mkdocs/build.py" ]
sensiblecodeio__xypath-76
2de90e58b881b271a743ae5c60c5e03904d2ef7f
2015-05-05 12:42:50
2de90e58b881b271a743ae5c60c5e03904d2ef7f
diff --git a/.travis.yml b/.travis.yml index 1e8f611..ea3c474 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,8 @@ language: python python: - "2.7" + - "3.4" + - "3.5" # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors install: - pip install setuptools --upgrade # fi...
Python 3 support I get this error installing with pip3: ``` Running setup.py install for xypath File "/usr/local/lib/python3.5/dist-packages/xypath/xypath.py", line 696 raise AttributeError, "Bag has no attribute {!r}".format(name) ^ SyntaxError: invalid syntax `...
sensiblecodeio/xypath
diff --git a/test/tcore.py b/test/tcore.py index 7c3b5da..fed0cab 100755 --- a/test/tcore.py +++ b/test/tcore.py @@ -1,3 +1,4 @@ +from __future__ import absolute_import #!/usr/bin/env python import sys import unittest @@ -50,7 +51,7 @@ class TCore(unittest.TestCase): self.fail('No exception was raised')...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_added_files", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 3, "issue_text_score": 2, "test_score": 0 },...
1.0
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.9", "reqs_path": [ "requirements.txt" ], "test_cmd": "pytest --...
certifi==2025.1.31 chardet==5.2.0 charset-normalizer==3.4.1 coverage==7.8.0 exceptiongroup==1.2.2 html5lib==1.1 idna==3.10 iniconfig==2.1.0 json-table-schema==0.2.1 lxml==5.3.1 messytables==0.15.0 nose==1.3.7 packaging==24.2 pluggy==1.5.0 pytest==8.3.5 python-dateutil==2.9.0.post0 python-magic==0.4.27 requests==2.32.3 ...
name: xypath channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11...
[ "test/test_contrib.py::Test_Contrib::test_excel_address_coordinate", "test/test_contrib.py::Test_Contrib::test_excel_nums", "test/test_excel.py::Test_Loader::test_col_label", "test/test_excel.py::Test_Loader::test_excel_address", "test/test_excel.py::Test_Loader::test_excel_col", "test/test_excel.py::Test...
[ "test/test_loader.py::Test_Loader::test_foo" ]
[]
[]
BSD 2-Clause "Simplified" License
125
[ "Makefile", "xypath/extern/tabulate.py", "setup.py", "xypath/xyzzy.py", "xypath/__init__.py", "requirements.txt", ".travis.yml", "xypath/contrib/excel.py", "xypath/loader.py", "Dockerfile", "xypath/xypath.py" ]
[ "Makefile", "xypath/extern/tabulate.py", "setup.py", "xypath/xyzzy.py", "xypath/__init__.py", "requirements.txt", ".travis.yml", "xypath/contrib/excel.py", "xypath/loader.py", "Dockerfile", "xypath/xypath.py" ]
box__box-python-sdk-46
221ef994e215b78b4049847db9656fcc83d10d79
2015-05-05 20:17:27
221ef994e215b78b4049847db9656fcc83d10d79
diff --git a/HISTORY.rst b/HISTORY.rst index b38b2b1..c2dfaf0 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -3,6 +3,13 @@ Release History --------------- +Upcoming +++++++++ + +- Added support for setting shared link expiration dates. +- Added support for setting shared link permissions. + + 1.1.6 (2015-04-17) ++...
Add ability to set expiration date on shared links `get_shared_link()` only takes access and etag as parameters. The create shared link API supports many other parameters, including unshared_at, permissions, can_download, can_preview. https://box-content.readme.io/#page-create-a-shared-link-for-a-file
box/box-python-sdk
diff --git a/test/unit/object/test_item.py b/test/unit/object/test_item.py index 1bfa2f1..32721fc 100644 --- a/test/unit/object/test_item.py +++ b/test/unit/object/test_item.py @@ -1,6 +1,7 @@ # coding: utf-8 from __future__ import unicode_literals +from datetime import date import json import pytest @@ -55,12 ...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_hyperlinks", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 2 }, ...
1.1
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-xdist", "mock", "sqlalchemy", "bottle" ], "pre_install": [ "apt-get update", ...
alabaster==0.7.16 astroid==3.3.9 babel==2.17.0 bottle==0.13.2 -e git+https://github.com/box/box-python-sdk.git@221ef994e215b78b4049847db9656fcc83d10d79#egg=boxsdk cachetools==5.5.2 certifi==2025.1.31 chardet==5.2.0 charset-normalizer==3.4.1 colorama==0.4.6 coverage==7.8.0 dill==0.3.9 distlib==0.3.9 docutils==0.21.2 enu...
name: box-python-sdk channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libg...
[ "test/unit/object/test_item.py::test_get_shared_link[file-open-shared_link_unshared_at0-True-True-None]", "test/unit/object/test_item.py::test_get_shared_link[file-open-shared_link_unshared_at0-True-True-etag]", "test/unit/object/test_item.py::test_get_shared_link[file-open-shared_link_unshared_at0-True-False-N...
[]
[ "test/unit/object/test_item.py::test_update_info[file-None]", "test/unit/object/test_item.py::test_update_info[file-etag]", "test/unit/object/test_item.py::test_update_info[folder-None]", "test/unit/object/test_item.py::test_update_info[folder-etag]", "test/unit/object/test_item.py::test_rename_item[file]",...
[]
Apache License 2.0
126
[ "HISTORY.rst", "boxsdk/object/item.py", "tox.ini" ]
[ "HISTORY.rst", "boxsdk/object/item.py", "tox.ini" ]
mkdocs__mkdocs-501
7cc47645d357fa96bf7197e30b519f331e77a3d5
2015-05-06 12:18:45
463c5b647e9ce5992b519708a0b9c4cba891d65c
landscape-bot: [![Code Health](https://landscape.io/badge/159489/landscape.svg?style=flat)](https://landscape.io/diff/146595) Repository health decreased by 0.24% when pulling **[f42c054](https://github.com/d0ugal/mkdocs/commit/f42c054a9b0fc86f7ed40de43fec8ebb53ab4191) on d0ugal:auto-pages** into **[7cc4764](https://gi...
diff --git a/mkdocs.yml b/mkdocs.yml index ad7ce968..930ccd95 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -4,19 +4,6 @@ site_description: Project documentation with Markdown. repo_url: https://github.com/mkdocs/mkdocs/ -pages: -- Home: index.md -- User Guide: - - Writing Your Docs: user-guide/writing-your-docs....
Regression with automatic pages config Caused by: 7849e71b8401608f86e81b48e7b29d18e8408663
mkdocs/mkdocs
diff --git a/mkdocs/tests/utils_tests.py b/mkdocs/tests/utils_tests.py index e2854187..41d066e6 100644 --- a/mkdocs/tests/utils_tests.py +++ b/mkdocs/tests/utils_tests.py @@ -1,6 +1,7 @@ #!/usr/bin/env python # coding: utf-8 +import os import unittest from mkdocs import nav, utils @@ -108,3 +109,32 @@ class Uti...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_git_commit_hash", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 2, "test_score": 0 ...
0.12
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.7", "reqs_path": [ "requirements/project.txt" ], "test_cmd": "p...
certifi @ file:///croot/certifi_1671487769961/work/certifi click==8.1.8 exceptiongroup==1.2.2 ghp-import==2.1.0 importlib-metadata==6.7.0 iniconfig==2.0.0 Jinja2==3.1.6 livereload==2.7.1 Markdown==3.4.4 MarkupSafe==2.1.5 -e git+https://github.com/mkdocs/mkdocs.git@7cc47645d357fa96bf7197e30b519f331e77a3d5#egg=mkdocs pac...
name: mkdocs channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2022.12.7=py37h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - lib...
[ "mkdocs/tests/utils_tests.py::UtilsTests::test_nest_paths" ]
[ "mkdocs/tests/utils_tests.py::UtilsTests::test_create_media_urls" ]
[ "mkdocs/tests/utils_tests.py::UtilsTests::test_get_themes", "mkdocs/tests/utils_tests.py::UtilsTests::test_html_path", "mkdocs/tests/utils_tests.py::UtilsTests::test_is_html_file", "mkdocs/tests/utils_tests.py::UtilsTests::test_is_markdown_file", "mkdocs/tests/utils_tests.py::UtilsTests::test_reduce_list", ...
[]
BSD 2-Clause "Simplified" License
127
[ "mkdocs/config.py", "mkdocs/utils.py", "mkdocs.yml", "mkdocs/nav.py" ]
[ "mkdocs/config.py", "mkdocs/utils.py", "mkdocs.yml", "mkdocs/nav.py" ]
typesafehub__conductr-cli-52
e5561a7e43d92a0c19e7b6e31a36448455a17fba
2015-05-06 15:35:08
e5561a7e43d92a0c19e7b6e31a36448455a17fba
diff --git a/.gitignore b/.gitignore index b8b187e..896a06a 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ deb_dist/* .idea *.iml *.pyc +.tox diff --git a/.travis.yml b/.travis.yml index 4374097..817f35a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,8 @@ language: python -python: -- '3.4' -script:...
Improve CLI message From @rpokrywka shazar: “Created digested ZIP archive at None” - the message should be giving more information. @rpokrywka Can you provide a reproducible test case?
typesafehub/conductr-cli
diff --git a/conductr_cli/test/cli_test_case.py b/conductr_cli/test/cli_test_case.py index cbad63c..7467a38 100644 --- a/conductr_cli/test/cli_test_case.py +++ b/conductr_cli/test/cli_test_case.py @@ -1,9 +1,13 @@ import os import shutil import tempfile -from unittest.mock import MagicMock from requests.exceptions ...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_added_files", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 2, "test_score": 2 },...
0.13
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.9", "reqs_path": null, "test_cmd": "pytest --no-header -rA --tb=line --color=no...
argcomplete==3.6.1 certifi==2025.1.31 charset-normalizer==3.4.1 -e git+https://github.com/typesafehub/conductr-cli.git@e5561a7e43d92a0c19e7b6e31a36448455a17fba#egg=conductr_cli exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work idna==3.10 iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/...
name: conductr-cli channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - exceptiongroup=1.2.0=py39h06a4308_0 - iniconfig=1.1.1=pyhd3eb1b0_0 ...
[ "conductr_cli/test/test_shazar.py::TestIntegration::test" ]
[]
[ "conductr_cli/test/test_conduct_info.py::TestConductInfoCommand::test_double_digits", "conductr_cli/test/test_conduct_info.py::TestConductInfoCommand::test_failure_invalid_address", "conductr_cli/test/test_conduct_info.py::TestConductInfoCommand::test_has_error", "conductr_cli/test/test_conduct_info.py::TestC...
[]
Apache License 2.0
128
[ "conductr_cli/shazar.py", "setup.py", "conductr_cli/conduct_logging.py", ".gitignore", ".travis.yml", "tox.ini" ]
[ "conductr_cli/shazar.py", "setup.py", "conductr_cli/conduct_logging.py", ".gitignore", ".travis.yml", "tox.ini" ]
peterbe__premailer-124
f211f3f1bcfc87dc0318f056d319bb5575f62a72
2015-05-08 16:42:16
f211f3f1bcfc87dc0318f056d319bb5575f62a72
graingert: Use `if urlparse.urlparse(base_url).scheme:` peterbe: @graingert done. peterbe: @graingert I force-pushed a new commit message. Just for you :) graingert: Bling peterbe: So, @graingert you approve? What do you think @ewjoachim ? ewjoachim: Nothing to add, I'm ok.
diff --git a/premailer/premailer.py b/premailer/premailer.py index b53fc23..2d3a221 100644 --- a/premailer/premailer.py +++ b/premailer/premailer.py @@ -17,7 +17,7 @@ if sys.version_info >= (3,): # pragma: no cover # As in, Python 3 from io import StringIO from urllib.request import urlopen - from ur...
Replacement of urls beginning with // When using a link whose href starts with "//", Premailer should just add http or https depending on the base url it uses. Currently, it replaces it with the full host, so ``//another.host/`` becomes ``http://my.base.host/another.host/``
peterbe/premailer
diff --git a/premailer/tests/test_premailer.py b/premailer/tests/test_premailer.py index ba63f85..4390a4e 100644 --- a/premailer/tests/test_premailer.py +++ b/premailer/tests/test_premailer.py @@ -478,7 +478,6 @@ class Tests(unittest.TestCase): </head> <body> <img src="/images/foo.jpg"> - ...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_hyperlinks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 2 }, "num_modified_files": 1 }
unknown
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "lxml cssselect cssutils nose mock", "pip_packages": [ "nose", "mock", "pytest" ], "pre_install": null, "python": "3.9", "reqs_path": null, "test...
cssselect @ file:///croot/cssselect_1707339882883/work cssutils @ file:///home/conda/feedstock_root/build_artifacts/cssutils_1734884840740/work exceptiongroup==1.2.2 iniconfig==2.1.0 lxml @ file:///croot/lxml_1737039601731/work mock @ file:///tmp/build/80754af9/mock_1607622725907/work nose @ file:///opt/conda/conda-bld...
name: premailer channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - cssselect=1.2.0=py39h06a4308_0 - cssutils=2.11.0=pyhd8ed1ab_1 - icu=73...
[ "premailer/tests/test_premailer.py::Tests::test_base_url_with_path", "premailer/tests/test_premailer.py::Tests::test_links_without_protocol" ]
[]
[ "premailer/tests/test_premailer.py::Tests::test_apple_newsletter_example", "premailer/tests/test_premailer.py::Tests::test_base_url_fixer", "premailer/tests/test_premailer.py::Tests::test_basic_html", "premailer/tests/test_premailer.py::Tests::test_basic_html_shortcut_function", "premailer/tests/test_premai...
[]
BSD 3-Clause "New" or "Revised" License
129
[ "premailer/premailer.py" ]
[ "premailer/premailer.py" ]
DinoTools__python-overpy-18
ac7df97ef4302d7eda46a6bb34a887e9b275748c
2015-05-09 07:36:00
7b0e0d999acb0549b57a271f31830fc020471731
diff --git a/overpy/__init__.py b/overpy/__init__.py index 454e1f5..cf48898 100644 --- a/overpy/__init__.py +++ b/overpy/__init__.py @@ -1,5 +1,6 @@ from collections import OrderedDict from decimal import Decimal +from xml.sax import handler, make_parser import json import re import sys @@ -14,6 +15,9 @@ from over...
Less memory-consuming xml parsing Currently the whole xml-result is first parsed into a xml.etree.ElementTree and than processed to create overpy structures. While this is perfectly fine for small amounts of data, larger files or requests consume a lot of memory that is not freed after the overpy result is constructed....
DinoTools/python-overpy
diff --git a/tests/test_xml.py b/tests/test_xml.py index 2f6d02a..e0c7397 100644 --- a/tests/test_xml.py +++ b/tests/test_xml.py @@ -9,31 +9,51 @@ from tests.base_class import read_file class TestNodes(BaseTestNodes): def test_node01(self): api = overpy.Overpass() - result = api.parse_xml(read_fil...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 1, "test_score": 0 }, "num_modified_files": 1 }
0.3
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.9", "reqs_path": null, "test_cmd": "pytest --no-header -rA --tb=line --color=no...
exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work -e git+https://github.com/DinoTools/python-overpy.git@ac7df97ef4302d7eda46a6bb34a887e9b275748c#egg=overpy packaging @ file:///croot/packaging_1734472117206/work pluggy @ file:///croot...
name: python-overpy channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - exceptiongroup=1.2.0=py39h06a4308_0 - iniconfig=1.1.1=pyhd3eb1b0_0 ...
[ "tests/test_xml.py::TestNodes::test_node01", "tests/test_xml.py::TestRelation::test_relation01", "tests/test_xml.py::TestRelation::test_relation02", "tests/test_xml.py::TestWay::test_way01", "tests/test_xml.py::TestWay::test_way02" ]
[]
[ "tests/test_xml.py::TestDataError::test_element_wrong_type", "tests/test_xml.py::TestDataError::test_node_missing_data", "tests/test_xml.py::TestDataError::test_relation_missing_data", "tests/test_xml.py::TestDataError::test_way_missing_data" ]
[]
MIT License
130
[ "overpy/__init__.py" ]
[ "overpy/__init__.py" ]
mkdocs__mkdocs-510
5b8bae094b2cfbc3cb9ef2f77cee4c1271abd3e2
2015-05-09 20:09:55
463c5b647e9ce5992b519708a0b9c4cba891d65c
diff --git a/docs/user-guide/configuration.md b/docs/user-guide/configuration.md index a619e5ea..97824ff0 100644 --- a/docs/user-guide/configuration.md +++ b/docs/user-guide/configuration.md @@ -163,6 +163,13 @@ Set a list of JavaScript files to be included by the theme. **default**: By default `extra_javascript` wi...
Global template variables? This is more of a question (and potentially a feature request if this isn't supported) than an issue – is there some way to declare global variables? For example, in my config.yml, I'd like to define some global variable, `version-num` that, of course, represents the current version of the...
mkdocs/mkdocs
diff --git a/mkdocs/tests/build_tests.py b/mkdocs/tests/build_tests.py index 7f2a04a7..96f3b5b0 100644 --- a/mkdocs/tests/build_tests.py +++ b/mkdocs/tests/build_tests.py @@ -7,6 +7,7 @@ import tempfile import unittest from six.moves import zip +import mock from mkdocs import build, nav from mkdocs.config impor...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 1 }, "num_modified_files": 7 }
0.12
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "coverage", "flake8", "nose", "mock", "pytest" ], "pre_install": [ "apt-get update", "apt-get ins...
click==8.1.8 coverage==7.8.0 exceptiongroup==1.2.2 flake8==7.2.0 ghp-import==2.1.0 importlib_metadata==8.6.1 iniconfig==2.1.0 Jinja2==3.1.6 livereload==2.7.1 Markdown==3.7 MarkupSafe==3.0.2 mccabe==0.7.0 -e git+https://github.com/mkdocs/mkdocs.git@5b8bae094b2cfbc3cb9ef2f77cee4c1271abd3e2#egg=mkdocs mock==5.2.0 nose==1....
name: mkdocs channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11...
[ "mkdocs/tests/build_tests.py::BuildTests::test_extra_context" ]
[ "mkdocs/tests/build_tests.py::BuildTests::test_anchor_only_link", "mkdocs/tests/build_tests.py::BuildTests::test_convert_internal_asbolute_media", "mkdocs/tests/build_tests.py::BuildTests::test_convert_internal_link", "mkdocs/tests/build_tests.py::BuildTests::test_convert_internal_link_differing_directory", ...
[]
[]
BSD 2-Clause "Simplified" License
131
[ "mkdocs/cli.py", "mkdocs/config/defaults.py", "docs/user-guide/styling-your-docs.md", "mkdocs/gh_deploy.py", "docs/user-guide/configuration.md", "mkdocs/new.py", "mkdocs/build.py" ]
[ "mkdocs/cli.py", "mkdocs/config/defaults.py", "docs/user-guide/styling-your-docs.md", "mkdocs/gh_deploy.py", "docs/user-guide/configuration.md", "mkdocs/new.py", "mkdocs/build.py" ]