Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refacto: modernize config date from meta #285

Merged
merged 6 commits into from
Jun 10, 2024

Conversation

Guts
Copy link
Owner

@Guts Guts commented Jun 10, 2024

No description provided.

@github-actions github-actions bot added the quality Tests, project resiliency, etc. label Jun 10, 2024
Copy link

codecov bot commented Jun 10, 2024

Codecov Report

Attention: Patch coverage is 79.31034% with 6 lines in your changes missing coverage. Please review.

Project coverage is 82.16%. Comparing base (3b8337e) to head (6d0ab3e).

Current head 6d0ab3e differs from pull request most recent head a5db57f

Please upload reports for the commit a5db57f to get more accurate results.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #285      +/-   ##
==========================================
- Coverage   83.12%   82.16%   -0.96%     
==========================================
  Files          10       10              
  Lines         551      555       +4     
  Branches      116      116              
==========================================
- Hits          458      456       -2     
- Misses         64       68       +4     
- Partials       29       31       +2     
Flag Coverage Δ
unittests 82.16% <79.31%> (-0.96%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
mkdocs_rss_plugin/config.py 100.00% <100.00%> (ø)
mkdocs_rss_plugin/plugin.py 90.76% <70.00%> (-3.27%) ⬇️

... and 1 file with indirect coverage changes

Guts added a commit that referenced this pull request Jun 10, 2024
Since some advanced types operations introduced in mkdocs>=1.5 are not
entirely supported by Python 3.8 and 3.9, let's switch to 3.10 as
minimal version:

Logs with failing error in #285
(https://github.com/Guts/mkdocs-rss-plugin/actions/runs/9450849461/job/26030426819?pr=285):

> FAILED
tests/test_build.py::TestBuildRss::test_simple_build_custom_output_basename
- TypeError: Subscripted generics cannot be used with class and instance
checks

```python
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/mkdocs/plugins.py:96: in load_config
    return self.config.validate()
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/mkdocs/config/base.py:231: in validate
    run_failed, run_warnings = self._validate()
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/mkdocs/config/base.py:188: in _validate
    self[key] = config_option.validate(value)
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/mkdocs/config/base.py:55: in validate
    return self.run_validation(value)
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/mkdocs/config/config_options.py:110: in run_validation
    failed, warnings = config.validate()
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/mkdocs/config/base.py:231: in validate
    run_failed, run_warnings = self._validate()
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/mkdocs/config/base.py:188: in _validate
    self[key] = config_option.validate(value)
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/mkdocs/config/config_options.py:186: in validate
    return self.run_validation(value)
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/mkdocs/config/config_options.py:344: in run_validation
    if not isinstance(value, self._type):
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/typing.py:769: in __instancecheck__
    return self.__subclasscheck__(type(obj))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
```
@Guts Guts force-pushed the refacto/modernize-config-date-from-meta branch from d3638d5 to 6d0ab3e Compare June 10, 2024 15:23
@Guts Guts enabled auto-merge June 10, 2024 15:24
Copy link

sonarcloud bot commented Jun 10, 2024

Quality Gate Passed Quality Gate passed

Issues
1 New issue
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@Guts Guts merged commit 3fceb45 into main Jun 10, 2024
8 checks passed
@Guts Guts deleted the refacto/modernize-config-date-from-meta branch June 10, 2024 15:27
@Guts Guts added the enhancement New feature or request label Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request quality Tests, project resiliency, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant