instance_id
stringlengths
14
53
base_commit
stringlengths
40
40
created_at
timestamp[ns]date
2015-06-01 04:28:15
2025-02-13 01:08:18
environment_setup_commit
stringlengths
40
40
hints_text
stringlengths
0
7.34k
patch
stringlengths
363
80.2k
problem_statement
stringlengths
14
29.5k
repo
stringlengths
8
49
test_patch
stringlengths
366
32.2k
meta
dict
version
stringlengths
2
10
install_config
dict
requirements
stringlengths
217
25.1k
environment
stringlengths
951
17.3k
FAIL_TO_PASS
listlengths
1
48
FAIL_TO_FAIL
listlengths
0
95
PASS_TO_PASS
listlengths
0
664
PASS_TO_FAIL
listlengths
0
0
license_name
stringclasses
11 values
sympy__sympy-22483
76d72acaeeab0082fc43eee42ddc8688acd3e306
2021-11-13T03:02:27
c820a87bebc7511280d3a0e24aa7d96cd0f33831
diff --git a/sympy/core/relational.py b/sympy/core/relational.py index 3d95a9102b..7a4be766fd 100644 --- a/sympy/core/relational.py +++ b/sympy/core/relational.py @@ -265,9 +265,20 @@ def canonical(self): x < -y >>> (-y < -x).canonical x < y + + The canonicalization is recursively appl...
relationals created with symbols can be made canonical ``` python >>> a=1<x >>> b=S(1)<x >>> c=x>S(1) >>> a==b False >>> b==c False ``` The `a==b` failure is expected since Python flips the args around. But it and the `b==c` case could all be the same if Relationals created from symbols (<, >, etc...) would sort args ...
sympy/sympy
diff --git a/sympy/core/tests/test_relational.py b/sympy/core/tests/test_relational.py index eeb5f9afec..e98f5f5df7 100644 --- a/sympy/core/tests/test_relational.py +++ b/sympy/core/tests/test_relational.py @@ -854,6 +854,7 @@ def test_canonical(): assert [i.canonical for i in c] == c assert [i.reversed.canon...
{ "commit_name": "head_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "num_modified_files": 1 }
1.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": [ "pytest", "flake8" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.9", "reqs_...
exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work flake8==7.2.0 iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work mccabe==0.7.0 mpmath==1.3.0 packaging @ file:///croot/packaging_1734472117206/work pluggy @ file:///croot/pluggy_1733169602837/work pycodestyle==2.13.0 pyflakes==3.3.1 p...
name: sympy 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...
[ "sympy/core/tests/test_relational.py::test_canonical" ]
[]
[ "sympy/core/tests/test_relational.py::test_rel_ne", "sympy/core/tests/test_relational.py::test_rel_subs", "sympy/core/tests/test_relational.py::test_wrappers", "sympy/core/tests/test_relational.py::test_Eq_Ne", "sympy/core/tests/test_relational.py::test_as_poly", "sympy/core/tests/test_relational.py::test...
[]
BSD
zarr-developers__zarr-python-2583
fb11810170e864aada188f656fdc254d2de82720
2024-12-22T12:51:12
fb11810170e864aada188f656fdc254d2de82720
diff --git a/src/zarr/api/asynchronous.py b/src/zarr/api/asynchronous.py index 14078944..c4d1ec86 100644 --- a/src/zarr/api/asynchronous.py +++ b/src/zarr/api/asynchronous.py @@ -579,7 +579,7 @@ async def array( z = await create(**kwargs) # fill with data - await z.setitem(slice(None), data) + await z...
[v3] Scalar arrays: IndexError: too many indices for array; expected 0, got 1 ### Zarr version 3.0.0b1 ### Numcodecs version 0.13.1 ### Python Version 3.11 ### Operating System Mac ### Installation pip ### Description In Zarr 2.18, this works: ```python In [1]: import zarr In [2]: arr = zarr.array(1.5...
zarr-developers/zarr-python
diff --git a/tests/test_array.py b/tests/test_array.py index 1899e384..891538bc 100644 --- a/tests/test_array.py +++ b/tests/test_array.py @@ -881,3 +881,10 @@ async def test_nbytes( assert arr._async_array.nbytes == np.prod(arr.shape) * arr.dtype.itemsize else: assert arr.nbytes == np.prod(arr.s...
{ "commit_name": "merge_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "num_modified_files": 1 }
2.18
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[test,gpu,docs]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "pytest", "pytest-cov", "pytest-asyncio", "moto[s3]", "coverage", "mypy", "hypothesis", "uni...
accessible-pygments==0.0.5 aiobotocore==2.21.1 aiohappyeyeballs==2.6.1 aiohttp==3.11.14 aioitertools==0.12.0 aiosignal==1.3.2 alabaster==1.0.0 anyio==4.9.0 astroid==3.3.9 attrs==25.3.0 babel==2.17.0 beautifulsoup4==4.13.3 boto3==1.37.1 botocore==1.37.1 certifi==2025.1.31 cffi==1.17.1 charset-normalizer==3.4.1 click==8....
name: zarr-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 - bzip2=1.0.8=h5eee18b_6 - ca-certificates=2025.2.25=h06a4308_0 - iniconfig=1.1.1=pyhd3eb1b0_0 - ld_impl_linu...
[ "tests/test_array.py::test_scalar_array" ]
[]
[ "tests/test_array.py::test_array_creation_existing_node[array-True-2-local]", "tests/test_array.py::test_array_creation_existing_node[array-True-2-memory]", "tests/test_array.py::test_array_creation_existing_node[array-True-3-local]", "tests/test_array.py::test_array_creation_existing_node[array-True-3-memory...
[]
MIT License
lbl-srg__BuildingsPy-388
c047e118c177d637f1729c2fa8240ac7e649154a
2020-11-10T13:15:20
208c37e78b37bdde0ad60db2eb22c60ec65b7deb
diff --git a/buildingspy/CHANGES.txt b/buildingspy/CHANGES.txt index ac2406f..e4bb144 100644 --- a/buildingspy/CHANGES.txt +++ b/buildingspy/CHANGES.txt @@ -4,6 +4,7 @@ BuildingsPy Changelog Version 2.2.0, xxx, 2020 -- Release 2.2 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - xxx +- Corrected generation of package.order...
Package.order is misses to include constants that are arrays This issue is to correct the generation of `package.order` for packages that have constant arrays, such as ```modelica final constant Real A[:] = {-1.721781e2, 2.381558e-1, -4.329207e-4, -6.241072e-7} "Coefficients A for Martin-Hou equation of state"...
lbl-srg/BuildingsPy
diff --git a/buildingspy/tests/test_development_refactor.py b/buildingspy/tests/test_development_refactor.py index 7e15a5b..0d81f4f 100644 --- a/buildingspy/tests/test_development_refactor.py +++ b/buildingspy/tests/test_development_refactor.py @@ -69,6 +69,36 @@ class Test_development_refactor(unittest.TestCase): ...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_modified_files" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 2 }
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.txt" ], "test_cmd": "pyte...
autopep8==1.5 -e git+https://github.com/lbl-srg/BuildingsPy.git@c047e118c177d637f1729c2fa8240ac7e649154a#egg=buildingspy contourpy==1.3.0 cycler==0.12.1 exceptiongroup==1.2.2 fonttools==4.56.0 gitdb==4.0.12 GitPython==3.1.0 importlib_resources==6.5.2 iniconfig==2.1.0 Jinja2==2.11.1 kiwisolver==1.4.7 MarkupSafe==3.0.2 m...
name: BuildingsPy 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-...
[ "buildingspy/tests/test_development_refactor.py::Test_development_refactor::test_get_constants_empty", "buildingspy/tests/test_development_refactor.py::Test_development_refactor::test_get_constants_non_empty" ]
[]
[ "buildingspy/tests/test_development_refactor.py::Test_development_refactor::test_getShortName", "buildingspy/tests/test_development_refactor.py::Test_development_refactor::test_get_modelica_file_name", "buildingspy/tests/test_development_refactor.py::Test_development_refactor::test_sort_package_order", "build...
[]
null
datosgobar__pydatajson-212
bcc401111ada65362839f1f92490198ddc5d94ea
2018-10-24T13:57:03
adb85a7de7dfa073ddf9817a5fe2d125f9ce4e54
diff --git a/docs/MANUAL.md b/docs/MANUAL.md index 8a0c2f6..a84878b 100644 --- a/docs/MANUAL.md +++ b/docs/MANUAL.md @@ -438,6 +438,16 @@ Toma los siguientes parámetros: Retorna una lista de diccionarios con la información de las organizaciones. Recursivamente, dentro del campo `children`, se encuentran las organ...
Get organization from ckan El objetivo es implementar un método que devuelva la información de una organizacion a partir de su nombre o id y la url del portal pasado por parametro.
datosgobar/pydatajson
diff --git a/tests/test_federation.py b/tests/test_federation.py index d2a0af6..daf9df4 100644 --- a/tests/test_federation.py +++ b/tests/test_federation.py @@ -501,11 +501,16 @@ class OrganizationsTestCase(FederationSuite): for child in node['children']: self.check_hierarchy(child, parent=node['n...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_many_modified_files" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 2 }
0.4
{ "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", "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.6", ...
attrs==22.2.0 certifi==2021.5.30 charset-normalizer==2.0.12 ckanapi==4.0 docopt==0.6.2 et-xmlfile==1.1.0 idna==3.10 importlib-metadata==4.8.3 iniconfig==1.1.1 isodate==0.6.0 jdcal==1.4.1 jsonschema==2.6.0 nose==1.3.7 openpyxl==2.4.11 packaging==21.3 pluggy==1.0.0 py==1.11.0 -e git+https://github.com/datosgobar/pydatajs...
name: pydatajson 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 -...
[ "tests/test_federation.py::OrganizationsTestCase::test_get_organization_calls_api_correctly" ]
[]
[ "tests/test_federation.py::PushDatasetTestCase::test_dataset_id_is_preserved_if_catalog_id_is_not_passed", "tests/test_federation.py::PushDatasetTestCase::test_dataset_level_wrappers", "tests/test_federation.py::PushDatasetTestCase::test_dataset_without_license_sets_notspecified", "tests/test_federation.py::P...
[]
MIT License
Clinical-Genomics__scout-593
7b2419a20dd5dbae88f21b9a2afe2c2d4ad5277f
2017-09-05T12:38:59
8e1c3acd430a1f57f712aac29847e71cac8308f3
diff --git a/scout/adapter/mongo/query.py b/scout/adapter/mongo/query.py index 3a07b82d8..055963b99 100644 --- a/scout/adapter/mongo/query.py +++ b/scout/adapter/mongo/query.py @@ -114,15 +114,16 @@ class QueryHandler(object): cadd_query = {'cadd_score': {'$gt': float(cadd)}} logger.debug("Add...
CADD score filter monday-issue! Thank you kindly for the quick inclusion of CADD score filtering! Will make a couple of our doctors very happy. One major caveat though: the current version seems to filter out unknown CADD scores as well (similar to the unknown frequency bug)! Not intended usage..
Clinical-Genomics/scout
diff --git a/tests/adapter/test_query.py b/tests/adapter/test_query.py index e5aee3586..2d12aa555 100644 --- a/tests/adapter/test_query.py +++ b/tests/adapter/test_query.py @@ -57,7 +57,7 @@ def test_build_cadd_exclusive(adapter): def test_build_cadd_inclusive(adapter): case_id = 'cust000' cadd = 10.0 - c...
{ "commit_name": "head_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "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": [ "cython", "pytest", "pytest-flask", "pytest-cov" ], "pre_install": [ "apt-get update", "apt-get ...
babel==2.17.0 blinker==1.9.0 cachelib==0.13.0 certifi==2025.1.31 charset-normalizer==3.4.1 click==8.1.8 coloredlogs==15.0.1 coverage==7.8.0 Cython==3.0.12 cyvcf2==0.31.1 dnspython==2.7.0 dominate==2.9.1 exceptiongroup==1.2.2 Flask==3.1.0 flask-babel==4.0.0 Flask-Bootstrap==3.3.7.1 Flask-DebugToolbar==0.16.0 Flask-Login...
name: scout 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/adapter/test_query.py::test_build_cadd_inclusive" ]
[]
[ "tests/adapter/test_query.py::test_build_query", "tests/adapter/test_query.py::test_build_thousand_g_query", "tests/adapter/test_query.py::test_build_non_existing_thousand_g", "tests/adapter/test_query.py::test_build_cadd_exclusive", "tests/adapter/test_query.py::test_build_thousand_g_and_cadd", "tests/ad...
[]
BSD 3-Clause "New" or "Revised" License
matplotlib__matplotlib-26908
7d2acfda30077403682d8beef5a3c340ac98a43b
2023-09-25T10:38:14
380bba1d0b4f3665afdb164ad784dd234ccb8de3
diff --git a/lib/matplotlib/contour.py b/lib/matplotlib/contour.py index efea024dc1..2725dd6340 100644 --- a/lib/matplotlib/contour.py +++ b/lib/matplotlib/contour.py @@ -935,9 +935,11 @@ class ContourSet(ContourLabeler, mcoll.Collection): ) allsegs = _api.deprecated("3.8", pending=True)(property(la...
[Doc]: `ContourSet` `allsegs` and `allkinds` after #25247 ### Documentation Link https://matplotlib.org/stable/api/contour_api.html ### Problem It seems that their descriptions are no longer accurate after #25247. For example https://github.com/matplotlib/matplotlib/blob/dceb278bef361f32eb0009dec5bfda41fc27fa3...
matplotlib/matplotlib
diff --git a/lib/matplotlib/tests/test_contour.py b/lib/matplotlib/tests/test_contour.py index 4a32fdc6ce..c911d499ea 100644 --- a/lib/matplotlib/tests/test_contour.py +++ b/lib/matplotlib/tests/test_contour.py @@ -819,14 +819,24 @@ def test_all_nan(): 2.4e-14, 5e-14, 7.5e-14, 1e-13]) ...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_hyperlinks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 1 }
3.8
{ "env_vars": null, "env_yml_path": [ "environment.yml" ], "install": "pip install -ve .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "environment.yml", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y ccache cm-super dvipng ...
accessible-pygments @ file:///home/conda/feedstock_root/build_artifacts/accessible-pygments_1734956106558/work alabaster @ file:///home/conda/feedstock_root/build_artifacts/alabaster_1704848697227/work asttokens @ file:///home/conda/feedstock_root/build_artifacts/asttokens_1733250440834/work attrs @ file:///home/conda/...
name: matplotlib channels: - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=conda_forge - _openmp_mutex=4.5=2_gnu - accessible-pygments=0.0.5=pyhd8ed1ab_1 - adwaita-icon-theme=48.0=unix_0 - alabaster=0.7.16=pyhd8ed1ab_0 - alsa-lib...
[ "lib/matplotlib/tests/test_contour.py::test_allsegs_allkinds" ]
[]
[ "lib/matplotlib/tests/test_contour.py::test_contour_shape_1d_valid", "lib/matplotlib/tests/test_contour.py::test_contour_shape_2d_valid", "lib/matplotlib/tests/test_contour.py::test_contour_shape_error[args0-Length", "lib/matplotlib/tests/test_contour.py::test_contour_shape_error[args1-Length", "lib/matplot...
[]
null
streamlink__streamlink-2858
222ab719fbdbf9f388277cda52e39ccdfcd1cacb
2020-04-02T22:43:31
ed210721fc6eb73d9480ad91194e61d7e85ddda2
codecov[bot]: # [Codecov](https://codecov.io/gh/streamlink/streamlink/pull/2858?src=pr&el=h1) Report > Merging [#2858](https://codecov.io/gh/streamlink/streamlink/pull/2858?src=pr&el=desc) into [master](https://codecov.io/gh/streamlink/streamlink/commit/c5d84455911b0b26fb524e527170b0f10f84cf64&el=desc) will **not chang...
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3114eed5..a9516b02 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -32,16 +32,16 @@ jobs: with: python-version: ${{ matrix.python }} - name: Install dependencies - continue-on-error: ...
Youtube plugin not working with some vods <!-- Thanks for reporting a plugin issue! USE THE TEMPLATE. Otherwise your plugin issue may be rejected. First, see the contribution guidelines: https://github.com/streamlink/streamlink/blob/master/CONTRIBUTING.md#contributing-to-streamlink Also check the list of open ...
streamlink/streamlink
diff --git a/tests/__init__.py b/tests/__init__.py index a6e20084..e572a37f 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,17 +1,29 @@ +import os import warnings +import pytest + +from streamlink.compat import is_py2, is_py3 + def catch_warnings(record=False, module=None): def _catch_warnings_w...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 11 }
1.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": null, "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.7", "reqs_path": [ "dev-...
certifi @ file:///croot/certifi_1671487769961/work/certifi charset-normalizer==3.4.1 coverage==7.2.7 exceptiongroup==1.2.2 flake8==5.0.4 freezegun==1.5.1 idna==3.10 importlib-metadata==4.2.0 iniconfig==2.0.0 iso-639==0.4.5 iso3166==2.1.1 isodate==0.7.2 mccabe==0.7.0 mock==5.2.0 packaging==24.0 pluggy==1.2.0 pycodestyle...
name: streamlink 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/plugins/test_tv360.py::TestPluginTV360::test_can_handle_url" ]
[]
[ "tests/test_api_http_session.py::TestPluginAPIHTTPSession::test_json_encoding", "tests/test_api_http_session.py::TestPluginAPIHTTPSession::test_json_encoding_override", "tests/test_api_http_session.py::TestPluginAPIHTTPSession::test_read_timeout", "tests/plugins/test_tv360.py::TestPluginTV360::test_can_handle...
[]
BSD 2-Clause "Simplified" License
iris-hep__qastle-58
644b098ad95d3f2fc48d26e509745dfb60fc6e74
2021-09-08T10:44:13
644b098ad95d3f2fc48d26e509745dfb60fc6e74
diff --git a/README.md b/README.md index 27155e5..55ff7d2 100644 --- a/README.md +++ b/README.md @@ -70,6 +70,8 @@ All defined s-expressions are listed here, though this specification will be exp - `selector` must be a `lambda` with one argument - First: `(First <source>)` - Last: `(Last <source>)` + - Elem...
`ElementAt` node type See <https://docs.microsoft.com/en-us/dotnet/api/system.linq.enumerable.elementat?view=net-5.0>. For parity with `First` and `Last`.
iris-hep/qastle
diff --git a/tests/test_ast_language.py b/tests/test_ast_language.py index b83cb8d..a9fdec9 100644 --- a/tests/test_ast_language.py +++ b/tests/test_ast_language.py @@ -180,6 +180,19 @@ def test_First(): '(First data_source)') +def test_Last(): + first_node = Last(s...
{ "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, "num_modified_files": 3 }
0.11
{ "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/base.txt" ], "test_cmd":...
coverage==7.8.0 exceptiongroup==1.2.2 flake8==7.2.0 iniconfig==2.1.0 lark-parser==0.12.0 mccabe==0.7.0 packaging==24.2 pluggy==1.5.0 pycodestyle==2.13.0 pyflakes==3.3.2 pytest==8.3.5 pytest-cov==6.0.0 -e git+https://github.com/iris-hep/qastle.git@644b098ad95d3f2fc48d26e509745dfb60fc6e74#egg=qastle tomli==2.2.1
name: qastle 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_ast_language.py::test_ElementAt", "tests/test_linq_util.py::test_elementat", "tests/test_linq_util.py::test_elementat_composite", "tests/test_linq_util.py::test_elementat_bad" ]
[]
[ "tests/test_ast_language.py::test_empty", "tests/test_ast_language.py::test_whitespace", "tests/test_ast_language.py::test_identifiers", "tests/test_ast_language.py::test_string_literals", "tests/test_ast_language.py::test_numeric_literals", "tests/test_ast_language.py::test_list", "tests/test_ast_langu...
[]
MIT License
astropy__astropy-8713
69b4bf9d2b88c7b370f4c69727a0c925517301be
2019-05-15T20:52:38
239d40fba0368d9ceab9476558f4906f3280dc77
pllim: Unfortunately, this seemingly simple change broke Appveyor and 32-bit CircleCI. The HTML doc broke, I think, because of perhaps you branched off an older version of `master`. codecov[bot]: # [Codecov](https://codecov.io/gh/astropy/astropy/pull/8713?src=pr&el=h1) Report > Merging [#8713](https://codecov.io/gh/ast...
diff --git a/CHANGES.rst b/CHANGES.rst index 6a32d019f3..ce23900e33 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -2254,6 +2254,8 @@ astropy.io.fits - Fix ``Header.update`` which was dropping the comments when passed a ``Header`` object. [#8840] +- Fix ``Header.fromfile`` to work on FITS files. [#8713] + astropy...
UnicodeDecodeError during fits.Header.fromfile() MWE: ``` import numpy as np from astropy.io import fits fn = 'test.fits' data = np.random.randn(1, 1) hdu = fits.HDUList(fits.PrimaryHDU(data)) hdu.writeto(fn, overwrite=True) header = fits.Header.fromfile(fn) ``` produces: ``` -------------------------...
astropy/astropy
diff --git a/astropy/io/fits/tests/test_header.py b/astropy/io/fits/tests/test_header.py index 84f75651a3..564a1da2dc 100644 --- a/astropy/io/fits/tests/test_header.py +++ b/astropy/io/fits/tests/test_header.py @@ -1587,6 +1587,13 @@ class TestHeaderFunctions(FitsTestCase): assert len(hdul2) == 2 ...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 3 }
3.2
{ "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": [ "pytest", "pytest-astropy" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.6", ...
asdf==2.8.3 -e git+https://github.com/astropy/astropy.git@69b4bf9d2b88c7b370f4c69727a0c925517301be#egg=astropy attrs @ file:///opt/conda/conda-bld/attrs_1642510447205/work backcall==0.2.0 beautifulsoup4==4.12.3 bintrees==2.2.0 bleach==4.1.0 Bottleneck==1.4.0 cached-property==1.5.2 certifi==2021.5.30 coverage==6.2 cycle...
name: astropy 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...
[ "astropy/io/fits/tests/test_header.py::TestHeaderFunctions::test_fromfile" ]
[ "astropy/units/tests/test_quantity.py::test_arrays" ]
[ "astropy/io/fits/tests/test_header.py::test_shallow_copy", "astropy/io/fits/tests/test_header.py::test_init_with_header", "astropy/io/fits/tests/test_header.py::test_init_with_dict", "astropy/io/fits/tests/test_header.py::test_init_with_ordereddict", "astropy/io/fits/tests/test_header.py::TestHeaderFunction...
[]
BSD 3-Clause "New" or "Revised" License
asottile__covdefaults-57
b33cb96b0b06669148e156af0a4c0c343a97b859
2021-11-28T04:46:08
b33cb96b0b06669148e156af0a4c0c343a97b859
diff --git a/README.md b/README.md index 281cd5a..4b25ec2 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,13 @@ exclude_lines = if __name__ == ['"]__main__['"]:$ # additional platform related pragmas (see below) + # additional version related pragmas (see below) +partial_branches = + # a more stri...
version specific coverage pragmas might be a fun little regex game, but it would be nice to support `# pragma: >=3.7 no cover` or some such
asottile/covdefaults
diff --git a/tests/covdefaults_test.py b/tests/covdefaults_test.py index 05388c1..20fbb44 100644 --- a/tests/covdefaults_test.py +++ b/tests/covdefaults_test.py @@ -24,6 +24,89 @@ def test_plat_impl_pragmas(): assert (c, pragma, no, cover) == ('#', 'pragma:', 'no', r'cover\b'), s +def _matches_version_prag...
{ "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, "num_modified_files": 2 }
2.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", "numpy>=1.16.0", "pandas>=1.0.0", "covdefaults" ], "pre_install": [ "apt-get update", ...
-e git+https://github.com/asottile/covdefaults.git@b33cb96b0b06669148e156af0a4c0c343a97b859#egg=covdefaults coverage==7.8.0 exceptiongroup==1.2.2 iniconfig==2.1.0 numpy==2.0.2 packaging==24.2 pandas==2.2.3 pluggy==1.5.0 pytest==8.3.5 python-dateutil==2.9.0.post0 pytz==2025.2 six==1.17.0 tomli==2.2.1 tzdata==2025.2
name: covdefaults 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/covdefaults_test.py::test_version_pragmas_py37[#", "tests/covdefaults_test.py::test_version_pragmas_py310[#", "tests/covdefaults_test.py::test_partial_branches[if" ]
[ "tests/covdefaults_test.py::test_coverage_init" ]
[ "tests/covdefaults_test.py::test_plat_impl_pragmas", "tests/covdefaults_test.py::test_constant_options", "tests/covdefaults_test.py::test_source_already_set", "tests/covdefaults_test.py::test_extends_existing_omit", "tests/covdefaults_test.py::test_subtract_omit", "tests/covdefaults_test.py::test_exclude_...
[]
MIT License
pypa__pip-9708
bc45b93eb679963d23f100be4ebb5d0f1568ceee
2021-03-15T17:09:21
04f754d9474ee4aeabe33ccb1eb481f4ad4574f8
xavfernandez: Hello, could you paste the updated output from this PR ? sbidoul: @xavfernandez this is how it look likes ![image](https://user-images.githubusercontent.com/692075/115110946-24618a80-9f7e-11eb-8ed8-ae61e803a0cd.png) sbidoul: From the example above I find the displayed message somewhat confusing. The ...
diff --git a/news/9615.feature.rst b/news/9615.feature.rst new file mode 100644 index 000000000..075a6cd42 --- /dev/null +++ b/news/9615.feature.rst @@ -0,0 +1,1 @@ +Explains why specified version cannot be retrieved when *Requires-Python* is not satisfied. diff --git a/src/pip/_internal/index/package_finder.py b/src/p...
Explain why version cannot be retrieved due to python-requires **What's the problem this feature will solve?** <!-- What are you trying to do, that you are unable to achieve with pip as it currently stands? --> I am trying to install a specific version of a package (`ipython==7.20.0` in this case). However my version...
pypa/pip
diff --git a/tests/unit/test_index.py b/tests/unit/test_index.py index fa98f28c8..7fbcd3766 100644 --- a/tests/unit/test_index.py +++ b/tests/unit/test_index.py @@ -120,7 +120,7 @@ class TestLinkEvaluator: [ ((3, 6, 5), False, (True, "1.12")), # Test an incompatible Python. - ...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_added_files", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 2 }
22.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", "pytest-rerunfailures", "pytest-xdist", "scripttest" ], "pre_install": [ "apt...
cffi==1.17.1 coverage==7.8.0 cryptography==44.0.2 exceptiongroup==1.2.2 execnet==2.1.1 freezegun==1.5.1 iniconfig==2.1.0 MarkupSafe==3.0.2 packaging==24.2 pluggy==1.5.0 pycparser==2.22 pytest==8.3.5 pytest-cov==6.0.0 pytest-rerunfailures==15.0 pytest-xdist==3.6.1 python-dateutil==2.9.0.post0 scripttest==2.0 six==1.17.0...
name: pip 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/unit/test_index.py::TestLinkEvaluator::test_evaluate_link[py_version_info1-False-expected1]" ]
[]
[ "tests/unit/test_index.py::test_check_link_requires_python[==", "tests/unit/test_index.py::test_check_link_requires_python[invalid-True]", "tests/unit/test_index.py::test_check_link_requires_python__incompatible_python[False-expected0]", "tests/unit/test_index.py::test_check_link_requires_python__incompatible...
[]
MIT License
zopefoundation__ZODB-170
5056d49e79bc06f6d343973d71c3c3185e18975e
2017-07-24T17:15:54
5056d49e79bc06f6d343973d71c3c3185e18975e
diff --git a/CHANGES.rst b/CHANGES.rst index 039cc6ec..f3f7d1cd 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -9,6 +9,8 @@ - Drop support for Python 3.3. +- Ensure that the ``HistoricalStorageAdapter`` forwards the ``release`` method to + its base instance. See `issue 78 <https://github.com/zopefoundation/ZODB/is...
HistoricalStorageAdapter does not forward release to its base This causes a connection leak on RelStorage.
zopefoundation/ZODB
diff --git a/src/ZODB/tests/test_mvccadapter.py b/src/ZODB/tests/test_mvccadapter.py new file mode 100644 index 00000000..9b1f28cf --- /dev/null +++ b/src/ZODB/tests/test_mvccadapter.py @@ -0,0 +1,60 @@ +############################################################################## +# +# Copyright (c) 2017 Zope Foundat...
{ "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, "num_modified_files": 2 }
5.2
{ "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": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.9", "reqs_pat...
BTrees==6.1 cffi==1.17.1 exceptiongroup==1.2.2 iniconfig==2.1.0 manuel==1.13.0 packaging==24.2 persistent==6.1.1 pluggy==1.5.0 pycparser==2.22 pytest==8.3.5 six==1.17.0 tomli==2.2.1 transaction==5.0 zc.lockfile==3.0.post1 ZConfig==4.2 -e git+https://github.com/zopefoundation/ZODB.git@5056d49e79bc06f6d343973d71c3c3185e1...
name: ZODB 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...
[ "src/ZODB/tests/test_mvccadapter.py::TestHistoricalStorageAdapter::test_forwards_release" ]
[]
[ "src/ZODB/tests/test_mvccadapter.py::TestBase::test_getattr_does_not_hide_exceptions", "src/ZODB/tests/test_mvccadapter.py::TestBase::test_getattr_raises_if_missing" ]
[]
Zope Public License 2.1
deepset-ai__haystack-8358
5514676b5ecea45c5b93da75bfa271059f89197d
2024-09-12T11:55:17
29672d4b424958d3432db20a33d7720732211244
coveralls: ## Pull Request Test Coverage Report for [Build 10830265720](https://coveralls.io/builds/69760048) ### Details * **0** of **0** changed or added relevant lines in **0** files are covered. * **7** unchanged lines in **3** files lost coverage. * Overall coverage increased (+**0.03%**) to **90.34%** --- ...
diff --git a/haystack/components/audio/whisper_local.py b/haystack/components/audio/whisper_local.py index 846da079..79ac83b1 100644 --- a/haystack/components/audio/whisper_local.py +++ b/haystack/components/audio/whisper_local.py @@ -48,7 +48,7 @@ class LocalWhisperTranscriber: whisper = LocalWhisperTranscriber...
`component.set_input_types()` and `component.set_input_type()` let's user set non-existing inputs **Describe the bug** If a user calls `component.set_input_types()` or `component.set_input_type()` in a Component's init method the inputs will be added even if the Component doesn't define a `run` method that accepts `...
deepset-ai/haystack
diff --git a/test/components/evaluators/test_context_relevance_evaluator.py b/test/components/evaluators/test_context_relevance_evaluator.py index dd364f8f..dd1e33cc 100644 --- a/test/components/evaluators/test_context_relevance_evaluator.py +++ b/test/components/evaluators/test_context_relevance_evaluator.py @@ -183,7...
{ "commit_name": "merge_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, "num_modified_files": 7 }
2.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-bdd", "pytest-cov", "pytest-custom_exit_code", "pytest-asyncio", "pytest-rerunfail...
annotated-types==0.7.0 anyio==4.9.0 astroid==3.3.9 asttokens==3.0.0 backoff==2.2.1 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 decorator==5.2.1 dill==0.3.9 distlib==0.3.9 distro==1.9.0 exceptiongroup==1.2.2 executing==2.2.0 filelock==3.18.0 gherkin-offic...
name: haystack 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=...
[ "test/components/evaluators/test_context_relevance_evaluator.py::TestContextRelevanceEvaluator::test_run_missing_parameters", "test/components/evaluators/test_faithfulness_evaluator.py::TestFaithfulnessEvaluator::test_run_missing_parameters", "test/core/component/test_component.py::test_parameters_mismatch_run_...
[]
[ "[", "test/components/evaluators/test_context_relevance_evaluator.py::TestContextRelevanceEvaluator::test_init_default", "test/components/evaluators/test_context_relevance_evaluator.py::TestContextRelevanceEvaluator::test_init_fail_wo_openai_api_key", "test/components/evaluators/test_context_relevance_evaluat...
[]
Apache License 2.0
fredliporace__cbers-2-stac-97
f214e7443f26a8b039f7458eb71199387797d659
2023-08-13T14:58:56
f4263f298ef3f31a4ed418e4feea35de63754dfa
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f3d4a4f..5ebd28b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ on: jobs: tests: # if: github.event_name == 'push' || github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.fu...
CBERS-4 scenes from new INPE catalog It seems that INPE moved the CBERS-4 scenes acquired after May-2022 to a [new catalog](http://www2.dgi.inpe.br/catalogo/explore), the same used for CBERS-4A and Amazonia-1 satellites. [Old catalog](http://www.dgi.inpe.br/catalogo/), still referenced in [INPE's official documentat...
fredliporace/cbers-2-stac
diff --git a/test/cbers_am_2_stac_test.py b/test/cbers_am_2_stac_test.py index 6823f5d..77db5c9 100644 --- a/test/cbers_am_2_stac_test.py +++ b/test/cbers_am_2_stac_test.py @@ -69,6 +69,14 @@ def test_candidate_xml_files(): "CBERS_4_AWFI_20220614_170_099_L4_RIGHT_BAND14.xml", ] + # CBERS4 PAN10M spec...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 4 }
1.0
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev,test,deploy]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "pytest", "docker" ], "pre_install": [ "apt-get update", "apt-get install -y gcc", "mkdir -p /tmp/...
annotated-types==0.5.0 astroid==2.15.8 attrs @ file:///croot/attrs_1668696182826/work aws-cdk.assets==1.204.0 aws-cdk.aws-acmpca==1.204.0 aws-cdk.aws-apigateway==1.204.0 aws-cdk.aws-applicationautoscaling==1.204.0 aws-cdk.aws-autoscaling==1.204.0 aws-cdk.aws-autoscaling-common==1.204.0 aws-cdk.aws-autoscaling-hooktarge...
name: cbers-2-stac 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 - fl...
[ "test/cbers_am_2_stac_test.py::test_candidate_xml_files" ]
[]
[ "test/cbers_am_2_stac_test.py::test_epsg_from_utm_zone", "test/cbers_am_2_stac_test.py::test_get_keys_from_cbers4", "test/cbers_am_2_stac_test.py::test_get_keys_from_cbers4a", "test/cbers_am_2_stac_test.py::test_get_keys_from_amazonia1", "test/cbers_am_2_stac_test.py::test_build_awfi_stac_item_keys", "tes...
[]
Apache License 2.0
scieloorg__xylose-96
df12890d7e4d8d986f33844513b9d4f68a148fda
2016-02-25T18:06:10
df12890d7e4d8d986f33844513b9d4f68a148fda
fabiobatalha: Puesdes escribir un testcase para eso. swarzesherz: Actualizado con testcase fabiobatalha: Desculpe não ter comentado antes. Acho que seria legal também incluir no retorno do Xylose a version ISO do país, quando existir e for válida. swarzesherz: Actualizado, agregue affdict['country_iso_3166'] = a...
diff --git a/xylose/scielodocument.py b/xylose/scielodocument.py index 0b42e3e..c71e5b2 100644 --- a/xylose/scielodocument.py +++ b/xylose/scielodocument.py @@ -1309,6 +1309,7 @@ class Article(object): continue normalized[aff['index']]['normalized'] = True normaliz...
Asignación incorrecta de country en afiliaciones no normalizadas (v70) En versiones de PC-Programs anteriores a: https://github.com/scieloorg/PC-Programs/commit/5e494a031cabb9d718970a6201f3ee6c9847b942 se realizaba la asignación del campo ```p```de la siguiente forma: ``` a['p'] = item.country if item.i_country is No...
scieloorg/xylose
diff --git a/tests/test_document.py b/tests/test_document.py index 758d7b8..6e6b1d6 100644 --- a/tests/test_document.py +++ b/tests/test_document.py @@ -1751,6 +1751,13 @@ class ArticleTests(unittest.TestCase): u"p": u"US", u"s": u"São Paulo", u"_": u"University of Flo...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_hyperlinks", "has_media" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 1 }
1.0
{ "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: xylose 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/test_document.py::ArticleTests::test_affiliation_with_country_iso_3166", "tests/test_document.py::ArticleTests::test_mixed_affiliations_1" ]
[]
[ "tests/test_document.py::ToolsTests::test_get_date_wrong_day", "tests/test_document.py::ToolsTests::test_get_date_wrong_day_month", "tests/test_document.py::ToolsTests::test_get_date_wrong_day_month_not_int", "tests/test_document.py::ToolsTests::test_get_date_wrong_day_not_int", "tests/test_document.py::Too...
[]
BSD 2-Clause "Simplified" License
Alexei-Kornienko__schematics_to_swagger-7
3ddc537a8ed7682e9bb709ebd749b99d7ef09473
2019-11-20T22:11:16
3ddc537a8ed7682e9bb709ebd749b99d7ef09473
diff --git a/schematics_to_swagger/__init__.py b/schematics_to_swagger/__init__.py index d108f3f..d203de0 100644 --- a/schematics_to_swagger/__init__.py +++ b/schematics_to_swagger/__init__.py @@ -54,17 +54,24 @@ def _map_schematics_type(t): def model_to_definition(model): - fields = model.fields.items() + p...
Hide private model fields in swagger doc
Alexei-Kornienko/schematics_to_swagger
diff --git a/tests/models.py b/tests/models.py index 5392711..7cd4582 100644 --- a/tests/models.py +++ b/tests/models.py @@ -16,3 +16,10 @@ class WeatherStats(Model): last_report = types.ModelType(WeatherReport) prev_reports = types.ListType(types.ModelType(WeatherReport)) date_list = types.ListType(type...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 1 }
1.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>=3.6", "pytest-cov", "codecov", "flake8" ], "pre_install": null, "python": "3.6", "reqs_path...
attrs==22.2.0 certifi==2021.5.30 charset-normalizer==2.0.12 codecov==2.1.13 coverage==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 pytest==7.0.1 pytest-cov==4.0.0 requests==2.27.1 schema...
name: schematics_to_swagger 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=h12...
[ "tests/test_model.py::test_read_models_from_module", "tests/test_model.py::test_private_fields" ]
[]
[ "tests/test_model.py::test_model_to_definition", "tests/test_model.py::test_compound_type" ]
[]
MIT License
openforcefield__openff-toolkit-1171
9362b714c5ab064700d24a32095c42d5d79292aa
2022-01-14T06:11:42
4085ad8f72e3456182be40482f69c1632c41c422
codecov[bot]: # [Codecov](https://codecov.io/gh/openforcefield/openff-toolkit/pull/1171?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openforcefield) Report > Merging [#1171](https://codecov.io/gh/openforcefield/openff-toolkit/pull/1171?src=pr&el=desc&utm_mediu...
diff --git a/docs/releasehistory.md b/docs/releasehistory.md index f363d422..1e16afec 100644 --- a/docs/releasehistory.md +++ b/docs/releasehistory.md @@ -8,6 +8,21 @@ Releases follow the `major.minor.micro` scheme recommended by [PEP440](https://w ## Current development +### Behaviors changed and bugfixes + +- [P...
OpenEye charging for trans-carboxylic acids will fail; incorporate workaround Currently, OpenEye charging for (neutral) trans carboxylic acids will fail for reasons I'll explain below. OpenEye has come up with a fix/workaround which we should likely propagate into our charging code, see https://github.com/oess/openmm_o...
openforcefield/openff-toolkit
diff --git a/openff/toolkit/tests/test_molecule.py b/openff/toolkit/tests/test_molecule.py index 226795c8..006c9156 100644 --- a/openff/toolkit/tests/test_molecule.py +++ b/openff/toolkit/tests/test_molecule.py @@ -3551,18 +3551,22 @@ class TestMolecule: recomputed_charges = molecule._partial_charges ...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 4 }
0.10
{ "env_vars": null, "env_yml_path": [ "environment.yml" ], "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "environment.yml", "pip_packages": [ "pytest pytest-rerunfailures nbval", "pytest" ], "pre_install": null, "python": "3.9", "req...
AmberLite==22.0 AmberUtils==21.0 annotated-types @ file:///home/conda/feedstock_root/build_artifacts/annotated-types_1733247046149/work anyio @ file:///home/conda/feedstock_root/build_artifacts/bld/rattler-build_anyio_1742243108/work apsw==3.48.0.0 argon2-cffi @ file:///home/conda/feedstock_root/build_artifacts/argon2-...
name: openff-toolkit channels: - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=conda_forge - _openmp_mutex=4.5=2_gnu - ambertools=22.5=py39h9e491d2_0 - annotated-types=0.7.0=pyhd8ed1ab_1 - anyio=4.9.0=pyh29332c3_0 - apsw=3.48.0.0...
[ "openff/toolkit/tests/test_molecule.py::TestMolecule::test_apply_elf_conformer_selection[True-RDKitToolkitWrapper]", "openff/toolkit/tests/test_molecule.py::TestMolecule::test_make_carboxylic_acids_cis" ]
[ "openff/toolkit/tests/test_molecule.py::TestMolecule::test_from_qcschema_with_client[input_data0]", "openff/toolkit/tests/test_molecule.py::TestMolecule::test_from_qcschema_with_client[input_data1]", "openff/toolkit/tests/test_molecule.py::TestMolecule::test_from_qcschema_with_client[input_data2]", "openff/to...
[ "openff/toolkit/tests/test_molecule.py::TestAtom::test_atom_constructor", "openff/toolkit/tests/test_molecule.py::TestAtom::test_atom_properties", "openff/toolkit/tests/test_molecule.py::TestAtom::test_set_molecule", "openff/toolkit/tests/test_molecule.py::TestAtom::test_set_molecule_error", "openff/toolkit...
[]
MIT License
GSTT-CSC__hazen-343
561a7ac8cc8264a3395b709056b5287ae6ae9c2b
2023-05-11T11:02:26
c11899ba5397dd244a8151099aa8a407a6ede69e
diff --git a/hazenlib/ACRObject.py b/hazenlib/ACRObject.py new file mode 100644 index 0000000..6eb2828 --- /dev/null +++ b/hazenlib/ACRObject.py @@ -0,0 +1,248 @@ +import numpy as np +import cv2 +import scipy +import skimage + + +class ACRObject: + def __init__(self, dcm): + self.dcm = dcm + self.image...
acr ghosting module problem centering ROIs. this datset is from bodycoil acquisition. @YassineAzma <img width="592" alt="Screenshot 2023-04-06 at 10 40 41" src="https://user-images.githubusercontent.com/93722461/231783117-9cce4c18-0783-4593-9596-5d989c6b728e.png">
GSTT-CSC/hazen
diff --git a/tests/test_ACRObject.py b/tests/test_ACRObject.py new file mode 100644 index 0000000..ecb8e35 --- /dev/null +++ b/tests/test_ACRObject.py @@ -0,0 +1,37 @@ +import os +import unittest +import pathlib +import pydicom +import numpy as np + +from hazenlib import HazenTask +from hazenlib.ACRObject import ACRObj...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_hyperlinks", "has_media", "has_added_files", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 7 }
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" ], "pre_install": [ "apt-get update", "apt-get install -y gcc libgl1-mesa-glx" ...
alabaster==0.7.16 attrs==25.3.0 babel==2.17.0 certifi==2025.1.31 charset-normalizer==3.4.1 colorlog==6.6.0 coverage==7.8.0 cycler==0.12.1 docopt==0.6.2 docutils==0.17.1 fonttools==4.56.0 -e git+https://github.com/GSTT-CSC/hazen.git@561a7ac8cc8264a3395b709056b5287ae6ae9c2b#egg=hazen idna==3.10 imageio==2.37.0 imagesize=...
name: hazen 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_ACRObject.py::TestACRTools::test_find_centre", "tests/test_ACRObject.py::TestACRTools::test_find_rotation", "tests/test_ACRObject.py::TestACRTools::test_rotate_point", "tests/test_acr_geometric_accuracy.py::TestACRGeometricAccuracySiemens::test_geometric_accuracy_slice_1", "tests/test_acr_geomet...
[]
[]
[]
Apache License 2.0
Aarhus-Psychiatry-Research__timeseriesflattener-33
0b6895a23bd620615b06e442d0887bc73f345540
2022-12-01T11:46:57
4fc9f344794be0310bb1e344a0e6c3ed98b57745
diff --git a/src/timeseriesflattener/__init__.py b/src/timeseriesflattener/__init__.py index c4eae1f..1516176 100644 --- a/src/timeseriesflattener/__init__.py +++ b/src/timeseriesflattener/__init__.py @@ -1,2 +1,2 @@ """Init timeseriesflattener.""" -from .flattened_dataset import FlattenedDataset +from .flattened_data...
Refactor: Main class TSFLattener, add df_getter method
Aarhus-Psychiatry-Research/timeseriesflattener
diff --git a/src/timeseriesflattener/testing/utils_for_testing.py b/src/timeseriesflattener/testing/utils_for_testing.py index d9fa75f..13d28bc 100644 --- a/src/timeseriesflattener/testing/utils_for_testing.py +++ b/src/timeseriesflattener/testing/utils_for_testing.py @@ -10,7 +10,7 @@ import pytest from pandas import...
{ "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, "num_modified_files": 2 }
0.12
{ "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...
anyio==3.7.1 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 attrs==25.3.0 backcall==0.2.0 beautifulsoup4==4.13.3 bleach==6.2.0 catalogue==2.0.10 category-encoders==2.6.4 certifi==2025.1.31 cffi==1.17.1 charset-normalizer==3.4.1 click==8.1.8 cloudpickle==3.1.1 comm==0.2.2 contourpy==1.3.0 cycler==0.12.1 dask==2022.11....
name: timeseriesflattener 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=pyhd3eb1...
[ "tests/test_timeseriesflattener/test_add_values.py::test_predictor_after_prediction_time", "tests/test_timeseriesflattener/test_add_values.py::test_predictor_before_prediction", "tests/test_timeseriesflattener/test_add_values.py::test_multiple_citizens_predictor", "tests/test_timeseriesflattener/test_add_valu...
[]
[]
[]
MIT License
QualiSystemsLab__colony-cli-37
a4dc8a364832163bf66b7af2442473a61dca3c29
2021-03-19T18:12:44
a4dc8a364832163bf66b7af2442473a61dca3c29
diff --git a/colony/branch_utils.py b/colony/branch_utils.py index 6487cc6..4d84c1b 100644 --- a/colony/branch_utils.py +++ b/colony/branch_utils.py @@ -66,10 +66,8 @@ def figure_out_branches(user_defined_branch, blueprint_name): except BadBlueprintRepo as e: working_branch = None - l...
If remote branch is not configured, received unhandled exception STR: Initialize git repo locally and develop a blueprint, don't connect to remote repo yet, try to use bp validate. Expected behavior: Message "Local repository not connected to the remote space repository" Error: PS C:\Users\ronid\projects\clitest\bl...
QualiSystemsLab/colony-cli
diff --git a/tests/test_utils.py b/tests/test_utils.py index 1bd49dc..475fc82 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -73,13 +73,25 @@ class TestBlueprintRepo(unittest.TestCase): Repo.init(wrong_dir, bare=True) self.assertRaises(BadBlueprintRepo, BlueprintRepo, wrong_dir)...
{ "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, "num_modified_files": 3 }
1.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" ], "pre_install": null, "python": "3.8", "reqs_path": [ "requirements.txt" ], "test_cmd": "pytest --...
certifi==2025.1.31 charset-normalizer==3.4.1 -e git+https://github.com/QualiSystemsLab/colony-cli.git@a4dc8a364832163bf66b7af2442473a61dca3c29#egg=colony_cli colorama==0.4.3 docopt==0.6.2 exceptiongroup==1.2.2 gitdb==4.0.12 GitPython==3.1.12 idna==3.10 iniconfig==2.1.0 packaging==24.2 pluggy==1.5.0 pytest==8.3.5 PyYAML...
name: colony-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 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-n...
[ "tests/test_utils.py::TestBlueprintRepo::test_raise_on_repo_without_remotes" ]
[]
[ "tests/test_utils.py::TestParseParamString::test_is_result_dict", "tests/test_utils.py::TestParseParamString::test_raise_exception_on_colon", "tests/test_utils.py::TestParseParamString::test_raise_exception_on_space_del", "tests/test_utils.py::TestParseParamString::test_return_empty_dict", "tests/test_utils...
[]
Apache License 2.0
jsfehler__flake8-multiline-containers-128
a90bd084811ce980a27033a597f633a7b7f141d2
2022-05-01T22:11:05
a90bd084811ce980a27033a597f633a7b7f141d2
diff --git a/flake8_multiline_containers.py b/flake8_multiline_containers.py index e96b0b9..7803c14 100644 --- a/flake8_multiline_containers.py +++ b/flake8_multiline_containers.py @@ -10,6 +10,10 @@ STRING_REGEX = re.compile( r'"([^"\\]*(\\.[^"\\]*)*)"|\'([^\'\\]*(\\.[^\'\\]*)*)\'', ) +MULTILINE_STRING_REGEX =...
False positives inside multiline string I evaluated `flake8-multiline-containers 0.0.19` and running it on the following code raises two warnings: ``` foo = """ (lorem ) lorem ipsum! """ ``` ``` test.py:2:6: JS101 Multi-line container not broken after opening character test.py:3:2: JS102 Multi-line containe...
jsfehler/flake8-multiline-containers
diff --git a/tests/dummy/string/multiline.py b/tests/dummy/string/multiline.py new file mode 100644 index 0000000..5c52218 --- /dev/null +++ b/tests/dummy/string/multiline.py @@ -0,0 +1,23 @@ +# Triple quote strings should be ignored + +foo = """(a=10""" + +foo = """(a=10 +) +""" + +foo = """ +(a=10 + ) +""" + +foo = '...
{ "commit_name": "merge_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "num_modified_files": 1 }
0.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 pytest-cov", "pytest" ], "pre_install": null, "python": "3.9", "reqs_path": [ "requirements/lint...
attrs==25.3.0 coverage==7.8.0 eradicate==2.3.0 exceptiongroup==1.2.2 flake8==4.0.1 flake8-broken-line==0.4.0 flake8-bugbear==22.4.25 flake8-builtins==1.5.3 flake8-commas==2.1.0 flake8-docstrings==1.6.0 flake8-eradicate==1.2.1 flake8-import-order==0.18.1 -e git+https://github.com/jsfehler/flake8-multiline-containers.git...
name: flake8-multiline-containers 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=h6a678...
[ "tests/test_string_ignore.py::test_js101_multiline_string_ignore", "tests/test_string_ignore.py::test_js102_multiline_string_ignore" ]
[]
[ "tests/test_string_ignore.py::test_js101_string_ignore", "tests/test_string_ignore.py::test_js102_string_ignore", "tests/test_string_ignore.py::test_js101_string_brackets_ignore", "tests/test_string_ignore.py::test_js102_string_brackets_ignore" ]
[]
MIT License
BoboTiG__ebook-reader-dict-2126
1bc1c8b3985927f15918a6596ab47c015dfc59ad
2024-09-13T19:37:28
1bc1c8b3985927f15918a6596ab47c015dfc59ad
diff --git a/scripts/__main__.py b/scripts/__main__.py index e4af1119..b7731d13 100644 --- a/scripts/__main__.py +++ b/scripts/__main__.py @@ -11,6 +11,7 @@ "all-namespaces.py": "wikidict/namespaces.py", "ca-labels.py": "wikidict/lang/ca/labels.py", "ca-langs.py": "wikidict/lang/ca/langs.py", + "da-la...
[DA] Support "etyl" template - Wiktionary page: https://da.wiktionary.org/wiki/torn - Model link: https://da.wiktionary.org/wiki/Skabelon:etyl <!-- POLAR PLEDGE BADGE START --> ## Upvote & Fund - We're using [Polar.sh](https://polar.sh/tiger-222) so you can upvote and help fund this issue. - We receive the funding o...
BoboTiG/ebook-reader-dict
diff --git a/tests/test_da.py b/tests/test_da.py index 906291ba..1d5ca26e 100644 --- a/tests/test_da.py +++ b/tests/test_da.py @@ -8,34 +8,42 @@ @pytest.mark.parametrize( - "word, pronunciations, definitions, variants", + "word, pronunciations, etymology, definitions, variants", [ ( ...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_media", "has_added_files", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 4 }
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": null, "python": "3.11", "reqs_path": [ "requirements.txt", "requirements-test...
beautifulsoup4==4.12.3 certifi==2025.1.31 charset-normalizer==3.4.1 coverage==7.8.0 docopt==0.6.2 idna==3.10 iniconfig==2.1.0 Jinja2==3.1.4 marisa-trie==1.2.0 MarkupSafe==3.0.2 mistune==3.0.2 mypy==1.11.2 mypy-extensions==1.0.0 packaging==24.2 pluggy==1.5.0 pyglossary==4.7.0 pytest==8.3.3 pytest-cov==5.0.0 pytest-depen...
name: ebook-reader-dict 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 - bzip2=1.0.8=h5eee18b_6 - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - li...
[ "tests/test_da.py::test_parse_word[hund-pronunciations0-etymology0-definitions0-variants0]", "tests/test_da.py::test_parse_word[mus-pronunciations2-etymology2-definitions2-variants2]" ]
[]
[ "tests/test_da.py::test_parse_word[j\\xf8rme-pronunciations1-etymology1-definitions1-variants1]", "tests/test_da.py::test_parse_word[skulle-pronunciations3-etymology3-definitions3-variants3]", "tests/test_da.py::test_parse_word[PMV-pronunciations4-etymology4-definitions4-variants4]", "tests/test_da.py::test_p...
[]
MIT License
tenable__pyTenable-826
eeb4cab2c02b4c5219a70fc79ec1fd615efeb81b
2024-08-05T02:45:37
eeb4cab2c02b4c5219a70fc79ec1fd615efeb81b
diff --git a/tenable/io/exports/api.py b/tenable/io/exports/api.py index d17be9c..8e91551 100644 --- a/tenable/io/exports/api.py +++ b/tenable/io/exports/api.py @@ -365,8 +365,6 @@ class ExportsAPI(APIEndpoint): Returns Compliance findings for the specified list of plugin names. plugin_id ...
Support Phase 2 filters and endpoints for VM Compliance Export **Is your feature request related to a problem? Please describe.** I want pyTenable to support Phase 2 filters and endpoints for VM Compliance Export, namely `tags` and `network_id`, and the job status list endpoint. **Describe the solution you'd like**...
tenable/pyTenable
diff --git a/tests/io/exports/cassettes/test_list_compliance_export_jobs_returns_a_list.yaml b/tests/io/exports/cassettes/test_list_compliance_export_jobs_returns_a_list.yaml new file mode 100644 index 0000000..cf86017 --- /dev/null +++ b/tests/io/exports/cassettes/test_list_compliance_export_jobs_returns_a_list.yaml @...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 2 }
1.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-vcr", "pytest-datafiles", "pytest-cov", "responses" ], "pre_install": [ "apt-g...
arrow==1.3.0 certifi==2025.1.31 charset-normalizer==3.4.1 coverage==7.8.0 defusedxml==0.7.1 exceptiongroup==1.2.2 idna==3.10 iniconfig==2.1.0 marshmallow==3.26.1 multidict==6.2.0 packaging==24.2 pluggy==1.5.0 propcache==0.3.1 -e git+https://github.com/tenable/pyTenable.git@eeb4cab2c02b4c5219a70fc79ec1fd615efeb81b#egg=p...
name: pyTenable 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/io/exports/test_api.py::test_list_compliance_export_jobs_returns_a_list", "tests/io/exports/test_schema.py::test_compliance_export_phase_1_and_2_filters" ]
[]
[ "tests/io/exports/test_api.py::test_status", "tests/io/exports/test_api.py::test_cancel", "tests/io/exports/test_api.py::test_download_chunk", "tests/io/exports/test_api.py::test_jobs", "tests/io/exports/test_api.py::test_base_export", "tests/io/exports/test_api.py::test_asset_export", "tests/io/exports...
[]
MIT License
sphinx-gallery__sphinx-gallery-638
acffdaa9c1fe4581e917fe3fc93f11d5655a8f26
2020-04-01T15:00:25
692f38f309f854c448090b12b90dd8ee7f183611
codecov-io: # [Codecov](https://codecov.io/gh/sphinx-gallery/sphinx-gallery/pull/638?src=pr&el=h1) Report > Merging [#638](https://codecov.io/gh/sphinx-gallery/sphinx-gallery/pull/638?src=pr&el=desc) into [master](https://codecov.io/gh/sphinx-gallery/sphinx-gallery/commit/acffdaa9c1fe4581e917fe3fc93f11d5655a8f26?src=pr...
diff --git a/doc/configuration.rst b/doc/configuration.rst index e7568c8..840f067 100644 --- a/doc/configuration.rst +++ b/doc/configuration.rst @@ -331,9 +331,9 @@ The path you specify in ``backreferences_dir`` (here we choose ``gen_modules/backreferences``) will be populated with ReStructuredText files. Each will c...
Allow pathlib.Path to backreferences_dir option https://github.com/sphinx-gallery/sphinx-gallery/pull/571 checks that `backreferences_dir` is either `None` or `str`. It would be nice to allow `pathlib.Path` objects too.
sphinx-gallery/sphinx-gallery
diff --git a/sphinx_gallery/tests/test_gen_gallery.py b/sphinx_gallery/tests/test_gen_gallery.py index 1b1de2e..4f3dc01 100644 --- a/sphinx_gallery/tests/test_gen_gallery.py +++ b/sphinx_gallery/tests/test_gen_gallery.py @@ -11,6 +11,7 @@ import codecs import os import sys import re +import pathlib import pytest ...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_many_modified_files" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 2 }
0.6
{ "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": [ "sphinx_rtd_theme", "pytest", "pytest-coverage", "numpy", "matplotlib", "pillow", "seaborn", "job...
alabaster==0.7.16 babel==2.17.0 certifi==2025.1.31 charset-normalizer==3.4.1 contourpy==1.3.0 coverage==7.8.0 cycler==0.12.1 docutils==0.21.2 exceptiongroup==1.2.2 flake8==7.2.0 fonttools==4.56.0 idna==3.10 imagesize==1.4.1 importlib_metadata==8.6.1 importlib_resources==6.5.2 iniconfig==2.1.0 Jinja2==3.1.6 joblib==1.4....
name: sphinx-gallery 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...
[ "sphinx_gallery/tests/test_gen_gallery.py::test_backreferences_dir_pathlib_config" ]
[ "sphinx_gallery/tests/test_gen_gallery.py::test_bad_reset[Resetter", "sphinx_gallery/tests/test_gen_gallery.py::test_bad_css[CSS", "sphinx_gallery/tests/test_gen_gallery.py::test_failing_examples_raise_exception", "sphinx_gallery/tests/test_gen_gallery.py::test_examples_not_expected_to_pass", "sphinx_galler...
[ "sphinx_gallery/tests/test_gen_gallery.py::test_default_config", "sphinx_gallery/tests/test_gen_gallery.py::test_no_warning_simple_config", "sphinx_gallery/tests/test_gen_gallery.py::test_config_old_backreferences_conf", "sphinx_gallery/tests/test_gen_gallery.py::test_config_backreferences", "sphinx_gallery...
[]
BSD 3-Clause "New" or "Revised" License
VirtusLab__git-machete-330
18f7e32640cab8483c32a231a478c23c1a50ec67
2021-11-03T12:50:09
cbb53164ec69817bca876579af36d8d2646ed94d
diff --git a/git_machete/cli.py b/git_machete/cli.py index 19a6a38..8824ec9 100644 --- a/git_machete/cli.py +++ b/git_machete/cli.py @@ -358,15 +358,25 @@ def create_cli_parser() -> argparse.ArgumentParser: def update_cli_opts_using_parsed_args( cli_opts: git_machete.options.CommandLineOptions, parse...
`AttributeError: 'str' object has no attribute 'full_name'` due to (?) mistyped `CommandLineOptions.opt_branch` For an already existing, but not yet managed branch `foo/bar`: ``` $ git machete add foo/bar Traceback (most recent call last): File "/usr/local/bin/git-machete", line 4, in <module> __import__('...
VirtusLab/git-machete
diff --git a/git_machete/tests/functional/test_machete.py b/git_machete/tests/functional/test_machete.py index e6f934d..36165d7 100644 --- a/git_machete/tests/functional/test_machete.py +++ b/git_machete/tests/functional/test_machete.py @@ -2647,3 +2647,31 @@ class MacheteTester(unittest.TestCase): roots_o...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 1 }
3.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": [ "tox", "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.9", "reqs_path": n...
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 -e git+https://github.com/VirtusLab/git-machete.git@18f7e32640cab8483c32a231a478c23c1a50ec67#egg=git_machete iniconfig @ file:///home/linux1/recipes/ci/iniconfig_161098301967...
name: git-machete 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 -...
[ "git_machete/tests/functional/test_machete.py::MacheteTester::test_add" ]
[]
[ "git_machete/tests/functional/test_machete.py::MacheteTester::test_advance_with_few_possible_downstream_branches_and_yes_option", "git_machete/tests/functional/test_machete.py::MacheteTester::test_advance_with_no_downstream_branches", "git_machete/tests/functional/test_machete.py::MacheteTester::test_advance_wi...
[]
MIT License
spdx__tools-python-276
b7aafee8d907e05f087e5c2ef2a90b09323ac60f
2022-11-10T13:05:10
e36523e56afe134663e9e6bbf33830d5794ad421
diff --git a/spdx/file.py b/spdx/file.py index df3ac88..7910e36 100644 --- a/spdx/file.py +++ b/spdx/file.py @@ -134,7 +134,7 @@ class File(object): return messages def validate_copyright(self, messages): - if not isinstance( + if self.copyright and not isinstance( self.copyri...
Make properties optional that are not mandatory anymore in 2.3 - [x] package concluded license - [x] package declared license - [x] package copyright text - [x] license information from files - [x] package verification code - [x] package has files - [x] file concluded license - [x] license inform...
spdx/tools-python
diff --git a/tests/test_document.py b/tests/test_document.py index 448baca..c06e593 100644 --- a/tests/test_document.py +++ b/tests/test_document.py @@ -89,19 +89,11 @@ class TestDocument(TestCase): pack.add_lics_from_file(lic1) messages = ErrorMessages() messages = doc.validate(messages) - ...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 7 }
3.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": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.9", "reqs_path": null, "tes...
click==8.1.8 exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work isodate==0.7.2 packaging @ file:///croot/packaging_1734472117206/work pluggy @ file:///croot/pluggy_1733169602837/work ply==3.11 pyparsing==3.2.3 pytest @ file:///croot/p...
name: tools-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 ...
[ "tests/test_document.py::TestDocument::test_document_validate_failures_returns_informative_messages" ]
[]
[ "tests/test_document.py::TestVersion::test_comparison", "tests/test_document.py::TestVersion::test_creation", "tests/test_document.py::TestDocument::test_creation", "tests/test_document.py::TestDocument::test_document_is_valid_when_using_or_later_licenses", "tests/test_document.py::TestDocument::test_docume...
[]
Apache License 2.0
sphinx-doc__sphinx-5861
b229c1a672e9f1e97adfeaa5b43c9c0a2210073f
2018-12-23T15:46:53
79da4c777dcb032650c74f35253eb2bf7c95732b
diff --git a/CHANGES b/CHANGES index 68c8118ec..0949ae7e2 100644 --- a/CHANGES +++ b/CHANGES @@ -132,6 +132,11 @@ Features added * LaTeX: support rendering (not in math, yet) of Greek and Cyrillic Unicode letters in non-Cyrillic document even with ``'pdflatex'`` as :confval:`latex_engine` (refs: #5645) +* #5660:...
class name "versionmodified" used by all versionchanged/added/deprecated Subject: HTML output for change log (I want to CSS the headlines) ### Problem The current implementation use the same class name for all three version roles. This means I cannot use CSS to have the color of the text reflect if its added (green...
sphinx-doc/sphinx
diff --git a/tests/test_intl.py b/tests/test_intl.py index ee4defa0e..4961d2550 100644 --- a/tests/test_intl.py +++ b/tests/test_intl.py @@ -705,20 +705,20 @@ def get_content(result, name): return '' expect1 = ( - """<p><span class="versionmodified">Deprecated since version 1.0: </span>""" + ...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 2 }
1.8
{ "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...
alabaster==0.7.13 attrs==22.2.0 Babel==2.11.0 certifi==2021.5.30 charset-normalizer==2.0.12 coverage==6.2 docutils==0.18.1 docutils-stubs==0.0.22 execnet==1.9.0 flake8==5.0.4 flake8-import-order==0.18.2 html5lib==1.1 idna==3.10 imagesize==1.4.1 importlib-metadata==4.2.0 iniconfig==1.1.1 Jinja2==3.0.3 MarkupSafe==2.0.1 ...
name: sphinx 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...
[ "tests/test_intl.py::test_html_versionchanges" ]
[ "tests/test_intl.py::test_text_definition_terms", "tests/test_intl.py::test_gettext_toctree", "tests/test_intl.py::test_gettext_definition_terms", "tests/test_intl.py::test_html_meta", "tests/test_intl.py::test_xml_label_targets", "tests/test_intl.py::test_additional_targets_should_not_be_translated", "...
[ "tests/test_intl.py::test_text_toctree", "tests/test_intl.py::test_text_emit_warnings", "tests/test_intl.py::test_text_warning_node", "tests/test_intl.py::test_text_title_underline", "tests/test_intl.py::test_text_subdirs", "tests/test_intl.py::test_text_inconsistency_warnings", "tests/test_intl.py::tes...
[]
BSD-2-Clause
desihub__desiutil-185
8d5bbda3e42181fe4f5233b534b2e6b4abb1e52e
2022-08-13T00:18:52
da1060a80777c50f6fbd50411d12d3eaf7cfcc7a
diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 5463342..b17e805 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -17,9 +17,9 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest] - ...
Disable warnings about Python scripts not in PATH. During a recent run of `pip install` there was a new warning message: ``` WARNING: The scripts fits2bitmap, fitscheck, fitsdiff, fitsheader, fitsinfo, samp_hub, showtable, volint and wcslint are installed in '/global/common/software/desi/users/bweaver/cori/desicond...
desihub/desiutil
diff --git a/py/desiutil/test/test_install.py b/py/desiutil/test/test_install.py index 0ffbe9b..73c18f7 100644 --- a/py/desiutil/test/test_install.py +++ b/py/desiutil/test/test_install.py @@ -3,9 +3,9 @@ """Test desiutil.install. """ import unittest -from unittest.mock import patch, call, MagicMock +from unittest.m...
{ "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, "num_modified_files": 3 }
3.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" ], "pre_install": null, "python": "3.9", "reqs_path": [ "requirements.txt" ], "test_cmd": "pytest --...
astropy==6.0.1 astropy-iers-data==0.2025.3.31.0.36.18 certifi==2025.1.31 charset-normalizer==3.4.1 contourpy==1.3.0 cycler==0.12.1 -e git+https://github.com/desihub/desiutil.git@8d5bbda3e42181fe4f5233b534b2e6b4abb1e52e#egg=desiutil exceptiongroup==1.2.2 fonttools==4.56.0 healpy==1.17.3 idna==3.10 importlib_resources==6...
name: desiutil 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=...
[ "py/desiutil/test/test_install.py::TestInstall::test_unlock_permissions" ]
[ "py/desiutil/test/test_install.py::TestInstall::test_get_code_svn_branch", "py/desiutil/test/test_install.py::TestInstall::test_get_code_svn_error", "py/desiutil/test/test_install.py::TestInstall::test_get_code_svn_export", "py/desiutil/test/test_install.py::TestInstall::test_get_code_svn_test", "py/desiuti...
[ "py/desiutil/test/test_install.py::TestInstall::test_anaconda_version", "py/desiutil/test/test_install.py::TestInstall::test_build_type", "py/desiutil/test/test_install.py::TestInstall::test_cleanup", "py/desiutil/test/test_install.py::TestInstall::test_default_nersc_dir", "py/desiutil/test/test_install.py:...
[]
BSD 3-Clause "New" or "Revised" License
GenericMappingTools__pygmt-1329
7f37e1ca5b14a4064447304a5bf3936489cf933f
2021-06-11T03:30:06
7f37e1ca5b14a4064447304a5bf3936489cf933f
diff --git a/pygmt/clib/session.py b/pygmt/clib/session.py index 8172dbdb..89026a71 100644 --- a/pygmt/clib/session.py +++ b/pygmt/clib/session.py @@ -1449,9 +1449,11 @@ class Session: _data.extend(extra_arrays) elif kind == "matrix": # turn 2D arrays into list of vectors try: + ...
Histogram doesn't work for pandas.Series **Description of the problem** <!-- Please be as detailed as you can when describing an issue. The more information we have, the easier it will be for us to track this down. --> **Full code that generated the error** ```python import pygmt import pandas as pd import ...
GenericMappingTools/pygmt
diff --git a/pygmt/tests/test_histogram.py b/pygmt/tests/test_histogram.py index 77dd5f03..eb9a3828 100644 --- a/pygmt/tests/test_histogram.py +++ b/pygmt/tests/test_histogram.py @@ -2,22 +2,24 @@ """ Tests histogram. """ +import pandas as pd import pytest from pygmt import Figure -@pytest.fixture(scope="modul...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 1 }
0.3
{ "env_vars": null, "env_yml_path": [ "environment.yml" ], "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": true, "packages": "environment.yml", "pip_packages": [ "pytest", "pytest-cov", "pytest-mpl", "pytest>=6.0" ], "pre_install": [ "conda...
aiohttp @ file:///home/conda/feedstock_root/build_artifacts/aiohttp_1636085288765/work aiohttp-retry @ file:///home/conda/feedstock_root/build_artifacts/aiohttp-retry_1743371080905/work alabaster @ file:///home/conda/feedstock_root/build_artifacts/alabaster_1704848697227/work anyio @ file:///home/conda/feedstock_root/b...
name: pygmt channels: - defaults - conda-forge - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - aiohttp=3.7.4.post0=py39h3811e60_1 - aiohttp-retry=2.9.1=pyhd8ed1ab_0 - alabaster=0.7.16=pyhd8ed1ab_0 - alsa-lib=...
[ "pygmt/tests/test_info.py::test_info_series" ]
[ "[", "pygmt/tests/test_histogram.py::test_histogram[list]", "pygmt/tests/test_histogram.py::test_histogram[Series]" ]
[ "pygmt/tests/test_info.py::test_info", "pygmt/tests/test_info.py::test_info_2d_list", "pygmt/tests/test_info.py::test_info_dataframe", "pygmt/tests/test_info.py::test_info_numpy_array_time_column", "pygmt/tests/test_info.py::test_info_pandas_dataframe_time_column", "pygmt/tests/test_info.py::test_info_xar...
[]
BSD 3-Clause "New" or "Revised" License
mwaskom__seaborn-2458
ba086c2096962bbffde2a8eb721b322f382f9e0e
2021-01-30T22:29:12
bfb7a046183647b145ad69600901dded26aa8292
codecov[bot]: # [Codecov](https://codecov.io/gh/mwaskom/seaborn/pull/2458?src=pr&el=h1) Report > Merging [#2458](https://codecov.io/gh/mwaskom/seaborn/pull/2458?src=pr&el=desc) (ab4e6dc) into [master](https://codecov.io/gh/mwaskom/seaborn/commit/ba086c2096962bbffde2a8eb721b322f382f9e0e?el=desc) (ba086c2) will **decreas...
diff --git a/doc/releases/v0.12.0.txt b/doc/releases/v0.12.0.txt index 1e688924..96944872 100644 --- a/doc/releases/v0.12.0.txt +++ b/doc/releases/v0.12.0.txt @@ -18,6 +18,8 @@ v0.12.0 (Unreleased) - |Fix| In :func:`lineplot, allowed the `dashes` keyword to set the style of a line without mapping a `style` variable ...
rugplot fails with datetime data e.g. ```python sns.rugplot(x=np.arange("2015-01-01", "2020-01-01", dtype="datetime64[m]")) ``` ```python-traceback --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-i...
mwaskom/seaborn
diff --git a/seaborn/tests/test_distributions.py b/seaborn/tests/test_distributions.py index 84364897..858ac439 100644 --- a/seaborn/tests/test_distributions.py +++ b/seaborn/tests/test_distributions.py @@ -196,6 +196,12 @@ class TestRugPlot(SharedAxesLevelTests): rugplot(x=long_df["x"]) self.assert_r...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 4 }
joss_paper
{ "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": [ "pytest", "pytest-cov" ], "pre_install": null, "python": "3.7", "reqs_path": null, "test_cmd": "pytest --no-header -...
attrs @ file:///croot/attrs_1668696182826/work certifi @ file:///croot/certifi_1671487769961/work/certifi coverage==7.2.7 cycler==0.11.0 flit_core @ file:///opt/conda/conda-bld/flit-core_1644941570762/work/source/flit_core fonttools==4.38.0 importlib-metadata @ file:///tmp/build/80754af9/importlib-metadata_164856240746...
name: seaborn 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...
[ "seaborn/tests/test_distributions.py::TestRugPlot::test_datetime_data", "seaborn/tests/test_utils.py::test_deprecate_ci" ]
[ "seaborn/tests/test_distributions.py::TestKDEPlotUnivariate::test_legend", "seaborn/tests/test_distributions.py::TestKDEPlotBivariate::test_fill_artists", "seaborn/tests/test_distributions.py::TestKDEPlotBivariate::test_common_norm", "seaborn/tests/test_distributions.py::TestKDEPlotBivariate::test_log_scale",...
[ "seaborn/tests/test_distributions.py::TestDistPlot::test_hist_bins", "seaborn/tests/test_distributions.py::TestDistPlot::test_elements", "seaborn/tests/test_distributions.py::TestDistPlot::test_distplot_with_nans", "seaborn/tests/test_distributions.py::TestRugPlot::test_color", "seaborn/tests/test_distribut...
[]
BSD 3-Clause "New" or "Revised" License
ethereum__web3.py-2690
c150caf1c3214087ef3f188fe46c89a54df8e221
2022-10-21T21:41:29
168fceaf5c6829a8edeb510b997940064295ecf8
diff --git a/newsfragments/2690.bugfix.rst b/newsfragments/2690.bugfix.rst new file mode 100644 index 00000000..cbed59c8 --- /dev/null +++ b/newsfragments/2690.bugfix.rst @@ -0,0 +1,1 @@ +Fix bug to generate unique cache keys when multi-threading & with unique event loops for async. diff --git a/newsfragments/2690.misc...
`cache_and_return_async_session` has bug in function at multi thread environment * Version: 6.0.0b6 * Python: 3.9.13 * OS: osx (intel) * `pip freeze` output ``` <put the output from running pip freeze here> aiohttp==3.8.1 aiosignal==1.2.0 anyio==3.6.1 async-timeout==4.0.2 attrs==22.1.0 base58==2.1.1 beau...
ethereum/web3.py
diff --git a/tests/core/utilities/test_request.py b/tests/core/utilities/test_request.py index 56c405c8..48efa86f 100644 --- a/tests/core/utilities/test_request.py +++ b/tests/core/utilities/test_request.py @@ -3,6 +3,7 @@ from concurrent.futures import ( ThreadPoolExecutor, ) import pytest +import threading im...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_added_files" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 1 }
6.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 libssl-dev" ], "python": "3.9", "re...
aiohappyeyeballs==2.6.1 aiohttp==3.11.14 aiosignal==1.3.2 alabaster==0.7.16 async-timeout==5.0.1 attrs==25.3.0 babel==2.17.0 base58==2.1.1 bitarray==2.9.3 black==22.12.0 bump2version==1.0.1 bumpversion==0.6.0 cached-property==1.5.2 certifi==2025.1.31 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 configparser==...
name: web3.py 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/core/utilities/test_request.py::test_make_post_request_no_args", "tests/core/utilities/test_request.py::test_precached_session", "tests/core/utilities/test_request.py::test_unique_cache_keys_created_per_thread_with_same_uri", "tests/core/utilities/test_request.py::test_async_unique_cache_keys_created_p...
[]
[ "tests/core/utilities/test_request.py::test_cache_session_class", "tests/core/utilities/test_request.py::test_cache_does_not_close_session_before_a_call_when_multithreading", "tests/core/utilities/test_request.py::test_async_precached_session", "tests/core/utilities/test_request.py::test_async_cache_does_not_...
[]
MIT License
betamaxpy__betamax-170
316eb978a7e8d1c318a5ab8eb7230763c18b6c3b
2019-07-15T13:19:40
f06fe32d657a8c78b6e5a00048dff7fa50ad9be6
diff --git a/src/betamax/cassette/interaction.py b/src/betamax/cassette/interaction.py index f545bdb..799a8d5 100644 --- a/src/betamax/cassette/interaction.py +++ b/src/betamax/cassette/interaction.py @@ -69,6 +69,8 @@ class Interaction(object): self.replace(*placeholder.unpack(serializing)) def rep...
A blank string used for placeholder replacement can cause memory issue **Version: betamax-0.8.0** If you define a placeholder as described in the following, it can lead to memory issues, depending on how many blank strings you're trying to replace. ```python username = '' config.define_cassette_placeholder('<US...
betamaxpy/betamax
diff --git a/tests/unit/test_cassette.py b/tests/unit/test_cassette.py index edd83d8..01ae406 100644 --- a/tests/unit/test_cassette.py +++ b/tests/unit/test_cassette.py @@ -443,6 +443,7 @@ class TestInteraction(unittest.TestCase): self.interaction.replace('secret_value', '<SECRET_VALUE>') self.interac...
{ "commit_name": "head_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "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": [ "pytest", "mock", "flake8" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "py...
alabaster==0.7.13 Babel==2.14.0 -e git+https://github.com/betamaxpy/betamax.git@316eb978a7e8d1c318a5ab8eb7230763c18b6c3b#egg=betamax betamax-matchers==0.4.0 betamax-serializers==0.2.1 bleach==6.0.0 certifi @ file:///croot/certifi_1671487769961/work/certifi charset-normalizer==3.4.1 docutils==0.19 exceptiongroup==1.2.2 ...
name: betamax 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 - li...
[ "tests/unit/test_cassette.py::TestInteraction::test_replace" ]
[]
[ "tests/unit/test_cassette.py::TestSerialization::test_add_urllib3_response", "tests/unit/test_cassette.py::TestSerialization::test_deserialize_prepared_request", "tests/unit/test_cassette.py::TestSerialization::test_deserialize_response_new", "tests/unit/test_cassette.py::TestSerialization::test_deserialize_r...
[]
Apache License 2.0
ESMValGroup__ESMValCore-2626
04e0cbd85db9440c5911ffbf33e3222e0d8ad12b
2024-12-20T16:13:31
c3a2b6ce6c2f60585581c52c692144ccce71879c
diff --git a/doc/quickstart/configure.rst b/doc/quickstart/configure.rst index 5fee34db5..a85e85e53 100644 --- a/doc/quickstart/configure.rst +++ b/doc/quickstart/configure.rst @@ -178,7 +178,7 @@ For example, Python's ``None`` is YAML's ``null``, Python's ``True`` is YAML's | | :ref:`run...
`max_parallel_tasks` and Dask Issue reported by @schlunma > Since https://github.com/ESMValGroup/ESMValCore/pull/2522, `recipe_schlund20esd.yml` hangs indefinitely after a while when using the default threaded scheduler and `--max-parallel-tasks=16`. Another example is an ICON recipe that evaluates 3D data, which n...
ESMValGroup/ESMValCore
diff --git a/tests/unit/task/test_taskset.py b/tests/unit/task/test_taskset.py new file mode 100644 index 000000000..a244b7243 --- /dev/null +++ b/tests/unit/task/test_taskset.py @@ -0,0 +1,57 @@ +import dask +import pytest + +from esmvalcore import _task +from esmvalcore.preprocessor import PreprocessingTask + + +@pyt...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 2 }
2.11
{ "env_vars": null, "env_yml_path": [ "environment.yml" ], "install": "pip install -e .[develop]", "log_parser": "parse_log_pytest", "no_use_env": true, "packages": "environment.yml", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.9", "reqs_path": null, "test_cmd": "py...
accessible-pygments @ file:///home/conda/feedstock_root/build_artifacts/accessible-pygments_1734956106558/work alabaster @ file:///home/conda/feedstock_root/build_artifacts/alabaster_1733750398730/work astroid @ file:///home/conda/feedstock_root/build_artifacts/astroid_1741614557489/work asttokens @ file:///home/conda/...
name: ESMValCore 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 - accessible-pygments=0.0.5=pyhd8ed1ab_1 - adwaita-icon-theme=48.0=unix_0 - alabaster=1.0.0=pyhd8ed1ab_1 - aom...
[ "tests/unit/task/test_taskset.py::test_taskset_get_dask_config[8-128-100-distributed-None]", "tests/unit/task/test_taskset.py::test_taskset_get_dask_config[8-128-0-threads-None]", "tests/unit/task/test_taskset.py::test_taskset_get_dask_config[8-128-100-threads-16]", "tests/unit/task/test_taskset.py::test_task...
[]
[]
[]
Apache License 2.0
lightkurve__lightkurve-996
08c3b1951e1ba52bcb15a7d4291ec469be9f16c8
2021-03-12T20:37:26
7757bfec85571ad472350cf6c7d340f16f57854f
diff --git a/CHANGES.rst b/CHANGES.rst index 06979104..a6d14ec7 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -4,6 +4,10 @@ - Modified ``LightCurve.bin()`` to partially restore the ``bins`` parameter which was available in Lightkurve v1.x, to improve backwards compatibility. [#995] +- Modified ``LightCurveCollect...
ValueError: unmergeable object classes <!-- Fill in the information below before opening an issue. --> #### Problem description Hi! I'm new to lightkurve. I was running this piece of code (below) and I haven't been able to work out the ValueError. I can't find similar errors within the documentation either. An...
lightkurve/lightkurve
diff --git a/tests/test_collections.py b/tests/test_collections.py index 3b998958..3654745d 100644 --- a/tests/test_collections.py +++ b/tests/test_collections.py @@ -1,6 +1,7 @@ import warnings import pytest +from astropy import units as u from astropy.utils.data import get_pkg_data_filename import matplotlib.py...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_modified_files", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 2 }
2.0
{ "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", "pytest-cov", "pytest-xdist", "pytest-remotedata", "pytest-doctestplus" ], "pre_install": null, "p...
astropy==6.0.1 astropy-iers-data==0.2025.3.31.0.36.18 astroquery==0.4.10 asttokens==3.0.0 autograd==1.7.0 backports.tarfile==1.2.0 beautifulsoup4==4.13.3 bokeh==3.4.3 certifi==2025.1.31 cffi==1.17.1 charset-normalizer==3.4.1 contourpy==1.3.0 coverage==7.8.0 cryptography==44.0.2 cycler==0.12.1 decorator==5.2.1 exception...
name: lightkurve 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_collections.py::test_unmergeable_columns" ]
[]
[ "tests/test_collections.py::test_collection_init", "tests/test_collections.py::test_collection_append", "tests/test_collections.py::test_collection_stitch", "tests/test_collections.py::test_collection_getitem", "tests/test_collections.py::test_collection_getitem_by_boolean_array", "tests/test_collections....
[]
MIT License
sunpy__sunpy-4724
94b31a412fe9486db1a448e4e2e99a77d57ec2ae
2020-12-11T03:45:50
aa6d3c0f0fe9d6ef09d1a1f23c8b839dbcabbb09
kakirastern: @rickyegeland kakirastern: Agreeing with @Cadair here
diff --git a/changelog/4724.bugfix.rst b/changelog/4724.bugfix.rst new file mode 100644 index 000000000..bbe856857 --- /dev/null +++ b/changelog/4724.bugfix.rst @@ -0,0 +1,2 @@ +Added a warning when a 2D `~sunpy.coordinates.frames.Helioprojective` coordinate is upgraded to a 3D coordinate and the number type is lower p...
Erroneous structures found in Helioprojective to HeliocentricStonyhurst coordinate transformations when using arrays <!-- We know asking good questions takes effort, and we appreciate your time. Thank you. Please be aware that everyone has to follow our code of conduct: https://github.com/sunpy/sunpy/blob/master/...
sunpy/sunpy
diff --git a/sunpy/coordinates/tests/test_frames.py b/sunpy/coordinates/tests/test_frames.py index 3306757dd..329e677dd 100644 --- a/sunpy/coordinates/tests/test_frames.py +++ b/sunpy/coordinates/tests/test_frames.py @@ -14,6 +14,7 @@ from astropy.coordinates import ( from astropy.tests.helper import assert_quantity_a...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_hyperlinks", "has_media", "has_added_files", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 1 }
2.0
{ "env_vars": null, "env_yml_path": [ "binder/environment.yml" ], "install": "pip install -e .[all]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "environment.yml", "pip_packages": [ "pytest", "pytest-astropy", "pytest-cov", "pytest-mock", "hypothesis" ], ...
accessible-pygments==0.0.5 aiofiles @ file:///home/conda/feedstock_root/build_artifacts/aiofiles_1733829030387/work aioftp @ file:///home/conda/feedstock_root/build_artifacts/aioftp_1734449616103/work aiohappyeyeballs @ file:///home/conda/feedstock_root/build_artifacts/aiohappyeyeballs_1741775197943/work aiohttp @ file...
name: sunpy channels: - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=conda_forge - _openmp_mutex=4.5=2_gnu - aiofiles=24.1.0=pyhd8ed1ab_1 - aioftp=0.24.1=pyhd8ed1ab_1 - aiohappyeyeballs=2.6.1=pyhd8ed1ab_0 - aiohttp=3.11.14=py39h...
[ "sunpy/coordinates/tests/test_frames.py::test_hpc_low_precision_float_warning" ]
[]
[ "sunpy/coordinates/tests/test_frames.py::test_create_hpc_2d[args0-None]", "sunpy/coordinates/tests/test_frames.py::test_create_hpc_2d[args1-kwargs1]", "sunpy/coordinates/tests/test_frames.py::test_create_hpc_2d[args2-None]", "sunpy/coordinates/tests/test_frames.py::test_create_hpc_2d[args3-kwargs3]", "sunpy...
[]
BSD 2-Clause "Simplified" License
facelessuser__wcmatch-206
223f9caba2a4d9ce6b796d890693773e9c5d4080
2023-08-30T19:56:56
223f9caba2a4d9ce6b796d890693773e9c5d4080
facelessuser: @gir-bot lgtm
diff --git a/docs/src/markdown/about/changelog.md b/docs/src/markdown/about/changelog.md index 5ac87ee..75a29ab 100644 --- a/docs/src/markdown/about/changelog.md +++ b/docs/src/markdown/about/changelog.md @@ -1,5 +1,9 @@ # Changelog +## 8.5.1 + +- **FIX**: Fix handling of current directory when magic and non-magic p...
Order of magic and non-magic patterns breaks the glob result Using mixed magic and non-magic patterns like ```python # this_script.py from wcmatch.glob import glob patterns = ["**/this_script.py", "dummy"] print( glob(patterns), glob(patterns[::-1]) ) ``` I expect both results to contain the "this...
facelessuser/wcmatch
diff --git a/tests/test_glob.py b/tests/test_glob.py index 57331f2..81c0918 100644 --- a/tests/test_glob.py +++ b/tests/test_glob.py @@ -1000,6 +1000,18 @@ class Testglob(_TestGlob): for file in glob.glob(b'!**/', flags=glob.N | glob.NEGATEALL | glob.G, root_dir=os.fsencode(self.tempdir)): self.as...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 4 }
8.4
{ "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/setup.txt", "requirements...
bracex==2.5.post1 coverage==7.8.0 exceptiongroup==1.2.2 iniconfig==2.1.0 mypy==1.15.0 mypy-extensions==1.0.0 packaging==24.2 pluggy==1.5.0 pytest==8.3.5 pytest-cov==6.0.0 tomli==2.2.1 typing_extensions==4.13.0 -e git+https://github.com/facelessuser/wcmatch.git@223f9caba2a4d9ce6b796d890693773e9c5d4080#egg=wcmatch
name: wcmatch 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_glob.py::Testglob::test_non_magic_magic", "tests/test_glob.py::TestGlobMarked::test_non_magic_magic", "tests/test_glob.py::TestGlobCornerCaseMarked::test_non_magic_magic" ]
[]
[ "tests/test_glob.py::Testglob::test_glob_cases[case0]", "tests/test_glob.py::Testglob::test_glob_cases[case1]", "tests/test_glob.py::Testglob::test_glob_cases[case2]", "tests/test_glob.py::Testglob::test_glob_cases[case3]", "tests/test_glob.py::Testglob::test_glob_cases[case5]", "tests/test_glob.py::Testg...
[]
MIT License
kedro-org__kedro-3314
e9fbe441632c6fce291965b957a44e4434d81c90
2023-11-15T16:16:21
bc34fd3012fe91f02cc688146cb053515f49147e
diff --git a/RELEASE.md b/RELEASE.md index 00339282..0b67ad73 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -12,6 +12,7 @@ ## Bug fixes and other changes * Added a new field `add-ons` to `pyproject.toml` when a project is created. * Reduced `spaceflights` data to minimise waiting times during tutorial execution. +* Ad...
Add validation to node tags ## Description Currently we do not validate or restrict the format of tags that can be added to nodes. This is inconsistent with other user-defined values. As part of #2014 it was agreed that tags should be subject to the same constraints as node names (see: https://github.com/kedro-org/ked...
kedro-org/kedro
diff --git a/tests/pipeline/test_node.py b/tests/pipeline/test_node.py index ed5177c9..ae68dff8 100644 --- a/tests/pipeline/test_node.py +++ b/tests/pipeline/test_node.py @@ -369,6 +369,15 @@ class TestTag: assert "hello" in tagged_node.tags assert "world" in tagged_node.tags + @pytest.mark.param...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_issue_reference", "has_many_modified_files", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 2 }
0.18
{ "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": null, "p...
antlr4-python3-runtime==4.9.3 arrow==1.3.0 attrs==25.3.0 binaryornot==0.4.4 build==1.2.2.post1 cachetools==5.5.2 certifi==2025.1.31 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 cookiecutter==2.6.0 coverage==7.8.0 dynaconf==3.2.10 exceptiongroup==1.2.2 execnet==2.1.1 fsspec==2025.3.1 gitdb==4.0.12 GitPython==3....
name: kedro 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/pipeline/test_node.py::TestTag::test_invalid_tag[tag,with,comma]", "tests/pipeline/test_node.py::TestTag::test_invalid_tag[tag" ]
[]
[ "tests/pipeline/test_node.py::TestValidNode::test_valid", "tests/pipeline/test_node.py::TestValidNode::test_get_node_func", "tests/pipeline/test_node.py::TestValidNode::test_set_node_func", "tests/pipeline/test_node.py::TestValidNode::test_labelled", "tests/pipeline/test_node.py::TestValidNode::test_call", ...
[]
Apache License 2.0
facelessuser__soupsieve-234
dad06a5dbc60c21fcb2c057700d2f6b4497a8bb2
2021-11-10T22:05:05
7f73fc6463c6b1ad54696bff78aafd4927e16c39
facelessuser: @gir-bot lgtm
diff --git a/docs/src/markdown/about/changelog.md b/docs/src/markdown/about/changelog.md index d5f603b..5baba14 100644 --- a/docs/src/markdown/about/changelog.md +++ b/docs/src/markdown/about/changelog.md @@ -1,5 +1,9 @@ # Changelog +## 2.3.1 + +- **FIX**: Ensure attribute selectors match tags that have new lines ch...
Attribute selectors vs \n in values Hi! Thanks for the powerful library. I use it via BeautifulSoup, and I find out this behavior: ```python from bs4 import BeautifulSoup soup = BeautifulSoup("<p><span title='foo bar'>foo1</span><span title='foo\nbar'>foo1</span></p>", 'html.parser') print(*soup.select('span[...
facelessuser/soupsieve
diff --git a/tests/test_level3/test_attribute.py b/tests/test_level3/test_attribute.py index 6075e69..dc78eff 100644 --- a/tests/test_level3/test_attribute.py +++ b/tests/test_level3/test_attribute.py @@ -60,3 +60,53 @@ class TestAttribute(util.TestCase): ["0", "3", "pre"], flags=util.HTML ...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_modified_files" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 3 }
2.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": [ "pytest", "pytest-cov", "coverage", "lxml", "html5lib", "mypy" ], "pre_install": [ "apt-get updat...
beautifulsoup4==4.13.3 coverage==7.8.0 exceptiongroup==1.2.2 html5lib==1.1 iniconfig==2.1.0 lxml==5.3.1 mypy==1.15.0 mypy-extensions==1.0.0 packaging==24.2 pluggy==1.5.0 pytest==8.3.5 pytest-cov==6.0.0 six==1.17.0 -e git+https://github.com/facelessuser/soupsieve.git@dad06a5dbc60c21fcb2c057700d2f6b4497a8bb2#egg=soupsiev...
name: soupsieve 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/test_level3/test_attribute.py::TestAttribute::test_attribute_contains_with_newlines", "tests/test_level3/test_attribute.py::TestAttribute::test_attribute_dash_list_with_newlines", "tests/test_level3/test_attribute.py::TestAttribute::test_attribute_ends_with_newlines", "tests/test_level3/test_attribute....
[]
[ "tests/test_level3/test_attribute.py::TestAttribute::test_attribute_begins", "tests/test_level3/test_attribute.py::TestAttribute::test_attribute_contains", "tests/test_level3/test_attribute.py::TestAttribute::test_attribute_end", "tests/test_level3/test_attribute.py::TestAttribute::test_attribute_starts_with_...
[]
MIT License
timvink__mkdocs-git-revision-date-localized-plugin-45
baa45cebb5342aa575ec52436c4cc58edbab7fd4
2020-12-01T15:32:29
baa45cebb5342aa575ec52436c4cc58edbab7fd4
diff --git a/.flake8 b/.flake8 new file mode 100644 index 0000000..6fef944 --- /dev/null +++ b/.flake8 @@ -0,0 +1,2 @@ +[flake8] +ignore = E501,E722 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 26084c1..50841d6 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -11,9 +11,12 @@ Thanks for considering to contr...
Support disabling on certain pages This would be nice as a front matter attribute or just an HTML comment, so that in cases such as a homepage, you aren't forced to have it.
timvink/mkdocs-git-revision-date-localized-plugin
diff --git a/tests/test_builds.py b/tests/test_builds.py index 8f69e48..68c29ed 100644 --- a/tests/test_builds.py +++ b/tests/test_builds.py @@ -1,5 +1,5 @@ """ -Tests running builds on different fresh mkdocs projects +Tests running builds on different fresh mkdocs projects. Note that pytest offers a `tmp_path` fix...
{ "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, "num_modified_files": 8 }
0.7
{ "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", "pytest-cov" ], "pre_install": [ "pip install -r tests/test_requirements.txt" ], "python": "3.9", "reqs_pat...
babel==2.17.0 backrefs==5.8 certifi==2025.1.31 charset-normalizer==3.4.1 click==8.1.8 codecov==2.1.13 colorama==0.4.6 coverage==7.8.0 exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work ghp-import==2.1.0 gitdb==4.0.12 GitPython==3.1.44 idna==3.10 importlib_metadata==8.6.1 iniconfig @ file:///home/linux1/re...
name: mkdocs-git-revision-date-localized-plugin 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 - in...
[ "tests/test_builds.py::test_low_fetch_depth" ]
[ "tests/test_builds.py::test_build_material_theme", "tests/test_builds.py::test_material_theme_locale", "tests/test_builds.py::test_material_theme_no_locale" ]
[ "tests/test_builds.py::test_date_formats", "tests/test_builds.py::test_git_not_available", "tests/test_builds.py::test_build_no_options", "tests/test_builds.py::test_build_locale_plugin", "tests/test_builds.py::test_build_locale_mkdocs", "tests/test_builds.py::test_build_material_theme_timeago", "tests/...
[]
MIT License
jpadilla__pyjwt-886
12420204cfef8fea7644532b9ca82c0cc5ca3abe
2023-04-28T23:01:35
12420204cfef8fea7644532b9ca82c0cc5ca3abe
luhn: Can I get feedback from a maintainer on whether or not these proposed changes would be accepted once properly documented and tested? @Viicos? @jpadilla? Viicos: I like the idea, I'm not an official maintainer so I'll let @jpadilla or @auvipy decide here :) luhn: Ready for review 👍 auvipy: restarted the CI, le...
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b6a538a..aa29add 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -54,9 +54,11 @@ jobs: - name: "Upload coverage to Codecov" if: "contains(env.USING_COVERAGE, matrix.python-version) && matrix.platform...
Should `jwt.decode` accept `PyJWK` keys? First of all, thanks for `pyjwt`! I'm implementing the consumer side of an OIDC flow, with the verification keys being retrieved periodically from the OIDC provider's JSON Web Key (JWK) set. I then turn each JWK's contents into this library's `PyJWK` type. ## Expected Resu...
jpadilla/pyjwt
diff --git a/tests/test_api_jwk.py b/tests/test_api_jwk.py index 4754db6..326e012 100644 --- a/tests/test_api_jwk.py +++ b/tests/test_api_jwk.py @@ -65,6 +65,7 @@ class TestPyJWK: assert jwk.key_type == "RSA" assert isinstance(jwk.Algorithm, RSAAlgorithm) assert jwk.Algorithm.hash_alg == RSAA...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 12 }
2.8
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[crypto]", "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 --...
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_jwk.py::TestPyJWK::test_should_load_key_without_alg_from_dict", "tests/test_api_jwk.py::TestPyJWK::test_should_load_key_from_dict_with_algorithm", "tests/test_api_jwk.py::TestPyJWK::test_should_load_key_ec_p256_from_dict", "tests/test_api_jwk.py::TestPyJWK::test_should_load_key_ec_p384_from_di...
[]
[ "tests/test_api_jwk.py::TestPyJWK::test_should_load_key_from_jwk_data_dict", "tests/test_api_jwk.py::TestPyJWK::test_should_load_key_from_jwk_data_json_string", "tests/test_api_jwk.py::TestPyJWK::test_from_dict_should_throw_exception_if_arg_is_invalid", "tests/test_api_jwk.py::TestPyJWKSet::test_should_load_k...
[]
MIT License
Textualize__textual-3863
a85edb77f4cd7fd23b618e24119495c1de812963
2023-12-13T14:10:51
2dd6e923655c96c0f45fa47992cc9f1bc8b1b883
diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 882da2b35..02e367aa4 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -17,7 +17,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] - ...
Update dependancies to support Python 3.12 With Python 3.12: ```console pip install textual ``` Fails with: ``` ERROR: Could not find a version that satisfies the requirement tree_sitter_languages>=1.7.0; python_version >= "3.8" and python_version < "4.0" (from textual) (from versions: none) ERROR: No matching d...
Textualize/textual
diff --git a/tests/snapshot_tests/test_snapshots.py b/tests/snapshot_tests/test_snapshots.py index be8a4b4e8..66cbe6a53 100644 --- a/tests/snapshot_tests/test_snapshots.py +++ b/tests/snapshot_tests/test_snapshots.py @@ -795,6 +795,7 @@ def test_nested_fr(snap_compare) -> None: assert snap_compare(SNAPSHOT_APPS_DI...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_added_files", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 4 }
0.45
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "textual textual-dev", "pip_packages": [ "pytest", "pytest-cov", "pytest-mock", "pytest-asyncio", "mypy", "black", "mkdocs", "mkdo...
aiohappyeyeballs @ file:///croot/aiohappyeyeballs_1734469393482/work aiohttp @ file:///croot/aiohttp_1734687138658/work aiohttp-jinja2 @ file:///croot/aiohttp-jinja2_1725461298468/work aiosignal @ file:///tmp/build/80754af9/aiosignal_1637843061372/work async-timeout @ file:///croot/async-timeout_1732661977001/work attr...
name: textual 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 - aiohappyeyeballs=2.4.4=py39h06a4308_0 - aiohttp=3.11.10=py39h5eee18b_0 - aiohttp-jinja2=1.6=py39h06a4308_0 - ai...
[ "tests/text_area/test_languages.py::test_setting_builtin_language_via_constructor", "tests/text_area/test_languages.py::test_setting_builtin_language_via_attribute", "tests/text_area/test_languages.py::test_setting_language_to_none", "tests/text_area/test_languages.py::test_setting_unknown_language" ]
[ "tests/text_area/test_languages.py::test_register_language", "tests/text_area/test_languages.py::test_register_language_existing_language" ]
[]
[]
MIT License
nosarthur__gita-241
619926e68c769133bdc5b5bae7c0aa65782a4c50
2023-05-19T04:49:01
6ce017406a004f4673dc10796346c8e14455992c
diff --git a/gita/__init__.py b/gita/__init__.py index eeb79a3..33c0f41 100644 --- a/gita/__init__.py +++ b/gita/__init__.py @@ -1,3 +1,3 @@ import pkg_resources -__version__ = pkg_resources.get_distribution('gita').version +__version__ = pkg_resources.get_distribution("gita").version diff --git a/gita/common.py b/g...
problem displaying repo status properly Hello, I have an odd problem displaying repo status properly. I run "gita ll" several times after each other. each run status is reported randomly for different repositories, that is, the status color changes from green to white, to back again. This of course makes the ...
nosarthur/gita
diff --git a/tests/conftest.py b/tests/conftest.py index b3e59ed..5236a90 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -8,10 +8,11 @@ def fullpath(fname: str): return str(TEST_DIR / fname) -PATH_FNAME = fullpath('mock_path_file') -PATH_FNAME_EMPTY = fullpath('empty_path_file') -PATH_FNAME_CLASH = ...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 5 }
0.16
{ "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 --...
backports.tarfile==1.2.0 certifi==2025.1.31 cffi==1.17.1 charset-normalizer==3.4.1 coverage==7.8.0 cryptography==44.0.2 docutils==0.21.2 exceptiongroup==1.2.2 execnet==2.1.1 -e git+https://github.com/nosarthur/gita.git@619926e68c769133bdc5b5bae7c0aa65782a4c50#egg=gita id==1.5.0 idna==3.10 importlib_metadata==8.6.1 inic...
name: gita 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_info.py::test_run_quiet_diff", "tests/test_utils.py::test_describe[test_input0-True-abc", "tests/test_utils.py::test_describe[test_input1-True-abc", "tests/test_utils.py::test_describe[test_input2-False-repo" ]
[]
[ "tests/test_main.py::test_group_name", "tests/test_main.py::TestAdd::test_add[input0-]", "tests/test_main.py::test_flags[/gita/tests/mock_path_file-]", "tests/test_main.py::test_flags[/gita/tests/clash_path_file-repo2:", "tests/test_main.py::TestLsLl::test_ll", "tests/test_main.py::TestLsLl::test_ls", "...
[]
MIT License
ejulio__spider-feeder-18
33b16cc74b46b119cf3fd483c789dad70f3a9102
2019-09-04T12:29:53
aaf30fb13fe1e7b22ee94e350748cd69a0cb7d5b
diff --git a/CHANGES.md b/CHANGES.md index c610c2f..ed13d9e 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -11,6 +11,12 @@ Whenever possible, link the given PR with the feature/fix. [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## Development + ...
Add a setting for input format Currently the input format is inferred from the URI extension. However, it may fail in cases of URLs or files without extension. Add a new setting, `SPIDERFEEDER_INPUT_FORMAT`? that sets the file format. If it is not set, the it falls back to the file extension
ejulio/spider-feeder
diff --git a/tests/store/test_file_store.py b/tests/store/test_file_store.py index a255af3..913f215 100644 --- a/tests/store/test_file_store.py +++ b/tests/store/test_file_store.py @@ -98,6 +98,54 @@ def test_load_json_file(mocker, uri_scheme, file_opener): ] +@pytest.mark.parametrize('uri_scheme, file_opener'...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 3 }
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", "pytest-django", "pytest-cov", "pytest-localserver", "pytest-mock", "pytest-benchmark", ...
asynctest==0.13.0 atomicwrites==1.4.1 attrs==25.3.0 Automat==24.8.1 certifi==2025.1.31 cffi==1.17.1 charset-normalizer==3.4.1 configparser==7.2.0 constantly==23.10.4 contextlib2==21.6.0 coverage==7.8.0 cryptography==44.0.2 cssselect==1.3.0 defusedxml==0.7.1 docutils==0.21.2 ecs-logging==2.2.0 exceptiongroup==1.2.2 file...
name: spider-feeder 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...
[ "tests/store/test_file_store.py::test_get_file_format_from_setting[file://-spider_feeder.store.file_handler.local.open]", "tests/store/test_file_store.py::test_get_file_format_from_setting[-spider_feeder.store.file_handler.local.open]", "tests/store/test_file_store.py::test_get_file_format_setting_is_preferred_...
[ "tests/store/test_file_store.py::test_load_txt_file[s3://-spider_feeder.store.file_handler.s3.open]", "tests/store/test_file_store.py::test_load_csv_file[s3://-spider_feeder.store.file_handler.s3.open]", "tests/store/test_file_store.py::test_load_json_file[s3://-spider_feeder.store.file_handler.s3.open]", "te...
[ "tests/store/test_file_store.py::test_load_txt_file[file://-spider_feeder.store.file_handler.local.open]", "tests/store/test_file_store.py::test_load_txt_file[-spider_feeder.store.file_handler.local.open]", "tests/store/test_file_store.py::test_load_csv_file[file://-spider_feeder.store.file_handler.local.open]"...
[]
MIT License
oasis-open__cti-python-stix2-328
0af1f442c0cb6e30132174b5b657a6a35ef78a08
2020-01-28T18:27:14
bbf0f81d5f16f6f6375be48f6b2c7bc451d4440f
diff --git a/stix2/markings/utils.py b/stix2/markings/utils.py index b1c103b..41516cc 100644 --- a/stix2/markings/utils.py +++ b/stix2/markings/utils.py @@ -271,8 +271,8 @@ def check_tlp_marking(marking_obj, spec_version): else: w = ( '{"created": "2017-01-20T00:00:00....
`name` field missing from MarkingDefinition object Super quick one: MarkingDefinition object should have an optional `name` field as per the current spec. Believe it needs adding to `common.py`.
oasis-open/cti-python-stix2
diff --git a/stix2/test/v21/test_marking_definition.py b/stix2/test/v21/test_marking_definition.py index c497e99..232bdf2 100644 --- a/stix2/test/v21/test_marking_definition.py +++ b/stix2/test/v21/test_marking_definition.py @@ -12,6 +12,7 @@ def test_bad_id_marking_tlp_white(): MarkingDefinition( ...
{ "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, "num_modified_files": 2 }
1.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", "pytest-cov", "pytest-xdist", "pytest-mock", "pytest-asyncio" ], "pre_install": [ "apt...
alabaster==0.7.13 antlr4-python3-runtime==4.9.3 attrs==24.2.0 Babel==2.14.0 backcall==0.2.0 beautifulsoup4==4.13.3 bleach==6.0.0 bump2version==1.0.1 bumpversion==0.6.0 cachetools==5.5.2 certifi @ file:///croot/certifi_1671487769961/work/certifi cfgv==3.3.1 chardet==5.2.0 charset-normalizer==3.4.1 colorama==0.4.6 covera...
name: cti-python-stix2 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...
[ "stix2/test/v21/test_marking_definition.py::test_bad_id_marking_tlp_white", "stix2/test/v21/test_marking_definition.py::test_bad_id_marking_tlp_green", "stix2/test/v21/test_marking_definition.py::test_bad_id_marking_tlp_amber", "stix2/test/v21/test_marking_definition.py::test_bad_id_marking_tlp_red", "stix2...
[]
[ "stix2/test/v21/test_marking_definition.py::test_unknown_tlp_marking", "stix2/test/v21/test_markings.py::test_marking_def_example_with_statement_positional_argument", "stix2/test/v21/test_markings.py::test_marking_def_example_with_kwargs_statement", "stix2/test/v21/test_markings.py::test_marking_def_invalid_t...
[]
BSD 3-Clause "New" or "Revised" License
python-cmd2__cmd2-465
6ddb6842e5ac87fb5c433eb8d86df48f3e045da2
2018-07-11T02:54:33
60a212c1c585f0c4c06ffcfeb9882520af8dbf35
diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e22ee79..764d0061 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,7 @@ -## 0.9.3 (TBD, 2018) +## 0.9.3 (July TBD, 2018) +* Bug Fixes + * Fixed bug when StatementParser ``__init__()`` was called with ``terminators`` equal to ``None`` + * Fixed bug when ``Cmd....
onecmd should accept a raw string I have commands that I want to run without the hooks as strings, but trying to run `onecmd` directly fails because `command` and `args` to be in the namespace. This is inconsistent with the `cmd` standard library module.
python-cmd2/cmd2
diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py index 77dcc875..b973fdf5 100644 --- a/tests/test_cmd2.py +++ b/tests/test_cmd2.py @@ -1787,3 +1787,18 @@ def test_readline_remove_history_item(base_app): assert readline.get_current_history_length() == 1 readline.remove_history_item(0) assert readline....
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_modified_files" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 2 }
0.9
{ "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-mock", "tox", "pylint", "sphinx", "sphinx-rtd-theme", "sphin...
alabaster==0.7.16 anyio==4.9.0 astroid==3.3.9 babel==2.17.0 backports.tarfile==1.2.0 cachetools==5.5.2 certifi==2025.1.31 cffi==1.17.1 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 -e git+https://github.com/python-cmd2/cmd2.git@6ddb6842e5ac87fb5c433eb8d86df48f3e045da2#egg=cmd2 colorama==0.4.6 coverage==7.8.0 cr...
name: cmd2 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_cmd2.py::test_onecmd_raw_str_continue", "tests/test_cmd2.py::test_onecmd_raw_str_quit" ]
[ "tests/test_cmd2.py::test_base_invalid_option", "tests/test_cmd2.py::test_which_editor_good" ]
[ "tests/test_cmd2.py::test_ver", "tests/test_cmd2.py::test_empty_statement", "tests/test_cmd2.py::test_base_help", "tests/test_cmd2.py::test_base_help_verbose", "tests/test_cmd2.py::test_base_help_history", "tests/test_cmd2.py::test_base_argparse_help", "tests/test_cmd2.py::test_base_shortcuts", "tests...
[]
MIT License
tobymao__sqlglot-2576
f5899a1a0da096e012b7abd0627a372e4202a612
2023-11-18T22:11:16
f5899a1a0da096e012b7abd0627a372e4202a612
diff --git a/sqlglot/dialects/duckdb.py b/sqlglot/dialects/duckdb.py index bed638bd..ff3a72f8 100644 --- a/sqlglot/dialects/duckdb.py +++ b/sqlglot/dialects/duckdb.py @@ -117,7 +117,6 @@ class DuckDB(Dialect): class Tokenizer(tokens.Tokenizer): KEYWORDS = { **tokens.Tokenizer.KEYWORDS, - ...
sqlglot does not roundtrip assignment operator `:=` There is no way to roundrip `:=` through sqlglot. It's converted into `EQ`, vs `PropertyEQ`. **Fully reproducible code snippet** > Please include a fully reproducible code snippet or the input sql, dialect, and expected output. ```python In [28]: sqlglot.par...
tobymao/sqlglot
diff --git a/tests/dialects/test_mysql.py b/tests/dialects/test_mysql.py index 97eb65b0..2cbcb9dc 100644 --- a/tests/dialects/test_mysql.py +++ b/tests/dialects/test_mysql.py @@ -123,6 +123,7 @@ class TestMySQL(Validator): self.validate_identity("ALTER TABLE test_table ALTER COLUMN test_column SET DEFAULT 1") ...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 3 }
19.5
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pandas>=1.0.0 python-dateutil", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.9", "reqs_path": null, "test_cmd": "pytest --no-hea...
autoflake==2.3.1 black==25.1.0 Bottleneck @ file:///croot/bottleneck_1731058641041/work cfgv==3.4.0 click==8.1.8 distlib==0.3.9 duckdb==1.2.1 exceptiongroup==1.2.2 filelock==3.18.0 identify==2.6.9 iniconfig==2.1.0 isort==6.0.1 Jinja2==3.1.6 MarkupSafe==3.0.2 mypy==1.15.0 mypy-extensions==1.0.0 nodeenv==1.9.1 numexpr @ ...
name: sqlglot 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 - blas=1.0=openblas - bottleneck=1.4.2=py39ha9d4c09_0 - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2...
[ "tests/dialects/test_mysql.py::TestMySQL::test_identity" ]
[]
[ "tests/dialects/test_mysql.py::TestMySQL::test_bits_literal", "tests/dialects/test_mysql.py::TestMySQL::test_canonical_functions", "tests/dialects/test_mysql.py::TestMySQL::test_convert", "tests/dialects/test_mysql.py::TestMySQL::test_date_format", "tests/dialects/test_mysql.py::TestMySQL::test_ddl", "tes...
[]
MIT License
wesleybowman__UTide-96
5f15bcb7ba4c724a7e680866272a676d0785f50f
2021-03-10T20:59:56
8c97f5ea3df8e120906e3f87535386791fe7ebd8
diff --git a/utide/_solve.py b/utide/_solve.py index 675f3d5..20ed0e8 100644 --- a/utide/_solve.py +++ b/utide/_solve.py @@ -5,10 +5,9 @@ Central module for calculating the tidal amplitudes, phases, etc. import numpy as np from ._time_conversion import _normalize_time -from ._ut_constants import constit_index_dict ...
Trying to reorder constituents as in ‘OrderCnstit’ As @rsignell-usgs mentioned in a previous issue, we are trying to analyze the tides at each grid cell in a numerical model solution. We run utide for each grid point but the order of the constituents can be different for each grid point. In the Matlab code, there is t...
wesleybowman/UTide
diff --git a/tests/test_order_constit.py b/tests/test_order_constit.py new file mode 100644 index 0000000..8c87e45 --- /dev/null +++ b/tests/test_order_constit.py @@ -0,0 +1,77 @@ +import numpy as np +import pytest + +from utide import reconstruct, solve +from utide._ut_constants import constit_index_dict, ut_constants...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "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": [ "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 numpy==2.0.2 packaging==24.2 pluggy==1.5.0 pytest==8.3.5 pytest-cov==6.0.0 scipy==1.13.1 tomli==2.2.1 -e git+https://github.com/wesleybowman/UTide.git@5f15bcb7ba4c724a7e680866272a676d0785f50f#egg=UTide
name: UTide 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_order_constit.py::test_order[none]", "tests/test_order_constit.py::test_order[linear]", "tests/test_order_constit.py::test_order[MC]", "tests/test_order_constit.py::test_invalid_snr" ]
[]
[]
[]
MIT License
stfc__fparser-444
1259f8a3aa7067a1fb7f899ec06675b23fd3a882
2024-04-04T02:48:12
55db863c6ce4521ad1d0a02f3a8a942fb0a41b79
diff --git a/CHANGELOG.md b/CHANGELOG.md index dfb9145..5f24e1e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,9 @@ Modifications by (in alphabetical order): * P. Vitt, University of Siegen, Germany * A. Voysey, UK Met Office +24/04/2024 PR #444 for #443. Adds an option to the reader to handle code + ...
Supporting OpenMP Sentinels Some UM code contains declarations in OpenMP sentinels, e.g.: ``` !$ USE compute_chunk_size_mod, ONLY: compute_chunk_size ! Note OpenMP sentinel ``` Fparser skips these lines as comment lines, and as a result, FAB misses dependencies if compilation is done with OpenMP enabled. While ...
stfc/fparser
diff --git a/src/fparser/common/tests/test_readfortran.py b/src/fparser/common/tests/test_readfortran.py index 05d48bb..8cc4bae 100644 --- a/src/fparser/common/tests/test_readfortran.py +++ b/src/fparser/common/tests/test_readfortran.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- #########################################...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 3 }
0.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": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.9", "reqs_path...
exceptiongroup==1.2.2 -e git+https://github.com/stfc/fparser.git@1259f8a3aa7067a1fb7f899ec06675b23fd3a882#egg=fparser iniconfig==2.1.0 packaging==24.2 pluggy==1.5.0 pytest==8.3.5 setuptools-scm==8.2.0 tomli==2.2.1 typing_extensions==4.13.0
name: fparser 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...
[ "src/fparser/common/tests/test_readfortran.py::test_conditional_include_omp_conditional_liness_fixed_format_single_line", "src/fparser/common/tests/test_readfortran.py::test_conditional_include_omp_conditional_liness_free_format_single_line", "src/fparser/common/tests/test_readfortran.py::test_conditional_inclu...
[]
[ "src/fparser/common/tests/test_readfortran.py::test_empty_line_err", "src/fparser/common/tests/test_readfortran.py::test_line_map", "src/fparser/common/tests/test_readfortran.py::test_fortranreaderbase_logging", "src/fparser/common/tests/test_readfortran.py::test_include_not_found", "src/fparser/common/test...
[]
BSD License
scrapy__scrapy-5917
b50c032ee9a75d1c9b42f1126637fdc655b141a8
2023-05-02T15:56:07
776cf5999079d05815d5cd123c495e1a960e0535
diff --git a/scrapy/http/response/text.py b/scrapy/http/response/text.py index 73bb811de..d580a7876 100644 --- a/scrapy/http/response/text.py +++ b/scrapy/http/response/text.py @@ -100,11 +100,13 @@ class TextResponse(Response): @memoizemethod_noargs def _headers_encoding(self): content_type = self.h...
Exception with non-UTF-8 Content-Type <!-- Thanks for taking an interest in Scrapy! If you have a question that starts with "How to...", please see the Scrapy Community page: https://scrapy.org/community/. The GitHub issue tracker's purpose is to deal with bug reports and feature requests for the project itself....
scrapy/scrapy
diff --git a/tests/test_http_response.py b/tests/test_http_response.py index dbc9f1fef..a05b702aa 100644 --- a/tests/test_http_response.py +++ b/tests/test_http_response.py @@ -448,6 +448,13 @@ class TextResponseTest(BaseResponseTest): body=codecs.BOM_UTF8 + b"\xc2\xa3", headers={"Content-type...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_modified_files", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 2 }
2.8
{ "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": [ "apt-get update", "apt-get install -y libxml2-dev libxslt-dev" ], "python": "3.9", ...
attrs==25.3.0 Automat==24.8.1 certifi==2025.1.31 cffi==1.17.1 charset-normalizer==3.4.1 constantly==23.10.4 cryptography==44.0.2 cssselect==1.3.0 exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work filelock==3.18.0 hyperlink==21.0.0 idna==3.10 incremental==24.7.2 iniconfig @ file:///home/linux1/recipes/ci/...
name: scrapy 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/test_http_response.py::TextResponseTest::test_encoding", "tests/test_http_response.py::HtmlResponseTest::test_encoding", "tests/test_http_response.py::XmlResponseTest::test_encoding", "tests/test_http_response.py::CustomResponseTest::test_encoding", "tests/test_responsetypes.py::ResponseTypesTest::te...
[]
[ "tests/test_http_response.py::BaseResponseTest::test_copy", "tests/test_http_response.py::BaseResponseTest::test_copy_cb_kwargs", "tests/test_http_response.py::BaseResponseTest::test_copy_inherited_classes", "tests/test_http_response.py::BaseResponseTest::test_copy_meta", "tests/test_http_response.py::BaseR...
[]
BSD 3-Clause "New" or "Revised" License
LKI__chinese-calendar-55
93cbba3b4d33a4a16bc09bf43a29f19926b2b4a0
2020-01-27T05:45:34
93cbba3b4d33a4a16bc09bf43a29f19926b2b4a0
diff --git a/chinese_calendar/constants.py b/chinese_calendar/constants.py index 5ec57ed..2bce1a7 100644 --- a/chinese_calendar/constants.py +++ b/chinese_calendar/constants.py @@ -441,6 +441,9 @@ holidays = { datetime.date(year=2020, month=1, day=28): Holiday.spring_festival.value, datetime.date(year=2020, m...
2020国务院新的节假日来了 http://www.gov.cn/zhengce/content/2020-01/27/content_5472352.htm
LKI/chinese-calendar
diff --git a/tests/test_holiday_amount.py b/tests/test_holiday_amount.py index 04dd7af..fa1a95b 100644 --- a/tests/test_holiday_amount.py +++ b/tests/test_holiday_amount.py @@ -21,6 +21,7 @@ class HolidayAmountTests(unittest.TestCase): holiday_amounts[2011] += 1 # 11年要补班12年的元旦假期 holiday_amounts[2012]...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_hyperlinks", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 2 }
1.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": null, "python": "3.6", "reqs_path": [ "requirements.txt" ], "test_cmd": "pyte...
attrs==22.2.0 certifi==2021.5.30 -e git+https://github.com/LKI/chinese-calendar.git@93cbba3b4d33a4a16bc09bf43a29f19926b2b4a0#egg=chinesecalendar 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 tomli==1.2.3 typing_extensions==4.1.1 zipp==3.6.0
name: chinese-calendar 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...
[ "tests/test_holiday_amount.py::HolidayAmountTests::test_holiday_amount" ]
[]
[]
[]
MIT License
omry__omegaconf-178
80ccd1cf2eb44307eaf67bcd704edb749235a81b
2020-03-24T23:24:59
cac0e1f9fe3f489711cc61808716dfcbc2c2a670
deepcode-ci-bot[bot]: <img src="https://www.deepcode.ai/icons/green_check.svg" width= "50px" align= "left"/> Congratulations :beers:. DeepCode [analyzed](https://www.deepcode.ai/app/gh/omry/omegaconf/80ccd1cf2eb44307eaf67bcd704edb749235a81b/omry/omegaconf/6d00c277896269ba0d40b95771a13059b0852526/_/%2F/code/?utm_source=...
diff --git a/news/174.bugfix b/news/174.bugfix new file mode 100644 index 0000000..f581b33 --- /dev/null +++ b/news/174.bugfix @@ -0,0 +1,1 @@ +Fix AttributeError when accessing config in struct-mode with get() while providing None as default diff --git a/omegaconf/basecontainer.py b/omegaconf/basecontainer.py index 83...
[bug] .get on ConfigNode with default None throws keyerror in struct mode Minimal example: ```python cfg = omegaconf.OmegaConf.create() omegaconf.OmegaConf.set_struct(cfg, True) a.get("d", None) ... AttributeError: Accessing unknown key in a struct : d ``` Version: `2.0.0rc15`
omry/omegaconf
diff --git a/tests/test_basic_ops_dict.py b/tests/test_basic_ops_dict.py index f8c7220..aa46b86 100644 --- a/tests/test_basic_ops_dict.py +++ b/tests/test_basic_ops_dict.py @@ -52,7 +52,7 @@ def test_getattr_dict() -> None: def test_mandatory_value() -> None: - c = OmegaConf.create(dict(a="???")) + c = Omega...
{ "commit_name": "merge_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, "num_modified_files": 2 }
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": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.9", "reqs_path": null, ...
exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work -e git+https://github.com/omry/omegaconf.git@80ccd1cf2eb44307eaf67bcd704edb749235a81b#egg=omegaconf packaging @ file:///croot/packaging_1734472117206/work pluggy @ file:///croot/plugg...
name: omegaconf 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_basic_ops_dict.py::test_get_with_default_from_struct_not_throwing[None]" ]
[]
[ "tests/test_basic_ops_dict.py::test_setattr_deep_value", "tests/test_basic_ops_dict.py::test_setattr_deep_from_empty", "tests/test_basic_ops_dict.py::test_setattr_deep_map", "tests/test_basic_ops_dict.py::test_getattr", "tests/test_basic_ops_dict.py::test_getattr_dict", "tests/test_basic_ops_dict.py::test...
[]
BSD 3-Clause "New" or "Revised" License
manuzhang__mkdocs-htmlproofer-plugin-41
49593db56e70148e48e04042d04d60075eda908c
2022-10-30T13:37:42
096e8f46256cebc7ba182bceac68aaae536f1920
manuzhang: @johnthagen please help review this PR.
diff --git a/htmlproofer/plugin.py b/htmlproofer/plugin.py index cb67b70..48c816e 100644 --- a/htmlproofer/plugin.py +++ b/htmlproofer/plugin.py @@ -87,7 +87,7 @@ class HtmlProoferPlugin(BasePlugin): @lru_cache(maxsize=1000) def get_external_url(self, url: str) -> int: try: - response = se...
Visual Studio Marketplace URLs cause an "invalid url" [404] error When the URL of a VS Code extension on the Visual Studio Marketplace is referenced in a document, the plugin causes mkdocs to fail with an "invalid url" [404] error. **To Reproduce** Create a document, **index.md**, with the following line of markdow...
manuzhang/mkdocs-htmlproofer-plugin
diff --git a/tests/integration/docs/page4.md b/tests/integration/docs/page4.md index a21dad1..31957da 100644 --- a/tests/integration/docs/page4.md +++ b/tests/integration/docs/page4.md @@ -1,1 +1,4 @@ ## Section One + + +[This site](https://marketplace.visualstudio.com/items?itemName=ms-python.python) doesn't work wit...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 1 }
0.10
{ "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" ], "test_cmd": "...
beautifulsoup4==4.13.3 certifi==2025.1.31 charset-normalizer==3.4.1 click==8.1.8 exceptiongroup==1.2.2 flake8==7.2.0 ghp-import==2.1.0 idna==3.10 importlib_metadata==8.6.1 iniconfig==2.1.0 isort==6.0.1 Jinja2==3.1.6 Markdown==3.7 MarkupSafe==3.0.2 mccabe==0.7.0 mergedeep==1.3.4 mkdocs==1.6.1 mkdocs-get-deps==0.2.0 -e g...
name: mkdocs-htmlproofer-plugin 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...
[ "tests/unit/test_plugin.py::test_on_post_page[False]", "tests/unit/test_plugin.py::test_on_post_page[True]", "tests/unit/test_plugin.py::test_get_url_status[True]" ]
[ "tests/unit/test_plugin.py::test_get_url_status__local_page", "tests/unit/test_plugin.py::test_get_url_status__local_page_nested" ]
[ "tests/unit/test_plugin.py::test_on_post_page__plugin_disabled", "tests/unit/test_plugin.py::test_get_url_status__ignore_local_servers[http://localhost/]", "tests/unit/test_plugin.py::test_get_url_status__ignore_local_servers[https://127.0.0.1/something]", "tests/unit/test_plugin.py::test_get_url_status__igno...
[]
MIT License
serge-sans-paille__beniget-97
eba925aa82d51cbd3f6d13c878d78db4a34194c8
2024-05-09T08:52:06
91ea93274cf24eea0a3dae56f2af9277cceceed1
diff --git a/beniget/beniget.py b/beniget/beniget.py index 9926bf2..ebd8e72 100644 --- a/beniget/beniget.py +++ b/beniget/beniget.py @@ -379,7 +379,7 @@ class DefUseChains(ast.NodeVisitor): def invalid_name_lookup(self, name, scope, precomputed_locals, local_defs): # We may hit the situation where we re...
Bug in nonlocal ``` def f(): nonlocal f f = 2 return f f() ``` This code does not generate any warnings, while failing with `SyntaxError: no binding for nonlocal 'f' found`.
serge-sans-paille/beniget
diff --git a/tests/test_chains.py b/tests/test_chains.py index 4f09d63..e03cd6d 100644 --- a/tests/test_chains.py +++ b/tests/test_chains.py @@ -523,6 +523,15 @@ def outer(): code = "def A():\n x = 1\n class B: nonlocal x; x = x" self.check_message(code, []) + def test_unbound_local_identifier_no...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 1 }
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" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.9", "reqs_path": [ ...
-e git+https://github.com/serge-sans-paille/beniget.git@eba925aa82d51cbd3f6d13c878d78db4a34194c8#egg=beniget exceptiongroup==1.2.2 gast==0.5.5 iniconfig==2.1.0 packaging==24.2 pluggy==1.5.0 pytest==8.3.5 tomli==2.2.1
name: beniget 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_chains.py::TestDefUseChains::test_unbound_local_identifier_nonlocal_points_to_global", "tests/test_chains.py::TestDefUseChains::test_unbound_local_identifier_nonlocal_points_to_scoped_global" ]
[]
[ "tests/test_chains.py::TestDefUseChains::test_annotation_def_is_not_assign_target", "tests/test_chains.py::TestDefUseChains::test_annotation_in_functions_locals", "tests/test_chains.py::TestDefUseChains::test_annotation_in_inner_functions_locals", "tests/test_chains.py::TestDefUseChains::test_annotation_inner...
[]
BSD 3-Clause "New" or "Revised" License
asmeurer__removestar-41
3692c33e7d54900669891bbaea714dfbcf751478
2023-09-04T19:53:55
3692c33e7d54900669891bbaea714dfbcf751478
diff --git a/removestar/__main__.py b/removestar/__main__.py index c5ae9dc..a724953 100755 --- a/removestar/__main__.py +++ b/removestar/__main__.py @@ -21,6 +21,7 @@ import sys from . import __version__ from .helper import get_diff_text +from .output import get_colored_diff, red from .removestar import fix_code ...
Coloured output The output right now is bland, but most of the pr-commit tools offer [rich](https://github.com/Textualize/rich) output for ease of reading.
asmeurer/removestar
diff --git a/tests/test_removestar.py b/tests/test_removestar.py index 9c24839..a944ad3 100644 --- a/tests/test_removestar.py +++ b/tests/test_removestar.py @@ -7,6 +7,7 @@ from pathlib import Path import pytest from pyflakes.checker import Checker +from removestar.output import get_colored_diff, green, red, yellow...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_hyperlinks", "has_added_files", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 2 }
1.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", "pytest-cov", "pytest-doctestplus" ], "pre_install": null, "python": "3.9", "reqs_path": [ ...
coverage==7.8.0 exceptiongroup==1.2.2 iniconfig==2.1.0 packaging==24.2 pluggy==1.5.0 pyflakes==3.3.2 pytest==8.3.5 pytest-cov==6.0.0 pytest-doctestplus==1.4.0 -e git+https://github.com/asmeurer/removestar.git@3692c33e7d54900669891bbaea714dfbcf751478#egg=removestar tomli==2.2.1
name: removestar 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-n...
[ "tests/test_removestar.py::test_names_to_replace", "tests/test_removestar.py::test_star_imports", "tests/test_removestar.py::test_get_names", "tests/test_removestar.py::test_get_names_from_dir[True]", "tests/test_removestar.py::test_get_names_from_dir[False]", "tests/test_removestar.py::test_get_names_dyn...
[]
[]
[]
MIT License
python-pillow__Pillow-5139
b48cfa747cecd02ee4d76d12f7bbf64e186982af
2020-12-27T04:49:50
41462d8c555585d12155257e18f8f328d01318bb
diff --git a/src/PIL/Image.py b/src/PIL/Image.py index ae2559d11..e9d4e4f29 100644 --- a/src/PIL/Image.py +++ b/src/PIL/Image.py @@ -670,7 +670,10 @@ class Image: :returns: png version of the image as bytes """ b = io.BytesIO() - self.save(b, "PNG") + try: + self.save...
Unclear error when displaying images from arrays of float dtype in notebook Floating point images from numpy arrays via the `PIL.Image.fromarray()` raise an unclear error when accidentally returned in jupyter notebook as the final line in a cell. This triggers `IPython.display.display()` on the image object, which in t...
python-pillow/Pillow
diff --git a/Tests/test_file_png.py b/Tests/test_file_png.py index 80305c7b4..9028aaf23 100644 --- a/Tests/test_file_png.py +++ b/Tests/test_file_png.py @@ -537,6 +537,12 @@ class TestFilePng: assert repr_png.format == "PNG" assert_image_equal(im, repr_png) + def test_repr_png_error(self)...
{ "commit_name": "head_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "num_modified_files": 1 }
8.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": null, "pre_install": [ "apt-get update", "apt-get install -y gcc libjpeg-dev zlib1g-dev libtiff5-dev libfreetype6-de...
alabaster==0.7.16 babel==2.17.0 black==25.1.0 build==1.2.2.post1 certifi==2025.1.31 charset-normalizer==3.4.1 check-manifest==0.50 click==8.1.8 coverage==7.8.0 docutils==0.21.2 exceptiongroup==1.2.2 idna==3.10 imagesize==1.4.1 importlib_metadata==8.6.1 iniconfig==2.1.0 Jinja2==3.1.6 markdown2==2.5.3 MarkupSafe==3.0.2 m...
name: Pillow 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_file_png.py::TestFilePng::test_repr_png_error" ]
[ "Tests/test_file_png.py::TestFilePng::test_load_verify" ]
[ "Tests/test_file_png.py::TestFilePng::test_sanity", "Tests/test_file_png.py::TestFilePng::test_invalid_file", "Tests/test_file_png.py::TestFilePng::test_broken", "Tests/test_file_png.py::TestFilePng::test_bad_text", "Tests/test_file_png.py::TestFilePng::test_bad_ztxt", "Tests/test_file_png.py::TestFilePng...
[]
MIT-CMU License
fairlearn__fairlearn-636
fe8e5e2ae768986edada56fd086cded207d6d49c
2020-11-13T12:41:40
3460635aef0ec6c55408b112e5fef0266c1a7b67
diff --git a/fairlearn/metrics/_metric_frame.py b/fairlearn/metrics/_metric_frame.py index 1dd33d0..e8644f9 100644 --- a/fairlearn/metrics/_metric_frame.py +++ b/fairlearn/metrics/_metric_frame.py @@ -512,7 +512,7 @@ class MetricFrame: result.append(GroupFeature(base_name, column, i, None)) el...
MetricFrame: missing error message #### Describe the bug #### Steps/Code to Reproduce ![image](https://user-images.githubusercontent.com/10245648/98857843-7bce5e00-2414-11eb-8ed8-1b123440f733.png) ``` from fairlearn.metrics import MetricFrame from sklearn.metrics import balanced_accuracy_score MetricFra...
fairlearn/fairlearn
diff --git a/test/unit/metrics/test_metricframe_smoke.py b/test/unit/metrics/test_metricframe_smoke.py index a0787ab..1e18442 100644 --- a/test/unit/metrics/test_metricframe_smoke.py +++ b/test/unit/metrics/test_metricframe_smoke.py @@ -260,3 +260,9 @@ def test_duplicate_cf_sf_names(): ...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_media" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 1 }
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.8", "reqs_path": [ "requirements.txt" ], "test_cmd": "pytest --...
exceptiongroup==1.2.2 -e git+https://github.com/fairlearn/fairlearn.git@fe8e5e2ae768986edada56fd086cded207d6d49c#egg=fairlearn iniconfig==2.1.0 joblib==1.4.2 numpy==1.24.4 packaging==24.2 pandas==2.0.3 pluggy==1.5.0 pytest==8.3.5 python-dateutil==2.9.0.post0 pytz==2025.2 scikit-learn==1.3.2 scipy==1.10.1 six==1.17.0 th...
name: fairlearn 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...
[ "test/unit/metrics/test_metricframe_smoke.py::test_single_element_lists" ]
[ "test/unit/metrics/test_metricframe_smoke.py::test_1m_1sf_1cf[ensure_list-ensure_list]", "test/unit/metrics/test_metricframe_smoke.py::test_1m_1sf_1cf[ensure_list-ensure_ndarray]", "test/unit/metrics/test_metricframe_smoke.py::test_1m_1sf_1cf[ensure_list-ensure_ndarray_2d]", "test/unit/metrics/test_metricfram...
[ "test/unit/metrics/test_metricframe_smoke.py::test_basic[ensure_list-ensure_list]", "test/unit/metrics/test_metricframe_smoke.py::test_basic[ensure_list-ensure_ndarray]", "test/unit/metrics/test_metricframe_smoke.py::test_basic[ensure_list-ensure_ndarray_2d]", "test/unit/metrics/test_metricframe_smoke.py::tes...
[]
MIT License
Collen-Roller__flydenity-3
f19d02fea91e9988f97c8ef90ae9dbf01973a5ba
2020-12-09T21:36:25
f19d02fea91e9988f97c8ef90ae9dbf01973a5ba
diff --git a/flydenity/parser.py b/flydenity/parser.py index 1afc87a..5fe97b9 100644 --- a/flydenity/parser.py +++ b/flydenity/parser.py @@ -7,56 +7,93 @@ collen.roller@gmail.com Main parser for Regexs that exist within the dataset """ -import pandas as pd -import ast import os import re -import sys +import csv ...
Split 'iso codes' Current state: {'iso codes': "['US', 'USA']"} The string "['US', 'USA']" need further steps until we get the iso2 or iso3 Better (in my opinion): {'iso codes': ['US', 'USA']} or {'iso2': 'US', 'iso3': 'USA'}
Collen-Roller/flydenity
diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/tests/test_parse.py b/tests/test_parse.py new file mode 100644 index 0000000..65ffa82 --- /dev/null +++ b/tests/test_parse.py @@ -0,0 +1,46 @@ +import unittest + +from flydenity.parser import ARParser + +class Te...
{ "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, "num_modified_files": 4 }
0.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": null, "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.9", "reqs_path": [ "requ...
build==1.2.2.post1 check-manifest==0.50 -e git+https://github.com/Collen-Roller/flydenity.git@f19d02fea91e9988f97c8ef90ae9dbf01973a5ba#egg=flydenity importlib_metadata==8.6.1 numpy==2.0.2 packaging==24.2 pandas==2.2.3 pyproject_hooks==1.2.0 python-dateutil==2.9.0.post0 python-dotenv==1.1.0 pytz==2025.2 six==1.17.0 toml...
name: flydenity 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/test_parse.py::TestParse::test_parse_icao", "tests/test_parse.py::TestParse::test_parse_invalid", "tests/test_parse.py::TestParse::test_parse_simple", "tests/test_parse.py::TestParse::test_parse_strict", "tests/test_parse.py::TestParse::test_parse_tahiti" ]
[]
[]
[]
MIT License
oasis-open__cti-python-stix2-355
c2b71672f5504b975b113e3671e3279ceb503a65
2020-02-26T01:17:32
bbf0f81d5f16f6f6375be48f6b2c7bc451d4440f
diff --git a/stix2/v21/sdo.py b/stix2/v21/sdo.py index 1d97261..0f4a5a7 100644 --- a/stix2/v21/sdo.py +++ b/stix2/v21/sdo.py @@ -173,7 +173,7 @@ class Identity(STIXDomainObject): ('name', StringProperty(required=True)), ('description', StringProperty()), ('roles', ListProperty(StringProperty)...
Because of "unknown", several properties have been changed to optional See oasis-tcs/cti-stix2#211
oasis-open/cti-python-stix2
diff --git a/stix2/test/v21/test_indicator.py b/stix2/test/v21/test_indicator.py index 152f253..6965989 100644 --- a/stix2/test/v21/test_indicator.py +++ b/stix2/test/v21/test_indicator.py @@ -14,9 +14,6 @@ EXPECTED_INDICATOR = """{ "id": "indicator--a740531e-63ff-4e49-a9e1-a0a3eed0e3e7", "created": "2017-01-...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 1 }
1.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.7", "reqs_path...
alabaster==0.7.13 antlr4-python3-runtime==4.9.3 attrs==24.2.0 Babel==2.14.0 backcall==0.2.0 beautifulsoup4==4.13.3 bleach==6.0.0 bump2version==1.0.1 bumpversion==0.6.0 cachetools==5.5.2 certifi @ file:///croot/certifi_1671487769961/work/certifi cfgv==3.3.1 chardet==5.2.0 charset-normalizer==3.4.1 colorama==0.4.6 covera...
name: cti-python-stix2 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...
[ "stix2/test/v21/test_indicator.py::test_indicator_with_all_required_properties", "stix2/test/v21/test_indicator.py::test_indicator_required_properties", "stix2/test/v21/test_indicator.py::test_parse_indicator[{\\n", "stix2/test/v21/test_indicator.py::test_parse_indicator[data1]", "stix2/test/v21/test_infras...
[ "stix2/test/v21/test_indicator.py::test_indicator_stix20_invalid_pattern" ]
[ "stix2/test/v21/test_indicator.py::test_indicator_autogenerated_properties", "stix2/test/v21/test_indicator.py::test_indicator_type_must_be_indicator", "stix2/test/v21/test_indicator.py::test_indicator_id_must_start_with_indicator", "stix2/test/v21/test_indicator.py::test_indicator_required_property_pattern",...
[]
BSD 3-Clause "New" or "Revised" License
marcaurele__gce-ipx800-11
baa6e57f27ca87a35b1fa57b3a6a23f298e91fa4
2020-12-27T12:56:11
baa6e57f27ca87a35b1fa57b3a6a23f298e91fa4
codecov[bot]: # [Codecov](https://codecov.io/gh/marcaurele/gce-ipx800/pull/11?src=pr&el=h1) Report > Merging [#11](https://codecov.io/gh/marcaurele/gce-ipx800/pull/11?src=pr&el=desc) (3adecd1) into [main](https://codecov.io/gh/marcaurele/gce-ipx800/commit/fa71389b2525e2956dfe5a36f2d6aa379e7f7dd2?el=desc) (fa71389) will...
diff --git a/README.rst b/README.rst index 537c1cc..585f7db 100644 --- a/README.rst +++ b/README.rst @@ -29,7 +29,13 @@ A python library to control a GCE-Electronics IPX800 V4 device through its API. IPX800 features implemented --------------------------- -* Control relays +* Control: + + - relays (``ipx.relays[]`...
Implement Virtual outputs features in this package "ipx.relays" is working fine. My project is using Virtual outputs, can this be added to the wishlist? Thank you Inz
marcaurele/gce-ipx800
diff --git a/tests/getvi.json b/tests/getvi.json new file mode 100644 index 0000000..2024565 --- /dev/null +++ b/tests/getvi.json @@ -0,0 +1,132 @@ +{ + "product": "IPX800_V4", + "status": "Success", + "VI1": 0, + "VI2": 0, + "VI3": 0, + "VI4": 0, + "VI5": 0, + "VI6": 0, + "VI7": 0, + "VI8...
{ "commit_name": "merge_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, "num_modified_files": 2 }
0.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", "pytest-cov", "coverage[toml]" ], "pre_install": [ "apt-get update", "apt-get install -y g...
certifi==2025.1.31 charset-normalizer==3.4.1 coverage==7.8.0 exceptiongroup==1.2.2 -e git+https://github.com/marcaurele/gce-ipx800.git@baa6e57f27ca87a35b1fa57b3a6a23f298e91fa4#egg=gce_ipx800 idna==3.10 iniconfig==2.1.0 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==...
name: gce-ipx800 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-n...
[ "tests/test_ipx800.py::IPX800Test::test_virtual_input_str", "tests/test_ipx800.py::IPX800Test::test_virtual_output_str", "tests/test_ipx800.py::IPX800Test::test_virtuals_iteration", "tests/test_ipx800.py::IPX800Test::test_virtuals_length", "tests/test_ipx800.py::IPX800Test::test_virtuals_status" ]
[]
[ "tests/test_ipx800.py::IPX800Test::test_analog_sensor_str", "tests/test_ipx800.py::IPX800Test::test_analog_sensor_values", "tests/test_ipx800.py::IPX800Test::test_analog_sensors_length", "tests/test_ipx800.py::IPX800Test::test_analog_sensors_value", "tests/test_ipx800.py::IPX800Test::test_invalid_relay", ...
[]
Apache License 2.0
jboss-dockerfiles__dogen-143
a55fa36d7ae6d19688c93d42629fbd763b72419f
2017-06-07T10:33:27
bc9263c5b683fdf901ac1646286ee3908b85dcdc
diff --git a/dogen/cli.py b/dogen/cli.py index 6540695..c70984c 100644 --- a/dogen/cli.py +++ b/dogen/cli.py @@ -14,6 +14,7 @@ from dogen.version import version from dogen.errors import Error from dogen.plugin import Plugin +import colorlog class MyParser(argparse.ArgumentParser): @@ -25,14 +26,15 @@ class MyP...
Add colored logging output To make it easier to see important messages (especially when verbose output is turned on) - we should add color to log messages.
jboss-dockerfiles/dogen
diff --git a/tests/test_unit_generate_handle_files.py b/tests/test_unit_generate_handle_files.py index eb85ab9..daf240a 100644 --- a/tests/test_unit_generate_handle_files.py +++ b/tests/test_unit_generate_handle_files.py @@ -1,6 +1,7 @@ import argparse import unittest import mock +import os import six from dogen...
{ "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, "num_modified_files": 4 }
2.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", "mock" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "pyt...
certifi==2025.1.31 charset-normalizer==3.4.1 coverage==7.8.0 docopt==0.6.2 -e git+https://github.com/jboss-dockerfiles/dogen.git@a55fa36d7ae6d19688c93d42629fbd763b72419f#egg=dogen exceptiongroup==1.2.2 idna==3.10 iniconfig==2.1.0 Jinja2==3.1.6 MarkupSafe==3.0.2 mock==5.2.0 packaging==24.2 pluggy==1.5.0 pykwalify==1.8.0...
name: dogen 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_unit_generate_handle_files.py::TestFetchFile::test_fetching_with_filename", "tests/test_unit_generate_handle_files.py::TestFetchFile::test_fetching_with_tmpfile", "tests/test_unit_generate_handle_files.py::TestHandleSources::test_fetch_artifact_should_download_from_original_location_if_cached_locati...
[]
[ "tests/test_unit_generate_handle_files.py::TestURL::test_local_file", "tests/test_unit_generate_handle_files.py::TestURL::test_remote_http_file", "tests/test_unit_generate_handle_files.py::TestURL::test_remote_https_file", "tests/test_unit_generate_handle_files.py::TestCustomTemplateHandling::test_do_not_fail...
[]
MIT License
AngryMaciek__angry-moran-simulator-24
a065091015628bd568f9168b3abf3d8c84167be7
2021-04-01T18:07:33
a065091015628bd568f9168b3abf3d8c84167be7
codecov-io: # [Codecov](https://codecov.io/gh/AngryMaciek/angry-moran-simulator/pull/24?src=pr&el=h1) Report > Merging [#24](https://codecov.io/gh/AngryMaciek/angry-moran-simulator/pull/24?src=pr&el=desc) (e294e6b) into [master](https://codecov.io/gh/AngryMaciek/angry-moran-simulator/commit/a065091015628bd568f9168b3abf...
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index fbc60d7..db7d90e 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -51,7 +51,7 @@ jobs: run: | flake8 --max-line-length=88 --ignore F401 moranpycess/__init__.py flake8 --max-line-length=88...
Python modularisation double-check the modularisation setup in the `init`.
AngryMaciek/angry-moran-simulator
diff --git a/tests/unit/MoranProcess.py b/tests/unit/MoranProcess.py index 4f55bb8..7c8acd1 100644 --- a/tests/unit/MoranProcess.py +++ b/tests/unit/MoranProcess.py @@ -290,20 +290,12 @@ def test_plots(self): random.seed(0) simulation = mp.simulate(generations=25000) # test the plotting: - ...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 6 }
unknown
{ "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.7", "reqs_path": null, "test_cmd": "pytest --no-header -rA --tb=line --color=no...
attrs @ file:///croot/attrs_1668696182826/work certifi @ file:///croot/certifi_1671487769961/work/certifi cycler==0.11.0 flit_core @ file:///opt/conda/conda-bld/flit-core_1644941570762/work/source/flit_core fonttools==4.38.0 importlib-metadata @ file:///tmp/build/80754af9/importlib-metadata_1648562407465/work iniconfig...
name: angry-moran-simulator 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...
[ "tests/unit/MoranProcess.py::TestClass::test_plots", "tests/unit/MoranProcess2D.py::TestClass::test_plots2D", "tests/unit/MoranProcess3D.py::TestClass::test_plots3D" ]
[]
[ "tests/unit/MoranProcess.py::TestClass::test_classMoranProcessInit", "tests/unit/MoranProcess.py::TestClass::test_classMoranProcess_roulette_wheel_selection_Birth", "tests/unit/MoranProcess.py::TestClass::test_classMoranProcess_roulette_wheel_selection_Death", "tests/unit/MoranProcess.py::TestClass::test_clas...
[]
MIT License
keras-team__keras-nlp-387
b197f85e3c463071f0e00d5640c5571dacb1b0be
2022-10-11T18:55:20
736813f568d01d203e1d1e96a1e95a89e1e2cba4
jbischof: Thanks @mattdangerw. Addressed your comments. jbischof: Thanks @mattdangerw! Will resolve the merge conflicts once you approve.
diff --git a/keras_nlp/models/__init__.py b/keras_nlp/models/__init__.py index 06766d79..cb77fead 100644 --- a/keras_nlp/models/__init__.py +++ b/keras_nlp/models/__init__.py @@ -12,12 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -from keras_nlp.mod...
Unify modeling API around one class per model type # Problem Our current modeling API avoids creating an explicit config system by using config-in-code classes. These call a generic constructor with hardcoded arguments. In practice this requires us to maintain a bloated set of symbols in order to load a wide variety...
keras-team/keras-nlp
diff --git a/keras_nlp/models/bert/bert_models_test.py b/keras_nlp/models/bert/bert_models_test.py index 740d225f..803d4b7b 100644 --- a/keras_nlp/models/bert/bert_models_test.py +++ b/keras_nlp/models/bert/bert_models_test.py @@ -19,13 +19,12 @@ import tensorflow as tf from absl.testing import parameterized from ten...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_issue_reference", "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 5 }
0.3
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[tests]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.7", "reqs_path": null, "test_cmd": "pytest --no-header -rA --tb=line --c...
absl-py==2.1.0 astunparse==1.6.3 attrs @ file:///croot/attrs_1668696182826/work black==23.3.0 cachetools==5.5.2 certifi @ file:///croot/certifi_1671487769961/work/certifi charset-normalizer==3.4.1 click==8.1.8 coverage==7.2.7 flake8==5.0.4 flatbuffers==25.2.10 flit_core @ file:///opt/conda/conda-bld/flit-core_164494157...
name: keras-nlp 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-...
[ "keras_nlp/models/bert/bert_models_test.py::BertTest::test_compile_batched_ds_jit_compile_false", "keras_nlp/models/bert/bert_models_test.py::BertTest::test_compile_batched_ds_jit_compile_true", "keras_nlp/models/bert/bert_models_test.py::BertTest::test_compile_jit_compile_false", "keras_nlp/models/bert/bert_...
[]
[]
[]
Apache License 2.0
dask__dask-4466
010f5f3757b6cfc03785ca25d572e4412ed1e575
2019-02-06T21:14:55
221eb099ea8690ef7da334aa97b9a4e30e679f61
diff --git a/dask/bag/core.py b/dask/bag/core.py index 99f5645ec..8e174a48e 100644 --- a/dask/bag/core.py +++ b/dask/bag/core.py @@ -33,7 +33,7 @@ from ..base import tokenize, dont_optimize, DaskMethodsMixin from ..bytes import open_files from ..compatibility import apply, urlopen, Iterable, Iterator from ..context ...
Off-by-one error on dataframe slicing ``` import dask.dataframe as dd import pandas as pd df = pd.DataFrame({'A': range(5), 'B': range(5)}) ddf = dd.from_pandas(df, npartitions=1) for j in range(1, len(df) +1): for i in range(0, j): print("len(df[{}:{}]): {}".format(i, j, len(df[i:j]) == len(ddf[i:...
dask/dask
diff --git a/dask/bag/tests/test_bag.py b/dask/bag/tests/test_bag.py index 01a0e3feb..01120544a 100644 --- a/dask/bag/tests/test_bag.py +++ b/dask/bag/tests/test_bag.py @@ -502,18 +502,24 @@ def test_inline_singleton_lists(): inp = {'b': (list, 'a'), 'c': (f, 'b', 1)} out = {'c': (f, (list, 'a'), ...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 3 }
1.25
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[complete]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.6", "reqs_path": null, "test_cmd": "pytest --no-header -rA --tb=line ...
attrs @ file:///opt/conda/conda-bld/attrs_1642510447205/work certifi==2021.5.30 click==8.0.4 cloudpickle==2.2.1 -e git+https://github.com/dask/dask.git@010f5f3757b6cfc03785ca25d572e4412ed1e575#egg=dask distributed==1.28.1 HeapDict==1.0.1 importlib-metadata @ file:///tmp/build/80754af9/importlib-metadata_1631916693255/w...
name: dask 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...
[ "dask/bag/tests/test_bag.py::test_inline_singleton_lists", "dask/dataframe/tests/test_indexing.py::test_iloc_raises" ]
[ "dask/bag/tests/test_bag.py::test_to_dataframe", "dask/dataframe/tests/test_indexing.py::test_loc", "dask/dataframe/tests/test_indexing.py::test_loc_non_informative_index", "dask/dataframe/tests/test_indexing.py::test_loc_with_text_dates", "dask/dataframe/tests/test_indexing.py::test_loc_with_series", "da...
[ "dask/bag/tests/test_bag.py::test_Bag", "dask/bag/tests/test_bag.py::test_keys", "dask/bag/tests/test_bag.py::test_bag_map", "dask/bag/tests/test_bag.py::test_map_method", "dask/bag/tests/test_bag.py::test_starmap", "dask/bag/tests/test_bag.py::test_filter", "dask/bag/tests/test_bag.py::test_remove", ...
[]
BSD 3-Clause "New" or "Revised" License
colour-science__colour-321
901712f4c25bac410c19cce0aabdac855c29de4e
2017-04-30T09:40:47
3cd6ab8d4c3483bcdeb2d7ef33967160808c0bb2
diff --git a/colour/__init__.py b/colour/__init__.py index 9a861e285..e8b3fec8d 100644 --- a/colour/__init__.py +++ b/colour/__init__.py @@ -13,6 +13,7 @@ Subpackages - adaptation: Chromatic adaptation models and transformations. - algebra: Algebra utilities. - appearance: Colour appearance models. +- bioche...
Implement support for "hdr-CIELab" and "hdr-IPT" colourspaces. References ----------- - http://www.ingentaconnect.com/content/ist/cic/2010/00002010/00000001/art00057?crawler=true - https://www.youtube.com/watch?v=fjt7VHarVu4
colour-science/colour
diff --git a/colour/biochemistry/tests/__init__.py b/colour/biochemistry/tests/__init__.py new file mode 100644 index 000000000..faa18be5b --- /dev/null +++ b/colour/biochemistry/tests/__init__.py @@ -0,0 +1,2 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- diff --git a/colour/biochemistry/tests/tests_michaelis_ment...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_hyperlinks", "has_added_files", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 8 }
0.3
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[tests]", "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": [ "a...
attrs==22.2.0 certifi==2021.5.30 -e git+https://github.com/colour-science/colour.git@901712f4c25bac410c19cce0aabdac855c29de4e#egg=colour_science coverage==6.2 execnet==1.9.0 flake8==5.0.4 importlib-metadata==4.2.0 iniconfig==1.1.1 mccabe==0.7.0 nose==1.3.7 numpy==1.19.5 packaging==21.3 pluggy==1.0.0 py==1.11.0 pycodest...
name: colour 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...
[ "colour/biochemistry/tests/tests_michaelis_menten.py::TestReactionRateMichealisMenten::test_n_dimensional_reaction_rate_MichealisMenten", "colour/biochemistry/tests/tests_michaelis_menten.py::TestReactionRateMichealisMenten::test_nan_reaction_rate_MichealisMenten", "colour/biochemistry/tests/tests_michaelis_men...
[]
[]
[]
BSD 3-Clause "New" or "Revised" License
PrefectHQ__prefect-17123
2df84e40c54d86e36cd285fd8bece1b4116477a3
2025-02-13T01:08:18
5ab6871feb6050dc7a712fd182d287b300e25dae
codspeed-hq[bot]: <!-- __CODSPEED_PERFORMANCE_REPORT_COMMENT__ --> <!-- __CODSPEED_INSTRUMENTATION_PERFORMANCE_REPORT_COMMENT__ --> ## [CodSpeed Performance Report](https://codspeed.io/PrefectHQ/prefect/branches/fix-many-schedule) ### Merging #17123 will **not alter performance** <sub>Comparing <code>fix-many-schedu...
diff --git a/src/prefect/_result_records.py b/src/prefect/_result_records.py index dd538e88b2..1b04d14574 100644 --- a/src/prefect/_result_records.py +++ b/src/prefect/_result_records.py @@ -9,6 +9,7 @@ from typing import ( Optional, TypeVar, Union, + cast, ) from uuid import UUID @@ -146,6 +147,8...
Flows with multiple schedules at the same time are only scheduled once ### Bug summary When creating a flow that has two schedules that run at the same time (but with different parameters), only one is scheduled. As an example, running ```python """Create a flow with two schedules that run at the same time.""" from ...
PrefectHQ/prefect
diff --git a/tests/server/services/test_scheduler.py b/tests/server/services/test_scheduler.py index cd05b04079..f1811b12d1 100644 --- a/tests/server/services/test_scheduler.py +++ b/tests/server/services/test_scheduler.py @@ -3,6 +3,7 @@ import datetime import pendulum import pytest import sqlalchemy as sa +from sq...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 3 }
3.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", "pytest" ], "pre_install": null, "python": "3.9",...
aiosqlite==0.21.0 alembic==1.15.2 annotated-types==0.7.0 anyio==4.9.0 apprise==1.9.3 asgi-lifespan==2.1.0 asgiref==3.8.1 asttokens==3.0.0 async-timeout==5.0.1 asyncpg==0.30.0 attrs==25.3.0 babel==2.17.0 backrefs==5.8 boto3==1.37.27 botocore==1.37.27 cachetools==5.5.2 cairocffi==1.7.1 CairoSVG==2.7.1 certifi==2025.1.31 ...
name: prefect 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/server/services/test_scheduler.py::test_create_parametrized_schedules_from_deployment", "tests/server/services/test_scheduler.py::test_create_parametrized_schedules_with_slugs" ]
[]
[ "tests/server/services/test_scheduler.py::test_create_schedules_from_deployment", "tests/server/services/test_scheduler.py::test_create_schedule_respects_max_future_time", "tests/server/services/test_scheduler.py::test_create_schedules_from_multiple_deployments", "tests/server/services/test_scheduler.py::test...
[]
Apache License 2.0
beancount__fava-1800
3fbe63206dde0af8ad608137dfbc6f84cd7e40f9
2024-05-03T16:37:46
3fbe63206dde0af8ad608137dfbc6f84cd7e40f9
diff --git a/frontend/css/journal-table.css b/frontend/css/journal-table.css index 0b4e3358..06620439 100644 --- a/frontend/css/journal-table.css +++ b/frontend/css/journal-table.css @@ -116,8 +116,10 @@ cursor: pointer; } +/* There's three number columns (units, cost, price). + * They should add about to about h...
Show balance difference in journal view The journal view (global or per account) does show both the balance as written in the directive, as well as the accumulated amount from transactions, when it doesn't match. But the difference between these two is only shown in the errors view. To save the back-and-forth between ...
beancount/fava
diff --git a/tests/__snapshots__/test_json_api-test_api-account_report_off_by_one_journal.json b/tests/__snapshots__/test_json_api-test_api-account_report_off_by_one_journal.json index 47339a66..850b5c55 100644 --- a/tests/__snapshots__/test_json_api-test_api-account_report_off_by_one_journal.json +++ b/tests/__snapsho...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 2 }
1.27
{ "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-get update", "apt-get i...
alabaster==0.7.16 altgraph==0.17.4 anyio==4.9.0 astroid==3.3.9 babel==2.17.0 backports.tarfile==1.2.0 beancount==2.3.6 beautifulsoup4==4.13.3 blinker==1.9.0 bottle==0.13.2 build==1.2.2.post1 cachetools==5.5.2 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 cheroot==10.0.1 click==8.1...
name: fava 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_json_api.py::test_api[account_report_off_by_one_journal-/off-by-one/api/account_report?interval=day&conversion=at_value&a=Assets]" ]
[ "tests/test_json_api.py::test_api_errors" ]
[ "tests/test_application.py::test_reports[holdings-filters0]", "tests/test_application.py::test_reports[holdings-filters1]", "tests/test_application.py::test_reports[holdings-filters2]", "tests/test_application.py::test_reports[journal-filters3]", "tests/test_application.py::test_reports[journal-filters4]", ...
[]
MIT License
missionpinball__mpf-1331
211d5d0711e50bb49c2a02b7961394a008e2b86c
2019-04-11T06:14:47
2c1bb3aa1e25674916bc4e0d17ccb6c3c87bd01b
diff --git a/mpf/modes/high_score/code/high_score.py b/mpf/modes/high_score/code/high_score.py index cbaf6c6a8..088ca061d 100644 --- a/mpf/modes/high_score/code/high_score.py +++ b/mpf/modes/high_score/code/high_score.py @@ -124,7 +124,8 @@ class HighScore(AsyncMode): @asyncio.coroutine def _run(self) -> Gene...
Fix crash in high_score mode Crash when starting high acores mode after game enderd: ``` Traceback (most recent call last): File "c:\users\wilder\appdata\local\programs\python\python36\lib\site-packages\mpf\commands\game.py", line 220, in __init__ MachineController(mpf_path, machine_path, vars(self.args)).r...
missionpinball/mpf
diff --git a/mpf/tests/test_HighScoreMode.py b/mpf/tests/test_HighScoreMode.py index 3549565a0..b30082df8 100644 --- a/mpf/tests/test_HighScoreMode.py +++ b/mpf/tests/test_HighScoreMode.py @@ -29,6 +29,15 @@ class TestHighScoreMode(MpfBcpTestCase): self.machine.game.request_player_add() self.a...
{ "commit_name": "head_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "num_modified_files": 1 }
0.33
{ "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", "...
asciimatics==1.14.0 attrs==22.2.0 certifi==2021.5.30 coverage==6.2 execnet==1.9.0 future==1.0.0 importlib-metadata==4.8.3 iniconfig==1.1.1 -e git+https://github.com/missionpinball/mpf.git@211d5d0711e50bb49c2a02b7961394a008e2b86c#egg=mpf packaging==21.3 Pillow==8.4.0 pluggy==1.0.0 psutil==7.0.0 py==1.11.0 pyfiglet==0.8....
name: mpf 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...
[ "mpf/tests/test_HighScoreMode.py::TestHighScoreMode::test_high_score_without_game" ]
[]
[ "mpf/tests/test_HighScoreMode.py::TestHighScoreMode::testInvalidData", "mpf/tests/test_HighScoreMode.py::TestHighScoreMode::testLoadData", "mpf/tests/test_HighScoreMode.py::TestHighScoreMode::test_1_high_score", "mpf/tests/test_HighScoreMode.py::TestHighScoreMode::test_2_high_scores", "mpf/tests/test_HighSc...
[]
MIT License
uptick__pymyob-27
a396ea2ac006bd55ea812dfccf36c1ec98042770
2019-02-21T00:08:31
a396ea2ac006bd55ea812dfccf36c1ec98042770
diff --git a/myob/api.py b/myob/api.py index fc066ea..ec02cad 100755 --- a/myob/api.py +++ b/myob/api.py @@ -14,7 +14,7 @@ class Myob: ) self.credentials = credentials self.companyfiles = CompanyFiles(credentials) - self._manager = Manager('', credentials, endpoints=[ + self...
Simplify MYOB endpoints file. There's an awful lot of repetition going on in this file. Most endpoints follow this same pattern of 5 possible actions: ``` (ALL, 'Item/', 'Return inventory items for an AccountRight company file.'), (GET, 'Item/[uid]/', 'Return selected inventory item.'), ...
uptick/pymyob
diff --git a/tests/endpoints.py b/tests/endpoints.py index 660b8ff..6272b56 100644 --- a/tests/endpoints.py +++ b/tests/endpoints.py @@ -83,16 +83,16 @@ class EndpointTests(TestCase): self.assertEqual(repr(self.companyfile.banking), ( "BankingManager:\n" " ...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_added_files", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 3 }
1.1
{ "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": [], "python": "3.9", "reqs_path": null, "test_cmd": "pytest --no-header -rA --tb=line --color=no -p no:c...
certifi==2025.1.31 charset-normalizer==3.4.1 exceptiongroup==1.2.2 idna==3.10 iniconfig==2.1.0 oauthlib==3.2.2 packaging==24.2 pluggy==1.5.0 -e git+https://github.com/uptick/pymyob.git@a396ea2ac006bd55ea812dfccf36c1ec98042770#egg=pymyob pytest==8.3.5 requests==2.32.3 requests-oauthlib==2.0.0 tomli==2.2.1 urllib3==2.3.0...
name: pymyob 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/endpoints.py::EndpointTests::test_banking", "tests/endpoints.py::EndpointTests::test_general_ledger", "tests/endpoints.py::EndpointTests::test_inventory", "tests/endpoints.py::EndpointTests::test_invoices", "tests/endpoints.py::EndpointTests::test_purchase_bills", "tests/endpoints.py::EndpointTests...
[]
[ "tests/endpoints.py::EndpointTests::test_base", "tests/endpoints.py::EndpointTests::test_companyfile", "tests/endpoints.py::EndpointTests::test_companyfiles", "tests/endpoints.py::EndpointTests::test_contacts", "tests/endpoints.py::EndpointTests::test_timeout" ]
[]
BSD 3-Clause "New" or "Revised" License
pyscript__pyscript-cli-84
9ad671434a51cc0f5bdbe968c2e61251f335912b
2023-05-15T21:27:35
77b60621c1db9faa71d33c3f27364e57dc69cb68
mattkram: I agree it's more intuitive 😁. Serve is technically correct, but that's an implementation detail. codecov-commenter: ## [Codecov](https://app.codecov.io/gh/pyscript/pyscript-cli/pull/84?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pyscript) Report ...
diff --git a/src/pyscript/cli.py b/src/pyscript/cli.py index 398f381..01fc547 100644 --- a/src/pyscript/cli.py +++ b/src/pyscript/cli.py @@ -7,7 +7,7 @@ from pluggy import PluginManager from pyscript import __version__, app, console, plugins, typer from pyscript.plugins import hookspecs -DEFAULT_PLUGINS = ["create"...
Add `pyscript serve` subcommand Command will run a simple HTTP server in order to host the files dynamically. This is required in order to allow `<py-script src="./my_module.py">` to work. ```shell $ pyscript serve my_file.html --show --autoreload ``` The `--autoreload` is a nice-to-have, but not necessary righ...
pyscript/pyscript-cli
diff --git a/tests/test_run_cli_cmd.py b/tests/test_run_cli_cmd.py new file mode 100644 index 0000000..88cbc46 --- /dev/null +++ b/tests/test_run_cli_cmd.py @@ -0,0 +1,107 @@ +from __future__ import annotations + +from pathlib import Path +from unittest import mock + +import pytest +from utils import CLIInvoker, invoke...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_added_files" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 1 }
0.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": [ "pip install --upgrade pip" ], "python": "3.9", "reqs_path": null, "test_cmd": "pytes...
attrs==25.3.0 click==8.1.8 commonmark==0.9.1 coverage==6.3.3 exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work Jinja2==3.1.6 MarkupSafe==3.0.2 mypy==0.950 mypy-extensions==1.0.0 packaging @ file:///croot/packaging_1734472117206/work ...
name: pyscript-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 ...
[ "tests/test_run_cli_cmd.py::test_run_bad_paths[non_existing_folder]", "tests/test_run_cli_cmd.py::test_run_bad_paths[non_existing_file.html]", "tests/test_run_cli_cmd.py::test_run_server_bad_port", "tests/test_run_cli_cmd.py::test_run_server_with_default_values", "tests/test_run_cli_cmd.py::test_run_server_...
[]
[]
[]
Apache License 2.0
DCC-Lab__RayTracing-277
d80a94ab8ac81be0a4486f44c110733736883dea
2020-06-16T20:05:39
c9e0ebf92c20268ab9aab6803e4ed8412a165f2a
diff --git a/.idea/other.xml b/.idea/other.xml new file mode 100644 index 0000000..640fd80 --- /dev/null +++ b/.idea/other.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="PySciProjectComponent"> + <option name="PY_SCI_VIEW" value="true" /> + <option name="PY_...
Matrix with incorrect determinants should not be allowed I am working on getting everything to work properly for focal lengths when the index of refraction is not the same on either side (n1, n2) instead of 1 and 1. Because when we do that we must make the assumption that the determinant is n1/n2, I added in the branc...
DCC-Lab/RayTracing
diff --git a/raytracing/tests/testsMatrix.py b/raytracing/tests/testsMatrix.py index be36c0a..f36fe01 100644 --- a/raytracing/tests/testsMatrix.py +++ b/raytracing/tests/testsMatrix.py @@ -1,5 +1,7 @@ import envtest # modifies path +import platform import sys + from raytracing import * inf = float("+inf") @@ -19...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_added_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 1 }
1.2
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "matplotlib numpy", "pip_packages": [ "pytest pytest-cov pytest-xdist pytest-mock pytest-asyncio", "pytest" ], "pre_install": [ "apt-get update", ...
Brotli @ file:///croot/brotli-split_1736182456865/work contourpy @ file:///croot/contourpy_1738160616259/work coverage==7.8.0 cycler @ file:///tmp/build/80754af9/cycler_1637851556182/work exceptiongroup==1.2.2 execnet==2.1.1 fonttools @ file:///croot/fonttools_1737039080035/work importlib_resources @ file:///croot/impo...
name: RayTracing 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 - blas=1.0=openblas - brotli-python=1.0.9=py39h6a678d5_9 - bzip2=1.0.8=h5eee18b_6 - c-ares=1.19.1=h5eee18b_0 ...
[ "raytracing/tests/testsMatrix.py::TestMatrix::testDielectricInterfaceEffectiveFocalLengths" ]
[]
[ "raytracing/tests/testsMatrix.py::TestMatrix::testApertureDiameter", "raytracing/tests/testsMatrix.py::TestMatrix::testBackFocalLengthSupposedNone", "raytracing/tests/testsMatrix.py::TestMatrix::testDisplayHalfHeight", "raytracing/tests/testsMatrix.py::TestMatrix::testDisplayHalfHeightInfiniteDiameter", "ra...
[]
MIT License
cisagov__ioc-scanner-5
e6bfb28c3ed13c4c9df9b93854fb3e6bd0454bf0
2019-09-20T15:56:41
18ec49d5d06505700ca6d706e9757d02aa404f8f
diff --git a/src/ioc_scan/ioc_scanner.py b/src/ioc_scan/ioc_scanner.py index 5d98b02..94cd952 100755 --- a/src/ioc_scan/ioc_scanner.py +++ b/src/ioc_scan/ioc_scanner.py @@ -11,11 +11,10 @@ This script should be run as a priveledged user. from collections import defaultdict from datetime import datetime +import hash...
Support hashes besides MD5 # 🚀 Feature Proposal Add the ability to scan for other hash types besides MD5, such as SHA-1 and SHA-256. ## Motivation When we are asked to scan for Indicators of Compromise (IOCs), we occasionally are given SHA-1 and SHA-256 hashes, in addition to MD5 hashes. ## Example Samp...
cisagov/ioc-scanner
diff --git a/tests/test_ioc_scan.py b/tests/test_ioc_scan.py index 6ab4b37..33437e3 100644 --- a/tests/test_ioc_scan.py +++ b/tests/test_ioc_scan.py @@ -10,6 +10,7 @@ import pytest import ioc_scan from ioc_scan import ioc_scan_cli +from ioc_scan import ioc_scanner log_levels = ( @@ -50,6 +51,27 @@ def test_log...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 1 }
0.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" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.7", "reqs_pat...
certifi @ file:///croot/certifi_1671487769961/work/certifi cfgv==3.3.1 charset-normalizer==3.4.1 coverage==6.5.0 coveralls==3.3.1 distlib==0.3.9 docopt==0.6.2 exceptiongroup==1.2.2 filelock==3.12.2 identify==2.5.24 idna==3.10 importlib-metadata==6.7.0 iniconfig==2.0.0 -e git+https://github.com/cisagov/ioc-scanner.git@e...
name: ioc-scanner 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/test_ioc_scan.py::test_hash_file_hashing", "tests/test_ioc_scan.py::test_hash_file_except" ]
[]
[ "tests/test_ioc_scan.py::test_version", "tests/test_ioc_scan.py::test_log_levels[debug]", "tests/test_ioc_scan.py::test_log_levels[info]", "tests/test_ioc_scan.py::test_log_levels[warning]", "tests/test_ioc_scan.py::test_log_levels[error]", "tests/test_ioc_scan.py::test_log_levels[critical]", "tests/tes...
[]
Creative Commons Zero v1.0 Universal
fsspec__filesystem_spec-1516
518984d494e48f007d8aa48de882ed7014da2574
2024-01-26T10:29:21
05e88582e22fdf97c4cfc7ffb6ffa7923b1d19b2
ap--: Looks like the python-3.10 and python-3.11 test failures are unrelated. The failing tests are for the smb filesystem. martindurant: > Looks like the python-3.10 and python-3.11 test failures are unrelated. The failing tests are for the smb filesystem. A long standing flakiness I have yet to track down. ap--: I...
diff --git a/fsspec/implementations/http.py b/fsspec/implementations/http.py index 2ffb7ed..4580764 100644 --- a/fsspec/implementations/http.py +++ b/fsspec/implementations/http.py @@ -451,7 +451,7 @@ class HTTPFileSystem(AsyncFileSystem): ends_with_slash = path.endswith("/") # _strip_protocol strips traili...
HTTPFileSystem.glob misses folders on fsspec>2023.10.0 Hello everyone, Since #1382 was merged HTTPFileSystem's glob is missing folders for patterns ending in `"/*"`. To reproduce: ```shell mkdir share mkdir share/folder1 touch share/file1.txt python -m http.server -d share 8080 ``` execute in another s...
fsspec/filesystem_spec
diff --git a/fsspec/implementations/tests/test_http.py b/fsspec/implementations/tests/test_http.py index af11644..fdae51f 100644 --- a/fsspec/implementations/tests/test_http.py +++ b/fsspec/implementations/tests/test_http.py @@ -129,6 +129,15 @@ def test_list_cache_with_skip_instance_cache(server): assert out == [...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 1 }
2024.3
{ "env_vars": null, "env_yml_path": [ "docs/environment.yml" ], "install": "pip install -e .[dev,test]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "environment.yml", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.9", "reqs_path": null, "test_cmd...
aiohappyeyeballs==2.6.1 aiohttp==3.11.14 aiosignal==1.3.2 alabaster @ file:///croot/alabaster_1718201490751/work async-timeout==5.0.1 attrs==25.3.0 babel @ file:///croot/babel_1737454360933/work Brotli @ file:///croot/brotli-split_1736182456865/work certifi @ file:///croot/certifi_1738623731865/work/certifi cfgv==3.4.0...
name: filesystem_spec 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 - alabaster=0.7.16=py39h06a4308_0 - babel=2.16.0=py39h06a4308_0 - brotli-python=1.0.9=py39h6a678d5_9 - ca...
[ "fsspec/implementations/tests/test_http.py::test_glob_return_subfolders" ]
[]
[ "fsspec/implementations/tests/test_http.py::test_list", "fsspec/implementations/tests/test_http.py::test_list_invalid_args", "fsspec/implementations/tests/test_http.py::test_list_cache", "fsspec/implementations/tests/test_http.py::test_list_cache_with_expiry_time_cached", "fsspec/implementations/tests/test_...
[]
BSD 3-Clause "New" or "Revised" License
marcosschroh__dataclasses-avroschema-402
d1e856e0a7c6c610741f54061f17df2aa8d9180e
2023-08-30T13:21:25
365c910655c9e5b18242427ff5af9633f7a4b885
github-actions[bot]: [PR Preview Action](https://github.com/rossjrw/pr-preview-action) v1.4.4 :---: :rocket: Deployed preview to https://marcosschroh.github.io/dataclasses-avroschema/pr-preview/pr-402/ on branch [`gh-pages`](https://github.com/marcosschroh/dataclasses-avroschema/tree/gh-pages) at 2023-08-30 13:22 UTC <...
diff --git a/dataclasses_avroschema/model_generator/generator.py b/dataclasses_avroschema/model_generator/generator.py index 57290e3..acce0e1 100644 --- a/dataclasses_avroschema/model_generator/generator.py +++ b/dataclasses_avroschema/model_generator/generator.py @@ -424,10 +424,18 @@ class ModelGenerator: ...
Issue with case sensitivity in enums **Describe the bug** python Fields that represent enums values are translated directly to UPPERCASE regardless of their original casing. This results in duplicate fields if original values from the schema only differ in casing. I encounted this is issue in our from standards de...
marcosschroh/dataclasses-avroschema
diff --git a/tests/model_generator/conftest.py b/tests/model_generator/conftest.py index bec01d9..58873a6 100644 --- a/tests/model_generator/conftest.py +++ b/tests/model_generator/conftest.py @@ -212,6 +212,24 @@ def schema_with_enum_types() -> Dict: } +@pytest.fixture +def schema_with_enum_types_case_sensiti...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_modified_files" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 2 }
0.47
{ "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", "typing_extensions" ], ...
casefy==0.1.7 coverage==7.8.0 dacite==1.9.2 -e git+https://github.com/marcosschroh/dataclasses-avroschema.git@d1e856e0a7c6c610741f54061f17df2aa8d9180e#egg=dataclasses_avroschema exceptiongroup==1.2.2 execnet==2.1.1 fastavro==1.10.0 Inflector==3.1.1 iniconfig==2.1.0 packaging==24.2 pluggy==1.5.0 pytest==8.3.5 pytest-asy...
name: dataclasses-avroschema 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/model_generator/test_model_generator.py::test_schema_with_enum_types_case_sensitivity" ]
[]
[ "tests/model_generator/test_model_generator.py::test_model_generator_primitive_types", "tests/model_generator/test_model_generator.py::test_model_generator_primitive_types_as_defined_types", "tests/model_generator/test_model_generator.py::test_model_generator_primitive_types_with_default_null", "tests/model_g...
[]
MIT License
cleder__fastkml-158
3a58f210fea063975f31784b5db53773eb2e7c44
2022-02-03T20:36:55
0b40936a010c54b9c052e9a9c497b79962f35061
diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 02a9551..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,10 +0,0 @@ -# Set update schedule for GitHub Actions ---- -version: 2 -updates: - - package-ecosystem: "github-actions" - directory: "/" - schedule: - ...
How to add LookAt How can I add LookAt I think it should be added to Document d = kml.Document(ns, 'docid', 'doc name', 'doc description') there should be something like <LookAt> <longitude>14.0</longitude> <latitude>44.0</latitude> <heading>0</heading> <tilt>0</tilt> ...
cleder/fastkml
diff --git a/.github/workflows/run-all-tests.yml b/.github/workflows/run-all-tests.yml index f6ebb85..cf16a65 100644 --- a/.github/workflows/run-all-tests.yml +++ b/.github/workflows/run-all-tests.yml @@ -83,7 +83,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - pypy-version: ['pypy-3.6', '...
{ "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, "num_modified_files": 15 }
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": [ "black", "flake8", "flake8-dunder-all", "flake8-isort", "flake8-logging-format", "flake8-use-fstring", ...
astatine==0.3.3 asttokens==3.0.0 black==25.1.0 cfgv==3.4.0 click==8.1.8 colorama==0.4.6 consolekit==1.7.2 coverage==7.8.0 deprecation==2.1.0 deprecation-alias==0.4.0 distlib==0.3.9 domdf_python_tools==3.10.0 exceptiongroup==1.2.2 -e git+https://github.com/cleder/fastkml.git@3a58f210fea063975f31784b5db53773eb2e7c44#egg=...
name: fastkml 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...
[ "fastkml/test_main.py::BaseClassesTestCase::test_base_object", "fastkml/test_main.py::BaseClassesTestCase::test_feature", "fastkml/test_main.py::BaseClassesTestCase::test_overlay", "fastkml/test_main.py::BuildKmlTestCase::test_phone_number", "fastkml/test_main.py::BuildKmlTestCase::test_schema", "fastkml/...
[]
[ "fastkml/test_main.py::BaseClassesTestCase::test_atom_link", "fastkml/test_main.py::BaseClassesTestCase::test_atom_person", "fastkml/test_main.py::BaseClassesTestCase::test_container", "fastkml/test_main.py::BuildKmlTestCase::test_address", "fastkml/test_main.py::BuildKmlTestCase::test_author", "fastkml/t...
[]
null
frictionlessdata__goodtables-py-315
037c7bf35c2dd7c14635c3e1d1b6ef2403c74f9e
2019-10-28T01:00:57
037c7bf35c2dd7c14635c3e1d1b6ef2403c74f9e
tsungyong: I've updated it. I wonder if it would be a bit cleaner if this was implemented in tabulator.Stream though, as the root issue is that `Stream.open('invalid.csv')` is giving a different error from `Stream.open('invalid')`, even though they are both the same error (the local file is not found).
diff --git a/goodtables/inspector.py b/goodtables/inspector.py index e17e464..8491ace 100644 --- a/goodtables/inspector.py +++ b/goodtables/inspector.py @@ -4,6 +4,12 @@ from __future__ import print_function from __future__ import absolute_import from __future__ import unicode_literals +import os +try: + from ur...
Goodtables CLI should fail if received paths doesn't exist For example: ``` $ goodtables foobar DATASET ======= {'error-count': 1, 'preset': 'nested', 'table-count': 1, 'time': 0.002, 'valid': False} TABLE [1] ========= {'error-count': 1, 'headers': [], 'ro...
frictionlessdata/goodtables-py
diff --git a/tests/test_inspector.py b/tests/test_inspector.py index e43c233..b180fd0 100644 --- a/tests/test_inspector.py +++ b/tests/test_inspector.py @@ -122,6 +122,13 @@ def test_inspector_catch_all_iter_exceptions(log): ] +def test_inspector_missing_local_file_raises_source_error_issue_315(log): + insp...
{ "commit_name": "merge_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "num_modified_files": 1 }
unknown
{ "env_vars": null, "env_yml_path": null, "install": "pip install --upgrade -e .[develop,ods]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "mock", "pyyaml", "pytest", "pytest-cov", "coverage" ], "pre_install": [ "apt-...
attrs==22.2.0 boto3==1.23.10 botocore==1.26.10 cached-property==1.5.2 certifi==2021.5.30 chardet==5.0.0 charset-normalizer==2.0.12 click==8.0.4 click-default-group==1.2.4 coverage==6.2 dataflows-tabulator==1.54.3 datapackage==1.15.4 distlib==0.3.9 docutils==0.18.1 et-xmlfile==1.1.0 ezodf==0.3.2 filelock==3.4.1 -e git+h...
name: goodtables-py 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 ...
[ "tests/test_inspector.py::test_inspector_missing_local_file_raises_source_error_issue_315" ]
[ "tests/test_inspector.py::test_inspector_table_invalid", "tests/test_inspector.py::test_inspector_table_invalid_row_limit", "tests/test_inspector.py::test_inspector_tables_invalid", "tests/test_inspector.py::test_inspector_catch_all_open_exceptions" ]
[ "tests/test_inspector.py::test_inspector_table_valid", "tests/test_inspector.py::test_inspector_table_invalid_error_limit", "tests/test_inspector.py::test_inspector_datapackage_valid[data/datapackages/valid/datapackage.json]", "tests/test_inspector.py::test_inspector_datapackage_valid[data/datapackages/valid....
[]
MIT License
levii__jig-py-48
6e9cb8c6330a6aed862f42186869e61996bb50dd
2020-09-15T05:07:27
6e9cb8c6330a6aed862f42186869e61996bb50dd
diff --git a/jig/visualizer/module_dependency/domain/model/graph.py b/jig/visualizer/module_dependency/domain/model/graph.py index 9ebb1f0..13bacde 100644 --- a/jig/visualizer/module_dependency/domain/model/graph.py +++ b/jig/visualizer/module_dependency/domain/model/graph.py @@ -1,18 +1,25 @@ import dataclasses from...
スタイル指定をポリシールール化して、dig操作してもスタイルが維持されるようにしたい ## 今困っていること - dig() で深堀りしたときに、深堀りする前に設定していたスタイルが消えてしまう - ので、 dig() した後にもう一度スタイル指定をしないといけない - auto_highlight を ON にした後に、 auto_highlight を OFF に戻すことができない - reset_style() で全てのスタイルをリセットする必要がある ## 考慮事項 - restore したときにもスタイルポリシーが適用されてほしい - remove() でノード...
levii/jig-py
diff --git a/tests/visualizer/module_dependency/domain/model/test_graph_style.py b/tests/visualizer/module_dependency/domain/model/test_graph_style.py new file mode 100644 index 0000000..2ce5a32 --- /dev/null +++ b/tests/visualizer/module_dependency/domain/model/test_graph_style.py @@ -0,0 +1,121 @@ +from typing import...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_added_files", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 4 }
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" ], "pre_install": [ "apt-get update", "apt-get install -y graphviz" ], "python": "3.9", "reqs_path...
anyio==4.9.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 asttokens==3.0.0 async-lru==2.0.5 attrs==25.3.0 babel==2.17.0 beautifulsoup4==4.13.3 black==25.1.0 bleach==6.2.0 certifi==2025.1.31 cffi==1.17.1 charset-normalizer==3.4.1 click==8.1.8 comm==0.2.2 debugpy==1.8.13 decorator==5.2.1 defusedxml==0.7....
name: jig-py 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/visualizer/module_dependency/domain/model/test_graph_style.py::TestGraphStyle::test_reset_all_styles", "tests/visualizer/module_dependency/domain/model/test_graph_style.py::TestGraphStyle::test_add_node_style", "tests/visualizer/module_dependency/domain/model/test_graph_style.py::TestGraphStyle::test_add...
[]
[]
[]
MIT License
astropy__asdf-astropy-253
0a68c556945ee0a411974f7d4e828eb450297146
2025-01-28T04:31:22
0a68c556945ee0a411974f7d4e828eb450297146
codecov[bot]: ## [Codecov](https://app.codecov.io/gh/astropy/asdf-astropy/pull/253?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=astropy) Report All modified and coverable lines are covered by tests :white_check_mark: > Project coverage is 99....
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c6e0288..f8730e5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -68,8 +68,9 @@ jobs: # Any env name which does not start with `pyXY` will use this Python version. default_python: '3.13' envs: | - ...
Support MaskedQuantity Astropy (v5.0+) has the `Masked` class (https://docs.astropy.org/en/stable/utils/masked/index.html), which can produce `MaskedQuantity`. It would be great if ASDF could serialize Masked objects.
astropy/asdf-astropy
diff --git a/asdf_astropy/converters/coordinates/tests/test_masked.py b/asdf_astropy/converters/coordinates/tests/test_masked.py new file mode 100644 index 0000000..927bb8b --- /dev/null +++ b/asdf_astropy/converters/coordinates/tests/test_masked.py @@ -0,0 +1,77 @@ +import asdf +import numpy as np +import pytest +from...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_hyperlinks", "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 5 }
0.7
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[test]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "pytest-astropy", "scipy", "pytest" ], "pre_install": null, "python": "3.11", "reqs_path": null, "test_cmd": "p...
asdf==4.1.0 -e git+https://github.com/astropy/asdf-astropy.git@0a68c556945ee0a411974f7d4e828eb450297146#egg=asdf_astropy asdf_coordinates_schemas==0.3.0 asdf_standard==1.1.1 asdf_transform_schemas==0.5.0 astropy==7.0.1 astropy-iers-data==0.2025.3.31.0.36.18 attrs==25.3.0 coverage==7.8.0 hypothesis==6.130.8 importlib_me...
name: asdf-astropy 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 - bzip2=1.0.8=h5eee18b_6 - ca-certificates=2025.2.25=h06a4308_0 - iniconfig=1.1.1=pyhd3eb1b0_0 - ld_impl_lin...
[ "asdf_astropy/converters/unit/tests/test_quantity.py::test_masked_quantity_raises" ]
[]
[ "asdf_astropy/converters/unit/tests/test_quantity.py::test_serialization[quantity0]", "asdf_astropy/converters/unit/tests/test_quantity.py::test_serialization[quantity1]", "asdf_astropy/converters/unit/tests/test_quantity.py::test_serialization[quantity2]", "asdf_astropy/converters/unit/tests/test_quantity.py...
[]
BSD 3-Clause "New" or "Revised" License
geopandas__geopandas-2319
ae4fe4d14cb7c0c2afc3b50feda2c96cf3f2b35b
2022-01-23T09:21:40
be647ab7e54880278cba374cc77075afd33b25a5
jorisvandenbossche: OK, that doesn't seem to work, getting this error: ``` Installing pip dependencies: ...working... ::warning::Pip subprocess error:%0AUsage: __main__.py [options]%0A%0AERROR: Invalid requirement: --upgrade --pre --extra-index https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy%0A__main__....
diff --git a/ci/envs/310-dev.yaml b/ci/envs/310-dev.yaml index 52575dbd..4274d679 100644 --- a/ci/envs/310-dev.yaml +++ b/ci/envs/310-dev.yaml @@ -26,8 +26,9 @@ dependencies: - geopy - mapclassify>=2.4.0 # dev versions of packages - - --pre --extra-index https://pypi.anaconda.org/scipy-wheels-nightly/...
CI: 310-dev.yaml doesn't use numpy main wheel In having a look at a CI failure I noticed that the dev environment doesn't actually use numpy main, although the yaml suggests it does. My assumption is we intend to use numpy main and's not working, but if that's wrong, we could just update the yaml for clarity. Looki...
geopandas/geopandas
diff --git a/geopandas/tests/test_array.py b/geopandas/tests/test_array.py index 42023cdc..2724b24b 100644 --- a/geopandas/tests/test_array.py +++ b/geopandas/tests/test_array.py @@ -10,6 +10,7 @@ import shapely.affinity import shapely.geometry from shapely.geometry.base import CAP_STYLE, JOIN_STYLE import shapely.w...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_git_commit_hash", "has_many_modified_files" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 2 }
0.10
{ "env_vars": null, "env_yml_path": [ "environment.yml" ], "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": true, "packages": "environment.yml", "pip_packages": [ "pytest", "pytest-cov", "pytest-xdist" ], "pre_install": null, "python": "3.7", "reqs_p...
affine @ file:///home/conda/feedstock_root/build_artifacts/affine_1674245120525/work attrs @ file:///home/conda/feedstock_root/build_artifacts/attrs_1722977137225/work beautifulsoup4 @ file:///home/conda/feedstock_root/build_artifacts/beautifulsoup4_1705564648255/work Bottleneck @ file:///home/conda/feedstock_root/buil...
name: geopandas 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 - affine=2.4.0=pyhd8ed1ab_0 - alsa-lib=1.2.3.2=h166bdaf_0 - attrs=24.2.0=pyh71513ae_0 - beautifulsoup4=4.12.3=p...
[ "geopandas/tests/test_dissolve.py::test_dissolve_multi_agg", "geopandas/tests/test_geom_methods.py::TestGeomMethods::test_explode_order", "geopandas/tests/test_geom_methods.py::TestGeomMethods::test_explode_order_mixed", "geopandas/tests/test_geom_methods.py::TestGeomMethods::test_explode_duplicated_index" ]
[]
[ "geopandas/tests/test_array.py::test_points", "geopandas/tests/test_array.py::test_points_from_xy", "geopandas/tests/test_array.py::test_from_shapely", "geopandas/tests/test_array.py::test_from_shapely_geo_interface", "geopandas/tests/test_array.py::test_from_wkb", "geopandas/tests/test_array.py::test_fro...
[]
BSD 3-Clause "New" or "Revised" License
pydata__xarray-2520
2f0096cfab62523f26232bedf3debaba5f58d337
2018-10-28T00:37:21
a2583334f5c40f0c8023146dcf0a82ca65875f32
pep8speaks: Hello @shoyer! Thanks for submitting the PR. - There are no PEP8 issues in the file [`xarray/core/dataarray.py`](https://github.com/shoyer/xarray/blob/84fb32241be1153fb25cc34d0a36efdd230b657f/xarray/core/dataarray.py) ! - There are no PEP8 issues in the file [`xarray/tests/test_dataarray.py`](https://gi...
diff --git a/doc/whats-new.rst b/doc/whats-new.rst index 4497c57e..3a644ddf 100644 --- a/doc/whats-new.rst +++ b/doc/whats-new.rst @@ -33,11 +33,14 @@ v0.11.0 (unreleased) Breaking changes ~~~~~~~~~~~~~~~~ -- ``Dataset.T`` has been removed as a shortcut for :py:meth:`Dataset.transpose`. - Call :py:meth:`Dataset.tr...
"in" operator does not work as expected on DataArray dimensions As an example I have a DataArray called "my_dataarray" that looks something like this: ``` <xarray.DataArray 'values' (Type: 3)> array([1, 2, 3]) Coordinates: * Type (Type) object 'Type 1' 'Type 2' 'Type 3' ``` 'Type' is a dimension o...
pydata/xarray
diff --git a/xarray/tests/test_coding_times.py b/xarray/tests/test_coding_times.py index 10a1a956..8e47bd37 100644 --- a/xarray/tests/test_coding_times.py +++ b/xarray/tests/test_coding_times.py @@ -8,7 +8,8 @@ import pandas as pd import pytest from xarray import DataArray, Variable, coding, decode_cf, set_options ...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 3 }
0.10
{ "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", "numpy>=1.12", "pandas>=0.19...
attrs==22.2.0 certifi==2021.5.30 coverage==6.2 execnet==1.9.0 importlib-metadata==4.8.3 iniconfig==1.1.1 numpy==1.19.5 packaging==21.3 pandas==1.1.5 pluggy==1.0.0 py==1.11.0 pyparsing==3.1.4 pytest==7.0.1 pytest-asyncio==0.16.0 pytest-cov==4.0.0 pytest-mock==3.6.1 pytest-xdist==3.0.2 python-dateutil==2.9.0.post0 pytz==...
name: xarray 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...
[ "xarray/tests/test_dataarray.py::TestDataArray::test_contains" ]
[ "xarray/tests/test_coding_times.py::test_infer_datetime_units[dates0-days", "xarray/tests/test_coding_times.py::test_infer_datetime_units[dates1-hours", "xarray/tests/test_coding_times.py::test_infer_datetime_units[dates2-days", "xarray/tests/test_coding_times.py::test_infer_datetime_units[dates3-seconds", ...
[ "xarray/tests/test_coding_times.py::test_decode_cf_datetime_non_standard_units", "xarray/tests/test_coding_times.py::test_contains_cftime_datetimes_non_cftimes[non_cftime_data0]", "xarray/tests/test_coding_times.py::test_contains_cftime_datetimes_non_cftimes[non_cftime_data1]", "xarray/tests/test_dataarray.py...
[]
Apache License 2.0
eve-val__evelink-212
db9e7bfeef9478a047f4f7db4f88324e185e4873
2015-06-01T04:28:15
4061903e92787ce22eddb75b3776c407fb70837b
diff --git a/evelink/char.py b/evelink/char.py index 609d76d..0514dc6 100644 --- a/evelink/char.py +++ b/evelink/char.py @@ -137,7 +137,7 @@ class Char(object): """Get a list of PI routing entries for a character's planet.""" return api.APIResult(parse_planetary_routes(api_result.result), api_result.t...
kills() uses KillLog rather than KillMails KillLog is a long cache endpoint, so you can only query it once. KillMails isn't a long cache, so you can query it as often as you want.
eve-val/evelink
diff --git a/tests/test_char.py b/tests/test_char.py index ca37666..64e3631 100644 --- a/tests/test_char.py +++ b/tests/test_char.py @@ -291,6 +291,23 @@ class CharTestCase(APITestCase): self.assertEqual(current, 12345) self.assertEqual(expires, 67890) + self.assertEqual(result, mock.sentinel...
{ "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, "num_modified_files": 2 }
0.6
{ "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", "nose", "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": ...
certifi==2025.1.31 charset-normalizer==3.4.1 -e git+https://github.com/eve-val/evelink.git@db9e7bfeef9478a047f4f7db4f88324e185e4873#egg=EVELink exceptiongroup==1.2.2 idna==3.10 iniconfig==2.1.0 mock==1.0b1 nose==1.1.2 packaging==24.2 pluggy==1.5.0 pytest==8.3.5 requests==2.32.3 six==1.17.0 tomli==2.2.1 urllib3==2.3.0
name: evelink 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_char.py::CharTestCase::test_kill_log", "tests/test_char.py::CharTestCase::test_kills", "tests/test_char.py::CharTestCase::test_kills_paged", "tests/test_corp.py::CorpTestCase::test_kill_log", "tests/test_corp.py::CorpTestCase::test_kills" ]
[]
[ "tests/test_char.py::CharTestCase::test_assets", "tests/test_char.py::CharTestCase::test_blueprints", "tests/test_char.py::CharTestCase::test_calendar_attendees", "tests/test_char.py::CharTestCase::test_calendar_events", "tests/test_char.py::CharTestCase::test_character_sheet", "tests/test_char.py::CharTe...
[]
MIT License
KIT-IAI__pyWATTS-130
dc1e9dac80b60bae3d289f84e4d741cc00d7c047
2021-07-09T09:43:39
740e4cf2a6b5b4f442bd116b245762d63d90e938
diff --git a/CHANGELOG.md b/CHANGELOG.md index 942a369..707f3cf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,9 +20,11 @@ ### Changed * Remove parameter step.stop. Instead we call the method _should_stop on the previous steps. ([#25](https://github.com/KIT-IAI/pyWATTS/issues/25)) +* Change metrics to summarie...
Change metrics to Summaries Change the metrics max/min error and MAE to summaries. Their rolling functionality should be implemented like rollingRMSE
KIT-IAI/pyWATTS
diff --git a/tests/unit/modules/test_linear_interpolation.py b/tests/unit/modules/test_linear_interpolation.py index 364b8e5..439e3f6 100644 --- a/tests/unit/modules/test_linear_interpolation.py +++ b/tests/unit/modules/test_linear_interpolation.py @@ -42,13 +42,13 @@ class TestLinearInterpolater(unittest.TestCase): ...
{ "commit_name": "merge_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, "num_modified_files": 6 }
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...
absl-py==2.2.1 alabaster==0.7.16 astroid==3.3.9 astunparse==1.6.3 babel==2.17.0 certifi==2025.1.31 charset-normalizer==3.4.1 cloudpickle==3.1.1 contourpy==1.3.0 convertdate==2.4.0 coverage==7.8.0 cycler==0.12.1 dill==0.3.9 docutils==0.21.2 exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work flatbuffers==25...
name: pyWATTS 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/unit/modules/test_linear_interpolation.py::TestLinearInterpolater::test_get_params", "tests/unit/modules/test_linear_interpolation.py::TestLinearInterpolater::test_set_params", "tests/unit/modules/test_linear_interpolation.py::TestLinearInterpolater::test_transform", "tests/unit/modules/test_mean_absol...
[]
[]
[]
MIT License
pydap__pydap-360
a83954d1f1feae9cd4d70edd2066c379c51a3926
2024-08-27T14:32:21
4ff18b2248b983ed0bd3e3d52c7d996daf2e5fbd
diff --git a/src/pydap/model.py b/src/pydap/model.py index 649d68e..11bc0ba 100644 --- a/src/pydap/model.py +++ b/src/pydap/model.py @@ -891,13 +891,13 @@ class GroupType(StructureType): """ - def __setitem__(self, key, item, dimensions=None): + def __setitem__(self, key, item, dimensions=dict()): ...
dimensions are not being defined at the Group/subgroup level <!-- Thank you very much for your input! --> ### Description `pydap`'s`GroupType` does not have dimensions as a property/method. This is, ```python Group.dimensions ``` yields a `AttributeError: '<class 'pydap.model.GroupType'>' object has no at...
pydap/pydap
diff --git a/src/pydap/tests/datasets.py b/src/pydap/tests/datasets.py index 116b595..a225116 100644 --- a/src/pydap/tests/datasets.py +++ b/src/pydap/tests/datasets.py @@ -227,9 +227,9 @@ SimpleGrid["y"] = SimpleGrid["SimpleGrid"]["y"] = BaseType( SimpleGroup = DatasetType( "example dataset", description="A...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 3 }
3.5
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[server,netcdf]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pip", "pip_packages": [ "pytest", "pytest-cov", "pytest-attrib", "requests-mock", "WebTest", "flake8", "werkzeug>=2.2.2", ...
beautifulsoup4==4.13.3 certifi==2025.1.31 cffi==1.17.1 cftime==1.6.4.post1 charset-normalizer==3.4.1 coards==1.0.5 coverage==7.8.0 cryptography==44.0.2 docopt-ng==0.9.0 exceptiongroup==1.2.2 flake8==7.2.0 gsw==3.6.19 gunicorn==23.0.0 idna==3.10 importlib_metadata==8.6.1 importlib_resources==6.5.2 iniconfig==2.1.0 Jinja...
name: pydap 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 - bzip2=1.0.8=h5eee18b_6 - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h...
[ "src/pydap/tests/test_parsers_dmr.py::DMRParser::test_jpl", "src/pydap/tests/test_parsers_dmr.py::DMRParser::test_mod05", "src/pydap/tests/test_parsers_dmr.py::DMRParser::tests_global_dimensions", "src/pydap/tests/test_parsers_dmr.py::DMRParser::tests_named_dimension" ]
[]
[ "src/pydap/tests/test_parsers_dmr.py::DMRParser::test_SWOT", "src/pydap/tests/test_parsers_dmr.py::DMRParser::test_atl03", "src/pydap/tests/test_parsers_dmr.py::DMRParser::test_attribute_warning", "src/pydap/tests/test_parsers_dmr.py::DMRParser::test_coads_climatology2", "src/pydap/tests/test_parsers_dmr.py...
[]
MIT License
astropenguin__azely-42
2a7707aaff6ae4d3d2e5fd2fcfd3ba0814936282
2022-11-03T08:51:07
2a7707aaff6ae4d3d2e5fd2fcfd3ba0814936282
diff --git a/.zenodo.json b/.zenodo.json deleted file mode 100644 index 71bee5d..0000000 --- a/.zenodo.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "creators": [ - { - "name": "Akio Taniguchi", - "affiliation": "Nagoya University", - "orcid": "0000-0002-9695-6183" - } - ]...
Release v0.7.0
astropenguin/azely
diff --git a/tests/test_metadata.py b/tests/test_metadata.py index 230a979..defb513 100644 --- a/tests/test_metadata.py +++ b/tests/test_metadata.py @@ -5,7 +5,7 @@ import azely # test functions def test_version(): """Make sure the version is valid.""" - assert azely.__version__ == "0.6.0" + assert azely._...
{ "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_test_patch": true, "is_lite": false, "num_modified_files": 5 }
0.6
{ "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...
astropy==5.3.4 -e git+https://github.com/astropenguin/azely.git@2a7707aaff6ae4d3d2e5fd2fcfd3ba0814936282#egg=azely certifi==2025.1.31 cffi==1.17.1 charset-normalizer==3.4.1 exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work h3==4.2.2 idna==3.10 iniconfig @ file:///home/linux1/recipes/ci/iniconfig_16109830...
name: azely 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_metadata.py::test_version" ]
[]
[ "tests/test_metadata.py::test_author" ]
[]
MIT License
numpy__numpydoc-101
057ef572dd5ea547af2832e1b68d934cf953eafe
2017-07-19T19:19:01
8c1e85c746d1c95b9433b2ae97057b7f447c83d1
diff --git a/numpydoc/docscrape.py b/numpydoc/docscrape.py index 074a7f7..45883d0 100644 --- a/numpydoc/docscrape.py +++ b/numpydoc/docscrape.py @@ -136,7 +136,7 @@ class NumpyDocString(collections.Mapping): def __setitem__(self, key, val): if key not in self._parsed_data: - warn("Unknown sec...
Unknown Section error has no context. Similar to #95 the "Unknown section: X" error has no context, making it really hard to find and fix :-/
numpy/numpydoc
diff --git a/numpydoc/tests/test_docscrape.py b/numpydoc/tests/test_docscrape.py index 297a0ac..2dc45e3 100644 --- a/numpydoc/tests/test_docscrape.py +++ b/numpydoc/tests/test_docscrape.py @@ -3,6 +3,7 @@ from __future__ import division, absolute_import, print_function import sys import textwrap +import warnings ...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 1 }
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": [ "nose", "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.6", "re...
alabaster==0.7.13 attrs==22.2.0 Babel==2.11.0 certifi==2021.5.30 charset-normalizer==2.0.12 docutils==0.18.1 idna==3.10 imagesize==1.4.1 importlib-metadata==4.8.3 iniconfig==1.1.1 Jinja2==3.0.3 MarkupSafe==2.0.1 nose==1.3.7 -e git+https://github.com/numpy/numpydoc.git@057ef572dd5ea547af2832e1b68d934cf953eafe#egg=numpyd...
name: numpydoc 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...
[ "numpydoc/tests/test_docscrape.py::test_unknown_section" ]
[]
[ "numpydoc/tests/test_docscrape.py::test_signature", "numpydoc/tests/test_docscrape.py::test_summary", "numpydoc/tests/test_docscrape.py::test_extended_summary", "numpydoc/tests/test_docscrape.py::test_parameters", "numpydoc/tests/test_docscrape.py::test_other_parameters", "numpydoc/tests/test_docscrape.py...
[]
BSD License
matplotlib__matplotlib-14313
65e53edf2162ae688d9cd6c15cb0e16b6abb7264
2019-05-24T19:44:12
e4dbf4e7b5241e7d74f79adc854f84a954b45e8f
diff --git a/lib/matplotlib/colors.py b/lib/matplotlib/colors.py index 859f29b905..f90fb35a0d 100644 --- a/lib/matplotlib/colors.py +++ b/lib/matplotlib/colors.py @@ -152,7 +152,7 @@ def to_rgba(c, alpha=None): Parameters ---------- - c : Matplotlib color + c : Matplotlib color or ``np.ma.masked`` ...
scatter() fails on nan-containing input when providing edgecolor ### Bug report **Bug summary** Providing ``ax.scatter()`` with coordinates containing ``np.nan`` fails when providing ``edgecolor`` argument (but works when omitting it). Probably related to #12801 and #12422 introduced in 3.1.0, as it runs as expec...
matplotlib/matplotlib
diff --git a/lib/matplotlib/tests/test_colors.py b/lib/matplotlib/tests/test_colors.py index 97b8a5e2e2..6721053f3e 100644 --- a/lib/matplotlib/tests/test_colors.py +++ b/lib/matplotlib/tests/test_colors.py @@ -821,6 +821,16 @@ def test_conversions(): hex_color +def test_conversions_masked(): + x1 = np....
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_issue_reference", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 1 }
3.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", "pytest-cov", "pytest-xdist", "pytest-mock", "pytest-asyncio" ], "pre_install": [ "apt-get updat...
coverage==7.8.0 cycler==0.12.1 exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work execnet==2.1.1 iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work kiwisolver==1.4.7 -e git+https://github.com/matplotlib/matplotlib.git@65e53edf2162ae688d9cd6c15cb0e16b6abb7264#egg=matplotlib numpy==2.0....
name: matplotlib 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 - ...
[ "lib/matplotlib/tests/test_colors.py::test_conversions_masked" ]
[ "lib/matplotlib/tests/test_colors.py::test_colormap_endian", "lib/matplotlib/tests/test_colors.py::test_BoundaryNorm", "lib/matplotlib/tests/test_colors.py::test_cmap_and_norm_from_levels_and_colors[png]", "lib/matplotlib/tests/test_colors.py::test_rgb_hsv_round_trip", "lib/matplotlib/tests/test_colors.py::...
[ "lib/matplotlib/tests/test_colors.py::test_makeMappingArray[5-result0]", "lib/matplotlib/tests/test_colors.py::test_makeMappingArray[2-result1]", "lib/matplotlib/tests/test_colors.py::test_makeMappingArray[1-result2]", "lib/matplotlib/tests/test_colors.py::test_resample", "lib/matplotlib/tests/test_colors.p...
[]
null
googleapis__python-bigquery-498
d5735ea378eaeea8c0ecbed89daf02f5102c6a63
2021-01-28T20:54:12
d5735ea378eaeea8c0ecbed89daf02f5102c6a63
google-cla[bot]: Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). :memo: **Please visit <https://cla.developers.google.com/>...
diff --git a/google/cloud/bigquery/dbapi/connection.py b/google/cloud/bigquery/dbapi/connection.py index 300c77dc..459fc82a 100644 --- a/google/cloud/bigquery/dbapi/connection.py +++ b/google/cloud/bigquery/dbapi/connection.py @@ -76,7 +76,8 @@ class Connection(object): self._bqstorage_client._transport.gr...
Closing a connection tries to close already closed cursors When closing a connection the library will call `.close()` on every cursor created for that connection, including closed ones. While the code works, it produces a lot of logs of error level, polluting the logs. #### Environment details - OS type and ver...
googleapis/python-bigquery
diff --git a/tests/unit/test_dbapi_connection.py b/tests/unit/test_dbapi_connection.py index edec559b..74da318b 100644 --- a/tests/unit/test_dbapi_connection.py +++ b/tests/unit/test_dbapi_connection.py @@ -176,6 +176,22 @@ class TestConnection(unittest.TestCase): self.assertTrue(cursor_1._closed) sel...
{ "commit_name": "merge_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "num_modified_files": 1 }
2.7
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[all]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "mock", "google-cloud-testutils" ], "pre_install": null, "python": "3.9", "reqs_path": [ "...
cachetools==5.5.2 certifi==2025.1.31 charset-normalizer==3.4.1 click==8.1.8 exceptiongroup==1.2.2 google-api-core==1.34.1 google-auth==2.38.0 -e git+https://github.com/googleapis/python-bigquery.git@d5735ea378eaeea8c0ecbed89daf02f5102c6a63#egg=google_cloud_bigquery google-cloud-bigquery-storage==2.30.0 google-cloud-cor...
name: python-bigquery 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/unit/test_dbapi_connection.py::TestConnection::test_close_closes_only_open_created_cursors" ]
[]
[ "tests/unit/test_dbapi_connection.py::TestConnection::test_close_closes_all_created_bigquery_clients", "tests/unit/test_dbapi_connection.py::TestConnection::test_close_closes_all_created_cursors", "tests/unit/test_dbapi_connection.py::TestConnection::test_close_does_not_close_bigquery_clients_passed_to_it", "...
[]
Apache License 2.0
duqtools__duqtools-647
298e9a7435f510af5bd70cbf015f5afbe717b6f8
2023-06-26T08:25:33
cfa65d010642820ae17a299d63c5754d0f1307ea
diff --git a/src/duqtools/utils.py b/src/duqtools/utils.py index 81e84bf..ed23e91 100644 --- a/src/duqtools/utils.py +++ b/src/duqtools/utils.py @@ -35,7 +35,7 @@ def work_directory(path: PathLike): os.chdir(prev_cwd) -def read_imas_handles_from_file(inp: PathLike, ) -> dict[str, ImasHandle]: +def read_ima...
duqtools dash no longer working on Gateway I receive the following error when running `duqtools dash` on the Gateway, using the `firefox/latest` module for the browser. ``` Traceback (most recent call last): File "/afs/eufus.eu/user/g/g2aho/.local/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_...
duqtools/duqtools
diff --git a/tests/test_data.py b/tests/test_data.py new file mode 100644 index 0000000..db7fa56 --- /dev/null +++ b/tests/test_data.py @@ -0,0 +1,23 @@ +from pytest import TEST_DATA + +from duqtools.api import ImasHandle +from duqtools.utils import read_imas_handles_from_file + + +def _check_data_csv(data_csv: str, le...
{ "commit_name": "merge_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "num_modified_files": 1 }
1.9
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[develop]", "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.10", "reqs...
altair==5.0.1 asttokens==3.0.0 attrs==25.3.0 blinker==1.9.0 bump2version==1.0.1 cachetools==5.5.2 Cerberus==1.3.7 certifi==2025.1.31 cfgv==3.4.0 charset-normalizer==3.4.1 click==8.1.3 comm==0.2.2 contourpy==1.3.1 coverage==7.2.7 cycler==0.12.1 debugpy==1.8.13 decorator==5.2.1 Deprecated==1.2.18 distlib==0.3.9 docker==7...
name: duqtools 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 - bzip2=1.0.8=h5eee18b_6 - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4....
[ "tests/test_data.py::test_data_csv_5_col" ]
[]
[ "tests/test_data.py::test_data_csv_4_col" ]
[]
Apache License 2.0
automl__SMAC3-418
a83dcd7169ea5141ca20cc47e25a38a423e2820d
2018-04-27T11:27:11
f710fa60dbf2c64e42ce14aa0eb529f92378560a
codecov-io: # [Codecov](https://codecov.io/gh/automl/SMAC3/pull/418?src=pr&el=h1) Report > Merging [#418](https://codecov.io/gh/automl/SMAC3/pull/418?src=pr&el=desc) into [development](https://codecov.io/gh/automl/SMAC3/commit/2c259a0f3f67e43ee1674efb8c85d5ac8cec6e71?src=pr&el=desc) will **increase** coverage by `0.3%`...
diff --git a/README.md b/README.md index 59ed9407c..797a06a81 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,12 @@ # SMAC v3 Project -Copyright (C) 2017 [ML4AAD Group](http://www.ml4aad.org/) +Copyright (C) 2016-2018 [ML4AAD Group](http://www.ml4aad.org/) -__Attention__: This package is under heavy developmen...
Add seed to output directory name In order to have an overview of what has been run one would sometimes like to know the seed of previous runs. One solution would be to store it in the output directory name, but this isn't as easy as it sounds as the scenario object does not know the seed for the SMAC object.
automl/SMAC3
diff --git a/test/test_facade/test_smac_facade.py b/test/test_facade/test_smac_facade.py index 81b7e0f55..bc66013e5 100644 --- a/test/test_facade/test_smac_facade.py +++ b/test/test_facade/test_smac_facade.py @@ -2,6 +2,7 @@ from contextlib import suppress import os import shutil import unittest +import unittest.moc...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 4 }
0.8
{ "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": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y build-essential swig" ], "python": ...
alabaster==0.7.13 attrs==22.2.0 Babel==2.11.0 certifi==2021.5.30 charset-normalizer==2.0.12 ConfigSpace==0.4.19 Cython==3.0.12 docutils==0.18.1 idna==3.10 imagesize==1.4.1 importlib-metadata==4.8.3 iniconfig==1.1.1 Jinja2==3.0.3 joblib==1.1.1 MarkupSafe==2.0.1 nose==1.3.7 numpy==1.19.5 packaging==21.3 pluggy==1.0.0 psu...
name: SMAC3 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...
[ "test/test_facade/test_smac_facade.py::TestSMACFacade::test_check_random_states", "test/test_smbo/test_smbo.py::TestSMBO::test_rng" ]
[]
[ "test/test_facade/test_smac_facade.py::TestSMACFacade::test_check_deterministic_rosenbrock", "test/test_facade/test_smac_facade.py::TestSMACFacade::test_get_runhistory_and_trajectory_and_tae_runner", "test/test_facade/test_smac_facade.py::TestSMACFacade::test_inject_dependencies", "test/test_facade/test_smac_...
[]
BSD 3-Clause License
gammapy__gammapy-5028
6321261682b83528858a57baa34fd21b1100b9f4
2024-01-19T13:55:09
90459a5bb99d7b22f0230627c05268d94212ffbc
diff --git a/gammapy/modeling/models/cube.py b/gammapy/modeling/models/cube.py index 72f034d44..9640cff1e 100644 --- a/gammapy/modeling/models/cube.py +++ b/gammapy/modeling/models/cube.py @@ -1004,7 +1004,7 @@ class TemplateNPredModel(ModelBase): elif os.path.isfile(make_path(self.filename)) and not overwrite...
Writing of TemplateNPredModel allows no overwrite The option `overwrite` is not passed to this line https://github.com/gammapy/gammapy/blob/6321261682b83528858a57baa34fd21b1100b9f4/gammapy/modeling/models/cube.py#L1007 As a result an error is raised if the map is already written and one cannot overwrite it even if t...
gammapy/gammapy
diff --git a/gammapy/modeling/models/tests/test_cube.py b/gammapy/modeling/models/tests/test_cube.py index 1cfcc2de6..a75e0a09f 100644 --- a/gammapy/modeling/models/tests/test_cube.py +++ b/gammapy/modeling/models/tests/test_cube.py @@ -250,6 +250,7 @@ def test_background_model_io(tmpdir, background): filename = s...
{ "commit_name": "head_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "num_modified_files": 1 }
1.0
{ "env_vars": null, "env_yml_path": [ "environment-dev.yml" ], "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "environment.yml", "pip_packages": null, "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.9", ...
aiohappyeyeballs==2.6.1 aiohttp==3.11.14 aiohttp-cors==0.8.0 aiosignal==1.3.2 alabaster @ file:///home/conda/feedstock_root/build_artifacts/alabaster_1704848697227/work algopy @ file:///home/conda/feedstock_root/build_artifacts/algopy_1720279197995/work annotated-types @ file:///home/conda/feedstock_root/build_artifact...
name: gammapy channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=conda_forge - _openmp_mutex=4.5=2_gnu - _python_abi3_support=1.0=hd8ed1ab_1 - alabaster=0.7.16=pyhd8ed1ab_0 - algopy=0.6.1=pyhd8ed1ab_0 - alsa-l...
[ "gammapy/modeling/models/tests/test_cube.py::test_background_model_io" ]
[]
[ "gammapy/modeling/models/tests/test_cube.py::test_sky_model_spatial_none_io", "gammapy/modeling/models/tests/test_cube.py::test_sky_model_spatial_none_evaluate", "gammapy/modeling/models/tests/test_cube.py::test_skymodel_addition", "gammapy/modeling/models/tests/test_cube.py::test_background_model", "gammap...
[]
BSD 3-Clause "New" or "Revised" License
tailhook__injections-6
680d3403f0086e0a94d69604bba0bfcbd9596014
2015-07-16T17:37:03
680d3403f0086e0a94d69604bba0bfcbd9596014
diff --git a/injections/__init__.py b/injections/__init__.py index 47bdc0d..dce8a9e 100644 --- a/injections/__init__.py +++ b/injections/__init__.py @@ -1,6 +1,7 @@ from .core import ( Container, Dependency, + MissingDependencyError, has, depends, propagate, @@ -11,6 +12,7 @@ from .core imp...
Use custom exception for injecting container into object with unknown dependencies I have a class ``` @has class A: redis = depends(Redis) loop = depends(AbstractLoop) ``` When I try to initialize it from container with missing dependencies I have a `KeyError`. ``` inj = Container() inj['redis'] = c...
tailhook/injections
diff --git a/injections/test_core.py b/injections/test_core.py index 2e9aabe..06006cd 100644 --- a/injections/test_core.py +++ b/injections/test_core.py @@ -126,3 +126,21 @@ class TestCore(TestCase): c['name'] = 1 with self.assertRaises(TypeError): c.inject(self.Consumer()) + + def tes...
{ "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, "num_modified_files": 3 }
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": [ "nose", "pytest" ], "pre_install": null, "python": "3.4", "reqs_path": null, "test_cmd": "pytest --no-header -rA --tb=lin...
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 -e git+https://github.com/tailhook/injections.git@680d3403f0086e0a94d69604bba0bfcb...
name: injections 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 - import...
[ "injections/test_core.py::TestCore::test_missing_dependency" ]
[]
[ "injections/test_core.py::TestCore::test_clone", "injections/test_core.py::TestCore::test_cyclic", "injections/test_core.py::TestCore::test_interconnect", "injections/test_core.py::TestCore::test_larger_cycle", "injections/test_core.py::TestCore::test_ok", "injections/test_core.py::TestCore::test_wrong_ty...
[]
MIT License
dephell__dephell_specifier-8
9153083a7463b7390c3efb09713e65a909e08cd7
2019-07-07T15:26:53
20855b9e070f79fd72741af118cb85ff234a6efe
diff --git a/dephell_specifier/constants.py b/dephell_specifier/constants.py index 6895c4b..7060a13 100644 --- a/dephell_specifier/constants.py +++ b/dephell_specifier/constants.py @@ -13,4 +13,4 @@ PYTHONS_POPULAR = ('3.5', '3.6', '3.7') PYTHONS_UNRELEASED = ('3.8', '4.0') PYTHONS = PYTHONS_POPULAR + PYTHONS_DEPRECA...
Retrieving input out of Specifier('==1.0-1') `str(Specifier('==1.0-1'))` is `==1.0-1` however `str(Specifier('==1.0-1').version)` is `1.0.post1` To get `1.0-1` back out, I need to do `str(Specifier('==1.0-1')._spec.version)` `1.0-1` is `1.0.post1` in equivalent in recent versions of Python libraries, but does...
dephell/dephell_specifier
diff --git a/tests/test_range_specifier.py b/tests/test_range_specifier.py index b0b4c21..755bbed 100644 --- a/tests/test_range_specifier.py +++ b/tests/test_range_specifier.py @@ -12,6 +12,7 @@ from dephell_specifier import RangeSpecifier ('===', [0, 1, 0]), ('>=', [0, 1, 1]), ('>', [0, 0, 1]), + ...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 3 }
.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": [ "pytest", "pytest-cov", "pytest-xdist", "pytest-mock", "pytest-asyncio" ], "pre_install": null, "python": "3.6", ...
attrs @ file:///opt/conda/conda-bld/attrs_1642510447205/work certifi==2021.5.30 coverage==6.2 execnet==1.9.0 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-iter...
name: dephell_specifier 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 -...
[ "tests/test_range_specifier.py::test_simple[!=-mask6]" ]
[]
[ "tests/test_range_specifier.py::test_simple[<-mask0]", "tests/test_range_specifier.py::test_simple[<=-mask1]", "tests/test_range_specifier.py::test_simple[==-mask2]", "tests/test_range_specifier.py::test_simple[===-mask3]", "tests/test_range_specifier.py::test_simple[>=-mask4]", "tests/test_range_specifie...
[]
MIT License
benjamincorcoran__sasdocs-5
e89745837421fd33469de903650aaf881110d891
2019-12-28T13:42:09
e89745837421fd33469de903650aaf881110d891
diff --git a/sasdocs/objects.py b/sasdocs/objects.py index b625e6e..5208195 100644 --- a/sasdocs/objects.py +++ b/sasdocs/objects.py @@ -507,6 +507,19 @@ class macro: def __attrs_post_init__(self): self.contents = [obj for obj in self.contents if obj != '\n'] + about = [] + for obj in ...
Give Macro object an about attribute # Issue Macro object needs an `about` attribute capturing the documentation of the macro variable. This should be the first set of comments *inside* the macro. The comments need to be collapsed into a single string object.
benjamincorcoran/sasdocs
diff --git a/tests/test_objects.py b/tests/test_objects.py index 7249a1f..515899d 100644 --- a/tests/test_objects.py +++ b/tests/test_objects.py @@ -149,10 +149,20 @@ testcases = [ ] @pytest.mark.parametrize("case,expected", testcases) -def test_macro_parse(case, expected): - +def test_macro_about_parse(case, ...
{ "commit_name": "head_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "num_modified_files": 1 }
unknown
{ "env_vars": null, "env_yml_path": null, "install": "pip install .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.7", "reqs_path": [ "requirements.txt" ], "test_cmd": "pytest --no-...
attrs==24.2.0 certifi @ file:///croot/certifi_1671487769961/work/certifi exceptiongroup==1.2.2 importlib-metadata==6.7.0 iniconfig==2.0.0 packaging==24.0 parsy==2.1 pluggy==1.2.0 pytest==7.4.4 sasdocs @ file:///sasdocs tomli==2.0.1 typing_extensions==4.7.1 zipp==3.15.0
name: sasdocs 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 - li...
[ "tests/test_objects.py::test_macro_parse[%macro" ]
[]
[ "tests/test_objects.py::test_sasname_parse[test-expected0]", "tests/test_objects.py::test_sasname_parse[&test-expected1]", "tests/test_objects.py::test_sasname_parse[&test.-expected2]", "tests/test_objects.py::test_sasname_parse[&&test&test.-expected3]", "tests/test_objects.py::test_sasname_parse[ab&test-ex...
[]
MIT License
mercadona__rele-128
7688716504fe76099e4815c2edd5af0137d3c09e
2019-11-26T15:50:56
7688716504fe76099e4815c2edd5af0137d3c09e
diff --git a/AUTHORS.md b/AUTHORS.md index 35ad7a4..fda3f98 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -3,10 +3,11 @@ Thank you to all the contributors to Relé! * Andrew Graham-Yooll (@andrewgy8) * Miquel Torres Barcelo (@tobami) * Edgar Latorre (@edgarlatorre) -* Lluis Guirado (@LluisGuiVi) -* Daniel Ruiz (@dani-...
Add message attributes to metrics log ## What? Logging middleware logs next properties under `metrics`: 1. `agent` 1. `topic` 1. `status` 1. `subscription` For example, `succeeded` message (`contrib.logging_middleware.LoggingMiddleware.post_process_message_success`). ``` "levelname": "INFO", "mess...
mercadona/rele
diff --git a/tests/test_middleware.py b/tests/test_middleware.py new file mode 100644 index 0000000..0b4c634 --- /dev/null +++ b/tests/test_middleware.py @@ -0,0 +1,26 @@ +import pytest +import rele +from unittest.mock import patch + + +class TestMiddleware: + @pytest.fixture + def mock_init_global_publisher(self...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_added_files", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 3 }
0.8
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[django]", "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...
asgiref==3.8.1 cachetools==5.5.2 certifi==2025.1.31 charset-normalizer==3.4.1 Deprecated==1.2.18 Django==4.2.20 exceptiongroup==1.2.2 google-api-core==2.24.2 google-auth==2.38.0 google-cloud-pubsub==2.29.0 googleapis-common-protos==1.69.2 grpc-google-iam-v1==0.14.2 grpcio==1.71.0 grpcio-status==1.71.0 idna==3.10 import...
name: rele 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_middleware.py::TestMiddleware::test_setup_fn_is_called_with_kwargs" ]
[ "tests/test_subscription.py::TestSubscription::test_executes_callback_when_called" ]
[ "tests/test_subscription.py::TestSubscription::test_subs_return_subscription_objects", "tests/test_subscription.py::TestSubscription::test_subs_without_prefix_return_subscription_objects", "tests/test_subscription.py::TestSubscription::test_sub_executes_when_message_attributes_match_criteria", "tests/test_sub...
[]
Apache License 2.0
sphinx-doc__sphinx-6506
673922b055abff55627ae9e0579ab07513f78cdb
2019-06-18T16:06:36
4a1df77e33f4d98c936837d8ab3cd750ef251772
diff --git a/CHANGES b/CHANGES index e5c83ddb0..088fae434 100644 --- a/CHANGES +++ b/CHANGES @@ -41,6 +41,7 @@ Bugs fixed * #5502: linkcheck: Consider HTTP 503 response as not an error * #6439: Make generated download links reproducible * #6486: UnboundLocalError is raised if broken extension installed +* #6498: aut...
autosummary crashes with wrong autosummary_generate **Describe the bug** Sphinx and autosummary are crashed if autosummary_generate has wrong value. **To Reproduce** Steps to reproduce the behavior: ``` .. autosummary:: :toctree: generated example.Base ``` ``` autosummary_generate = ['foo'] extensi...
sphinx-doc/sphinx
diff --git a/tests/roots/test-images/index.rst b/tests/roots/test-images/index.rst index 14a2987a0..67b742b27 100644 --- a/tests/roots/test-images/index.rst +++ b/tests/roots/test-images/index.rst @@ -26,4 +26,4 @@ test-image .. image:: https://www.python.org/static/img/python-logo.png .. non-exist remote image -.....
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 3 }
2.1
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[test]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y graphviz" ], "python": "3.6", "reqs_path": n...
alabaster==0.7.13 attrs @ file:///opt/conda/conda-bld/attrs_1642510447205/work Babel==2.11.0 certifi==2021.5.30 charset-normalizer==2.0.12 coverage==6.2 docutils==0.18.1 docutils-stubs==0.0.22 flake8==5.0.4 flake8-import-order==0.18.2 html5lib==1.1 idna==3.10 imagesize==1.4.1 importlib-metadata==4.2.0 iniconfig @ file:...
name: sphinx 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_ext_autosummary.py::test_invalid_autosummary_generate" ]
[ "tests/test_build_html.py::test_html_warnings", "tests/test_build_html.py::test_html5_output[markup.html-expect64]", "tests/test_build_html.py::test_html5_output[markup.html-expect78]", "tests/test_build_html.py::test_html5_output[index.html-expect133]", "tests/test_build_html.py::test_html5_output[index.ht...
[ "tests/test_build_html.py::test_html4_output", "tests/test_build_html.py::test_html5_output[images.html-expect0]", "tests/test_build_html.py::test_html5_output[images.html-expect1]", "tests/test_build_html.py::test_html5_output[images.html-expect2]", "tests/test_build_html.py::test_html5_output[images.html-...
[]
BSD-2-Clause
tox-dev__tox-2000
2b7f522d356cafb24e29d255b0d44bc5c561df29
2021-04-06T16:08:32
72245f2a84beafa04f82c031137b484b2575a940
codecov[bot]: # [Codecov](https://codecov.io/gh/tox-dev/tox/pull/2000?src=pr&el=h1) Report > Merging [#2000](https://codecov.io/gh/tox-dev/tox/pull/2000?src=pr&el=desc) (3f2eec8) into [rewrite](https://codecov.io/gh/tox-dev/tox/commit/00723c507f37e99bd78edc82aa389c5af396b762?el=desc) (00723c5) will **increase** coverag...
diff --git a/docs/changelog/1985.bugfix.rst b/docs/changelog/1985.bugfix.rst new file mode 100644 index 00000000..62d49a53 --- /dev/null +++ b/docs/changelog/1985.bugfix.rst @@ -0,0 +1,2 @@ +Enable replacements (a.k.a section substitions) for section names containing a dash in sections +without the ``testenv:`` prefix ...
tox4: substituting values from other sections seems to not work Hi, I gave a try new tox alpha release (tox-4.0.0a6) and I found one issue with tox not respecting values substitution from other sections. I do not see any references to this section in the documentation anymore so maybe it is something you want to get ri...
tox-dev/tox
diff --git a/tests/config/loader/ini/replace/test_replace_tox_env.py b/tests/config/loader/ini/replace/test_replace_tox_env.py index a111495a..1116214b 100644 --- a/tests/config/loader/ini/replace/test_replace_tox_env.py +++ b/tests/config/loader/ini/replace/test_replace_tox_env.py @@ -151,3 +151,18 @@ def test_replace...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_added_files" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 1 }
3.23
{ "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-xdist", "pytest-mock", "pytest-asyncio" ], "pre_install": null, ...
anyio==4.9.0 appdirs==1.4.4 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 attrs==25.3.0 build==1.2.2.post1 cachetools==5.5.2 certifi==2025.1.31 cffi==1.17.1 charset-normalizer==3.4.1 check-manifest==0.50 colorama==0.4.6 covdefaults==2.3.0 coverage==7.8.0 defusedxml==0.7.1 devpi-client==7.2.0 devpi-common==4.0.4 devp...
name: tox 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/config/loader/ini/replace/test_replace_tox_env.py::test_replace_valid_section_names[foo-bar-1]" ]
[]
[ "tests/config/loader/ini/replace/test_replace_tox_env.py::test_replace_within_tox_env", "tests/config/loader/ini/replace/test_replace_tox_env.py::test_replace_within_tox_env_missing_raises", "tests/config/loader/ini/replace/test_replace_tox_env.py::test_replace_within_tox_env_missing_default", "tests/config/l...
[]
MIT License
stitchfix__nodebook-8
b6e1ec614fd39acb740b04e99ee7e97d99122420
2017-10-21T23:04:18
46211e90955f3388a22e2a2132bb895814260f9a
diff --git a/nodebook/nodebookcore.py b/nodebook/nodebookcore.py index 98b5cdc..ddae374 100644 --- a/nodebook/nodebookcore.py +++ b/nodebook/nodebookcore.py @@ -46,6 +46,9 @@ class ReferenceFinder(ast.NodeVisitor): self.locals.add(node.name) self.generic_visit(node) + def visit_arg(self, node): +...
Functions don't work in nodebook in py3 Because of changes to the ast in Python 3, functions no longer are parsed correctly. Eg, from @hacktuarial: ``` def add(a, b): return a + b ``` nodebook throws an error: ``` KeyError: "name 'a' is not defined" ```
stitchfix/nodebook
diff --git a/tests/test_nodebookcore.py b/tests/test_nodebookcore.py index cfd9646..470121c 100644 --- a/tests/test_nodebookcore.py +++ b/tests/test_nodebookcore.py @@ -42,6 +42,16 @@ class TestReferenceFinder(object): assert rf.locals == {'pd', 'y'} assert rf.imports == {'pandas'} + def test_fun...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_modified_files" ], "has_test_patch": true, "is_lite": false, "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": "pytest", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.9", "reqs_path": null, ...
anyio==4.9.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 asttokens==3.0.0 async-lru==2.0.5 attrs==25.3.0 babel==2.17.0 beautifulsoup4==4.13.3 bleach==6.2.0 certifi==2025.1.31 cffi==1.17.1 charset-normalizer==3.4.1 click==8.1.8 comm==0.2.2 debugpy==1.8.13 decorator==5.2.1 defusedxml==0.7.1 dill==0.3.9 ...
name: nodebook 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_nodebookcore.py::TestReferenceFinder::test_function" ]
[]
[ "tests/test_nodebookcore.py::TestReferenceFinder::test_assign", "tests/test_nodebookcore.py::TestReferenceFinder::test_augassign", "tests/test_nodebookcore.py::TestReferenceFinder::test_import", "tests/test_nodebookcore.py::TestReferenceFinder::test_multiline", "tests/test_nodebookcore.py::TestNodebook::tes...
[]
Apache License 2.0
SpikeInterface__spikeinterface-2775
c6f8f1fae2ed8fa80b59c42cf8d1cff523b3c754
2024-04-29T11:15:42
b3383575feade4bf70d623937d6ea2db9cd05b37
diff --git a/src/spikeinterface/core/sortinganalyzer.py b/src/spikeinterface/core/sortinganalyzer.py index 9edb52787..85ea9b843 100644 --- a/src/spikeinterface/core/sortinganalyzer.py +++ b/src/spikeinterface/core/sortinganalyzer.py @@ -1187,7 +1187,7 @@ def _get_children_dependencies(extension_name): name...
Split function and `new_unit_ids` definition Hi ! I was looking into the curation module and didn't quite get how to use the split function. Let's say I want to split my unit into 3. To do so I just have to properly define my `indices_list` and then I could just do as so: `cs.split(unit_id, indices_list)` The cl...
SpikeInterface/spikeinterface
diff --git a/src/spikeinterface/core/tests/test_analyzer_extension_core.py b/src/spikeinterface/core/tests/test_analyzer_extension_core.py index 7c4792097..55ce0bbbb 100644 --- a/src/spikeinterface/core/tests/test_analyzer_extension_core.py +++ b/src/spikeinterface/core/tests/test_analyzer_extension_core.py @@ -205,11 ...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 4 }
0.100
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[full,widgets]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pip", "pip_packages": [ "pytest", "pytest-cov", "pytest-dependency", "pytest-xdist", "pytest-mock", "pytest-asyncio" ], "pre...
altair==5.5.0 asciitree==0.3.3 asttokens==3.0.0 attrs==25.3.0 certifi==2025.1.31 charset-normalizer==3.4.1 click==8.1.8 comm==0.2.2 contourpy==1.3.0 coverage==7.8.0 cuda-bindings==12.8.0 cuda-python==12.8.0 cycler==0.12.1 decorator==5.2.1 distinctipy==1.3.4 exceptiongroup==1.2.2 execnet==2.1.1 executing==2.2.0 fastener...
name: spikeinterface 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...
[ "src/spikeinterface/curation/tests/test_curationsorting.py::test_curation" ]
[]
[ "src/spikeinterface/core/tests/test_analyzer_extension_core.py::test_ComputeRandomSpikes[False-memory]", "src/spikeinterface/core/tests/test_analyzer_extension_core.py::test_ComputeRandomSpikes[False-binary_folder]", "src/spikeinterface/core/tests/test_analyzer_extension_core.py::test_ComputeRandomSpikes[False-...
[]
MIT License
asottile__pyupgrade-818
f8932f0b87fa3688b219f7389bcf91537ae8a4d6
2023-04-25T01:19:03
f8932f0b87fa3688b219f7389bcf91537ae8a4d6
diff --git a/pyupgrade/_plugins/imports.py b/pyupgrade/_plugins/imports.py index f6e0359..823d634 100644 --- a/pyupgrade/_plugins/imports.py +++ b/pyupgrade/_plugins/imports.py @@ -281,6 +281,7 @@ class FromImport(NamedTuple): mod_start: int mod_end: int names: tuple[int, ...] + ends: tuple[int, ...] ...
Broken imports When rewriting the following code ```python from typing import Optional, Sequence as SequenceType ``` pyupgrade duplicates the `as SequenceType`: ```python from typing import Optional as SequenceType from collections.abc import Sequence as SequenceType ``` I've ran it with `pyupgrade --p...
asottile/pyupgrade
diff --git a/tests/features/import_replaces_test.py b/tests/features/import_replaces_test.py index 386afdb..07bc228 100644 --- a/tests/features/import_replaces_test.py +++ b/tests/features/import_replaces_test.py @@ -305,6 +305,13 @@ def test_mock_noop_keep_mock(): 'from collections.abc import Callable\n',...
{ "commit_name": "head_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "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": null, "python": "3.9", "reqs_path": [ "requirements-dev.txt" ], "test_cmd": "...
covdefaults==2.3.0 coverage==7.8.0 exceptiongroup==1.2.2 iniconfig==2.1.0 packaging==24.2 pluggy==1.5.0 pytest==8.3.5 -e git+https://github.com/asottile/pyupgrade.git@f8932f0b87fa3688b219f7389bcf91537ae8a4d6#egg=pyupgrade tokenize_rt==6.1.0 tomli==2.2.1
name: pyupgrade 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/features/import_replaces_test.py::test_import_replaces[aliasing" ]
[]
[ "tests/features/import_replaces_test.py::test_import_replaces_noop[unrelated", "tests/features/import_replaces_test.py::test_import_replaces_noop[leave", "tests/features/import_replaces_test.py::test_import_replaces_noop[inline", "tests/features/import_replaces_test.py::test_import_replaces_noop[import", "t...
[]
MIT License
pymeasure__pymeasure-909
ead6fe5033872a0e9243c2f270ea95b6fe2fded4
2023-05-11T08:37:58
68f5487b0837e9f3c5debd144a7ddfeb7bddf3e5
diff --git a/pymeasure/instruments/__init__.py b/pymeasure/instruments/__init__.py index 448bca82..4dd9b6a4 100644 --- a/pymeasure/instruments/__init__.py +++ b/pymeasure/instruments/__init__.py @@ -67,6 +67,7 @@ from . import signalrecovery from . import srs from . import tcpowerconversion from . import tektronix +...
Check all Channel classes for docstrings #895 added a property docstring test. It works, however, only for the `Instrument` classes which are publicly available. Channels (and some base instruments), which are not imported in the init files, are not checked. This issue is about collecting all `Instrument` and `Chan...
pymeasure/pymeasure
diff --git a/tests/instruments/test_all_instruments.py b/tests/instruments/test_all_instruments.py index b3c9a12c..b93e4000 100644 --- a/tests/instruments/test_all_instruments.py +++ b/tests/instruments/test_all_instruments.py @@ -27,39 +27,54 @@ import pytest from unittest.mock import MagicMock from pymeasure impo...
{ "commit_name": "head_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "num_modified_files": 1 }
0.11
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[all]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "coverage", "flake8" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], ...
certifi @ file:///croot/certifi_1671487769961/work/certifi coverage==7.2.7 exceptiongroup==1.2.2 flake8==5.0.4 importlib-metadata==4.2.0 iniconfig==2.0.0 mccabe==0.7.0 numpy==1.21.6 packaging==24.0 pandas==1.3.5 Pint==0.18 pluggy==1.2.0 pycodestyle==2.9.1 pyflakes==2.5.0 -e git+https://github.com/pymeasure/pymeasure.gi...
name: pymeasure 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/instruments/test_all_instruments.py::test_adapter_arg[TeledyneT3AFG]", "tests/instruments/test_all_instruments.py::test_name_argument[TeledyneT3AFG]", "tests/instruments/test_all_instruments.py::test_property_docstrings[TeledyneT3AFG.complete]", "tests/instruments/test_all_instruments.py::test_property...
[]
[ "tests/instruments/test_all_instruments.py::test_adapter_arg[AWG401x_base]", "tests/instruments/test_all_instruments.py::test_adapter_arg[AdvantestR3767CG]", "tests/instruments/test_all_instruments.py::test_adapter_arg[AdvantestR6245]", "tests/instruments/test_all_instruments.py::test_adapter_arg[AdvantestR62...
[]
MIT License
wemake-services__wemake-python-styleguide-1849
272f4d3e9030e4af6584d389fca042d0a06cb6e5
2021-02-06T14:44:43
faa465eec62a5a9590f121462f532bf40c33dafe
codecov[bot]: # [Codecov](https://codecov.io/gh/wemake-services/wemake-python-styleguide/pull/1849?src=pr&el=h1) Report > Merging [#1849](https://codecov.io/gh/wemake-services/wemake-python-styleguide/pull/1849?src=pr&el=desc) (ccf8ab9) into [master](https://codecov.io/gh/wemake-services/wemake-python-styleguide/commit...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 9f124269..97aae535 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -55,6 +55,8 @@ Semantic versioning in our case means: - Fixes false negative WPS421 with `pprint.pprint` - Fixes WPS441 triggering when reusing variable names in multiple loops - Fixes false positive Imp...
WPS434 false positive # Bug report ## What's wrong I am unpacking a tuple with, for example, three elements and only need the middle one. `_, b, _ = result` Then, I receive a "WPS434 Found reassigning variable to itself". ## How it should be As this is a false positive, no complaint should be raises ...
wemake-services/wemake-python-styleguide
diff --git a/tests/test_visitors/test_ast/test_naming/test_variable_self_reassignment.py b/tests/test_visitors/test_ast/test_naming/test_variable_self_reassignment.py index 577cf809..d5c9b0a2 100644 --- a/tests/test_visitors/test_ast/test_naming/test_variable_self_reassignment.py +++ b/tests/test_visitors/test_ast/test...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_modified_files" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 2 }
0.14
{ "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-randomly", "coverage-conditional-plugin" ], "pre_install": null, "pyth...
astor==0.8.1 attrs==25.3.0 bandit==1.8.3 coverage==7.8.0 coverage-conditional-plugin==0.9.0 darglint==1.8.1 docutils==0.21.2 eradicate==2.3.0 exceptiongroup==1.2.2 flake8==3.9.2 flake8-broken-line==0.3.0 flake8-bugbear==20.11.1 flake8-commas==2.1.0 flake8-comprehensions==3.16.0 flake8-debugger==4.1.2 flake8-docstrings=...
name: wemake-python-styleguide 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_...
[ "tests/test_visitors/test_ast/test_naming/test_variable_self_reassignment.py::test_correct_variable_reassignment[x,", "tests/test_visitors/test_ast/test_naming/test_variable_self_reassignment.py::test_correct_variable_reassignment[_," ]
[]
[ "tests/test_visitors/test_ast/test_naming/test_variable_self_reassignment.py::test_correct_variable_reassignment[\\nx", "tests/test_visitors/test_ast/test_naming/test_variable_self_reassignment.py::test_self_variable_reassignment_triple[\\nx:", "tests/test_visitors/test_ast/test_naming/test_variable_self_reassi...
[]
MIT License