internlm/SWE-Fixer-Train-110K huggingface dataset:
Repository: wemake-services/wemake-python-styleguide

Issue:
WPS515 has a wrong description
# Bug report

<!--
Hi, thanks for submitting a bug. We appreciate that.

But, we will need some information about what's wrong to help you.
-->

## What's wrong

<!-- Describe what is not working. Please, attach a traceback. -->
The description of WPS515 says:

>  Forbids to use `open()` with a context manager.

But the violation was made for the opposite reason.

## How is that should be

<!-- Describe how it should work. -->
It should say:

> Forbids to use `open()` **without** a context manager.


Discussion:
@Jrryy whoops! Can you please send a PR with the fix? 🙂 

Resolving patch:
diff --git a/wemake_python_styleguide/violations/refactoring.py b/wemake_python_styleguide/violations/refactoring.py
--- a/wemake_python_styleguide/violations/refactoring.py
+++ b/wemake_python_styleguide/violations/refactoring.py
@@ -670,7 +670,7 @@ class ImplicitInConditionViolation(ASTViolation):
 @final
 class OpenWithoutContextManagerViolation(ASTViolation):
     """
-    Forbids to use ``open()`` with a context manager.
+    Forbids to use ``open()`` without a context manager.
 
     Reasoning:
         When you ``open()`` something, you need to close it.


Test patch:
Repository: wemake-services/wemake-python-styleguide

Issue:
Allow async magic __call__
#  Thesis

`__call__` method should be asyncable.

```python
import asyncio
import os

class RequestHandler(object):
    async def __call__(self, reader, writer):
        ipc_input = (await reader.readline()).decode('utf8').strip()
        writer.write('You sent: "{0}"\n'.format(ipc_input).encode('utf8'))

async def bootstrap():
    handler = RequestHandler()
    server = await asyncio.start_unix_server(handler, path='/var/tmp/my_sock')
    os.chmod('/var/tmp/my_sock', 0o666)
    while True:
        try:
            await asyncio.sleep(120)
        except asyncio.CancelledError:
            server.close()
            break

asyncio.run(bootstrap())
```

## Reasoning

Much like how `__call__` can be a generator there is no reason it can't be async.



Discussion:
@Sxderp PR is welcome!

Resolving patch:
diff --git a/wemake_python_styleguide/constants.py b/wemake_python_styleguide/constants.py
--- a/wemake_python_styleguide/constants.py
+++ b/wemake_python_styleguide/constants.py
@@ -266,6 +266,7 @@
     '__anext__',
     '__aenter__',
     '__aexit__',
+    '__call__',
 })
 
 #: List of builtin classes that are allowed to subclass.


Test patch:
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -18,6 +18,8 @@ jobs:
 
     - name: Install poetry
       run: |
+        pip install -U pip
+
         curl -sSL \
           "https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py" | python
 
@@ -39,7 +41,7 @@ jobs:
 
         make test
 
-    - name: Upload coverage to Codecov  
+    - name: Upload coverage to Codecov
       uses: codecov/codecov-action@v1
       with:
         file: ./coverage.xml
diff --git a/tests/test_visitors/test_ast/test_classes/test_methods/test_async_magic_methods.py b/tests/test_visitors/test_ast/test_classes/test_methods/test_async_magic_methods.py
--- a/tests/test_visitors/test_ast/test_classes/test_methods/test_async_magic_methods.py
+++ b/tests/test_visitors/test_ast/test_classes/test_methods/test_async_magic_methods.py
@@ -46,6 +46,7 @@ def test_wrong_async_magic_used(
     '__anext__',
     '__aenter__',
     '__aexit__',
+    '__call__',
     '__custom__',
 ])
 def test_correct_async_magic_used(
Repository: wemake-services/wemake-python-styleguide

Issue:
WPS421 doesn't catch pprint.pprint()
WPS421 has pprint in the blacklist, however does not catch a call to `pprint.pprint()`.
WPS421 doesn't catch pprint.pprint()
WPS421 has pprint in the blacklist, however does not catch a call to `pprint.pprint()`.


Discussion:
@Dreamsorcerer are you willing to fix this?
Would adding `"pprint.pprint"` to the blacklist be enough to cover it, or does it need something more complex?
No, it would be a bit harder. Currently we only watch for attr name, without `pprint.` part.
@Dreamsorcerer are you willing to fix this?
Would adding `"pprint.pprint"` to the blacklist be enough to cover it, or does it need something more complex?
No, it would be a bit harder. Currently we only watch for attr name, without `pprint.` part.

Resolving patch:
diff --git a/wemake_python_styleguide/constants.py b/wemake_python_styleguide/constants.py
--- a/wemake_python_styleguide/constants.py
+++ b/wemake_python_styleguide/constants.py
@@ -36,6 +36,7 @@
     # IO:
     'print',
     'pprint',
+    'pprint.pprint',
     'input',
     'breakpoint',
 


Test patch:
diff --git a/tests/test_visitors/test_ast/test_functions/test_wrong_function_calls.py b/tests/test_visitors/test_ast/test_functions/test_wrong_function_calls.py
--- a/tests/test_visitors/test_ast/test_functions/test_wrong_function_calls.py
+++ b/tests/test_visitors/test_ast/test_functions/test_wrong_function_calls.py
@@ -42,6 +42,33 @@ def test_wrong_function_called(
     assert_error_text(visitor, bad_function)
 
 
+@pytest.mark.parametrize('bad_module_and_function', [
+    'pprint.pprint',
+])
+@pytest.mark.parametrize('code', [
+    regular_call,
+    assignment_call,
+    nested_function_call,
+])
+def test_wrong_function_call_with_module(
+    assert_errors,
+    assert_error_text,
+    parse_ast_tree,
+    bad_module_and_function,
+    code,
+    default_options,
+    mode,
+):
+    """Testing that a module.function() call can be restricted."""
+    tree = parse_ast_tree(mode(code.format(bad_module_and_function)))
+
+    visitor = WrongFunctionCallVisitor(default_options, tree=tree)
+    visitor.run()
+
+    assert_errors(visitor, [WrongFunctionCallViolation])
+    assert_error_text(visitor, bad_module_and_function)
+
+
 @pytest.mark.parametrize('good_function', [
     'len',
     'abs',
Repository: wemake-services/wemake-python-styleguide

Issue:
Constant condition is not detected when used with `and` or `or`
This code does not raise:

```python
if some or True: ...
```

This one raises:

```python
if True: ...
```

```
  1:4      WPS314 Found conditional that always evaluates the same
  if True: ...
```


Discussion:

Resolving patch:
diff --git a/wemake_python_styleguide/visitors/ast/compares.py b/wemake_python_styleguide/visitors/ast/compares.py
--- a/wemake_python_styleguide/visitors/ast/compares.py
+++ b/wemake_python_styleguide/visitors/ast/compares.py
@@ -333,9 +333,13 @@ def visit_comprehension(self, node: ast.comprehension) -> None:
         self.generic_visit(node)
 
     def _check_constant_condition(self, node: ast.AST) -> None:
-        real_node = operators.unwrap_unary_node(get_assigned_expr(node))
-        if isinstance(real_node, self._forbidden_nodes):
-            self.add_violation(ConstantConditionViolation(node))
+        if isinstance(node, ast.BoolOp):
+            for condition in node.values:
+                self._check_constant_condition(condition)
+        else:
+            real_node = operators.unwrap_unary_node(get_assigned_expr(node))
+            if isinstance(real_node, self._forbidden_nodes):
+                self.add_violation(ConstantConditionViolation(node))
 
     def _check_simplifiable_if(self, node: ast.If) -> None:
         if not ifs.is_elif(node) and not ifs.root_if(node):


Test patch:
diff --git a/tests/test_visitors/test_ast/test_compares/test_conditionals.py b/tests/test_visitors/test_ast/test_compares/test_conditionals.py
--- a/tests/test_visitors/test_ast/test_compares/test_conditionals.py
+++ b/tests/test_visitors/test_ast/test_compares/test_conditionals.py
@@ -60,7 +60,7 @@ def container():
     'variable is False',
     '[1, 2, 3].size > 3',
     'variable is None',
-    'variable is int or not None',
+    'variable is int or not some()',
     pytest.param(
         '(unique := some()) is True',
         marks=pytest.mark.skipif(not PY38, reason='walrus appeared in 3.8'),
@@ -107,6 +107,10 @@ def test_valid_conditional(
     '{"set"}',
     '("tuple",)',
     '["list"]',
+    'variable or False',
+    'variable and False',
+    'variable or True',
+    'variable and True',
     pytest.param(
         '(unique := True)',
         marks=pytest.mark.skipif(not PY38, reason='walrus appeared in 3.8'),
Repository: wemake-services/wemake-python-styleguide

Issue:
Python 3.10: ImportError
### What's wrong

Trying to run the code and getting the following exception:
```
ImportError: cannot import name 'Hashable' from 'collections'
```

### How it should be

There should be no exception, the import should be properly handled for Python 3.10

### Flake8 version and plugins

Not installed

### pip information

21.0.1

### OS information

MacOS


Discussion:
Hello, I am new to open source would love to make a contribution to this issue. Can you provide guidance on how to proceed with this issue?
Hi @rudranshsharma123 !

You need to fix import error on Python3.10. To do that:
1. Install python 3.10 alpha or beta
2. Install `wemake-python-styleguide` the usual way
3. Try to lint any file, it should break with the same message
4. Fix it! I think that `Hashable` was moved or renamed
5. Try once again, everything must work correctly!
Please read the first paragraph [here](https://docs.python.org/3/library/collections.html#module-collections).
It was moved from `collections` to `collections.abc` since Python 3.3. It supported the old location till Python 3.9. But in python 3.10 it was removed.

It depends what type of python is supported by this tool. If it is python 3.5+ then it is safe to just change the import and not to pollute code with `try...except...` But if we support Python 2 then we should go with the latter.

I vote for clean import as Python 3.4 and down are not supported by community and should be deprecated.

Resolving patch:
diff --git a/wemake_python_styleguide/visitors/ast/builtins.py b/wemake_python_styleguide/visitors/ast/builtins.py
--- a/wemake_python_styleguide/visitors/ast/builtins.py
+++ b/wemake_python_styleguide/visitors/ast/builtins.py
@@ -1,7 +1,8 @@
 import ast
 import re
 import string
-from collections import Counter, Hashable, defaultdict
+from collections import Counter, defaultdict
+from collections.abc import Hashable
 from contextlib import suppress
 from typing import (
     ClassVar,


Test patch:
Repository: wemake-services/wemake-python-styleguide

Issue:
We use `wemake_python_styleguide.options.defaults.FORBIDDEN_NOQA` when we should use `wemake_python_styleguide.options.defaults.FORBIDDEN_INLINE_IGNORE`
### What's wrong

Our docs is wrong, we need to update `wemake_python_styleguide/options/config.py`
The incorrect default is in `forbidden-inline-ignore` option



Discussion:
Hye, I am new to open source and want to contribute to this issue for hacktoberfest.
So, can you assign this issue to me?
Sure! Thanks!

Resolving patch:
diff --git a/wemake_python_styleguide/options/config.py b/wemake_python_styleguide/options/config.py
--- a/wemake_python_styleguide/options/config.py
+++ b/wemake_python_styleguide/options/config.py
@@ -58,7 +58,7 @@
     :str:`wemake_python_styleguide.options.defaults.FORBIDDEN_DOMAIN_NAMES`
 - ``forbidden-inline-ignore`` - list of codes of violations or
     class of violations that are forbidden to ignore inline, defaults to
-    :str:`wemake_python_styleguide.options.defaults.FORBIDDEN_NOQA`
+    :str:`wemake_python_styleguide.options.defaults.FORBIDDEN_INLINE_IGNORE`
 
 
 .. rubric:: Complexity options


Test patch:
Repository: wemake-services/wemake-python-styleguide

Issue:
Copypaste in WPS332 "Found walrus operator"
### What's wrong

```python
@final
class WalrusViolation(ASTViolation):
    """
    Forbid local variable that are only used in ``return`` statements.
    ...
    """"
```

### How it should be

```python
@final
class WalrusViolation(ASTViolation):
    """
    Forbid walrus operator.
    ...
    """"
```

### Flake8 version and plugins

irrelevant

### pip information

irrelevant

### OS information

irrelevant


Discussion:

Resolving patch:
diff --git a/wemake_python_styleguide/violations/consistency.py b/wemake_python_styleguide/violations/consistency.py
--- a/wemake_python_styleguide/violations/consistency.py
+++ b/wemake_python_styleguide/violations/consistency.py
@@ -1351,7 +1351,7 @@ def some_function():
 @final
 class WalrusViolation(ASTViolation):
     """
-    Forbid local variable that are only used in ``return`` statements.
+    Forbid walrus operator.
 
     This violation can only be thrown on ``python3.8+``.
 


Test patch:
Repository: Lightning-Universe/lightning-bolts

Issue:
Pretrained AE `resnet50-imagenet` is unavailable
## 🐛 Bug
I am following the example on [doc](https://pytorch-lightning-bolts.readthedocs.io/en/latest/autoencoders.html), and it seems there is not "resnet50-imagenet" pretrained model as I get the error shown below:
```shell
Traceback (most recent call last):
  File "/tmp/a.py", line 19, in <module>
    model = model.from_pretrained('resnet50-imagenet')
  File "/home/nitta/.pyenv/versions/anaconda3-5.3.1/envs/bolts/lib/python3.8/site-packages/pl_bolts/models/autoencoders/basic_ae/basic_ae_module.py", line 94, in from_pretrained
    raise KeyError(str(checkpoint_name) + ' not present in pretrained weights.')
KeyError: 'resnet50-imagenet not present in pretrained weights.'
```

### To Reproduce
Minimal code to reproduce:
```python
from pl_bolts.models.autoencoders import AE
model = AE(input_height=32)
model = model.from_pretrained("resnet50-imagenet")
```



Discussion:
Hi! thanks for your contribution!, great first issue!

Resolving patch:
diff --git a/pl_bolts/models/autoencoders/basic_ae/basic_ae_module.py b/pl_bolts/models/autoencoders/basic_ae/basic_ae_module.py
--- a/pl_bolts/models/autoencoders/basic_ae/basic_ae_module.py
+++ b/pl_bolts/models/autoencoders/basic_ae/basic_ae_module.py
@@ -38,11 +38,8 @@ def __init__(
             # not pretrained
             ae = AE()
 
-            # pretrained on imagenet
-            ae = AE.from_pretrained('resnet50-imagenet')
-
             # pretrained on cifar10
-            ae = AE.from_pretrained('resnet18-cifar10')
+            ae = AE.from_pretrained('cifar10-resnet18')
 
         Args:
 
diff --git a/pl_bolts/models/autoencoders/basic_vae/basic_vae_module.py b/pl_bolts/models/autoencoders/basic_vae/basic_vae_module.py
--- a/pl_bolts/models/autoencoders/basic_vae/basic_vae_module.py
+++ b/pl_bolts/models/autoencoders/basic_vae/basic_vae_module.py
@@ -40,11 +40,11 @@ def __init__(
             # not pretrained
             vae = VAE()
 
-            # pretrained on imagenet
-            vae = VAE.from_pretrained('resnet50-imagenet')
-
             # pretrained on cifar10
-            vae = VAE.from_pretrained('resnet18-cifar10')
+            vae = VAE.from_pretrained('cifar10-resnet18')
+
+            # pretrained on stl10
+            vae = VAE.from_pretrained('stl10-resnet18')
 
         Args:
 


Test patch:
Repository: Lightning-Universe/lightning-bolts

Issue:
CPCv2-Resnet18 pretrained not available
Hi, 
When I try to load a pretrained CPCv2-resnet18 model, I get an `urllib.error.HTTPError: HTTP Error 403: Forbidden` error. The code I use to load the pretrained model is 
```
model = CPCV2(encoder='resnet18', pretrained=True)
x = torch.rand(1, 3, 224, 224)
feats = model.encoder(x)
```
The following URL doesn't seem to open on my browser (Chrome) too. 
https://github.com/PyTorchLightning/pytorch-lightning-bolts/blob/32fb560a429532dfb40a5935ca7674990dae1f66/pl_bolts/utils/pretrained_weights.py#L6

Any help is much appreciated.
Thanks! 



Discussion:
Hi! thanks for your contribution!, great first issue!

Resolving patch:
diff --git a/pl_bolts/utils/pretrained_weights.py b/pl_bolts/utils/pretrained_weights.py
--- a/pl_bolts/utils/pretrained_weights.py
+++ b/pl_bolts/utils/pretrained_weights.py
@@ -4,7 +4,7 @@
                    'vae/imagenet_06_22_2019/checkpoints/epoch%3D63.ckpt'
 
 cpcv2_resnet18 = 'https://pl-bolts-weights.s3.us-east-2.amazonaws.com/' \
-                 'cpc/resnet18_version_6/checkpoints/epoch%3D85.ckpt'
+                 'cpc/resnet18-v6/epoch%3D85.ckpt'
 urls = {
     'vae-imagenet2012': vae_imagenet2012,
     'CPCV2-resnet18': cpcv2_resnet18


Test patch:
Repository: Lightning-Universe/lightning-bolts

Issue:
re-enable sphinx doctests
## 🐛 Bug

for some strange case, the build was failing with bad torch import (and there are no examples in docs)

### To Reproduce

Uncomment remaining 
https://github.com/PyTorchLightning/pytorch-lightning-bolts/blob/576804a280d663184151ce7c2853617022198549/.github/workflows/docs-check.yml#L23-L61

### Additional context

<!-- Add any other context about the problem here. -->



Discussion:

Resolving patch:
diff --git a/docs/source/conf.py b/docs/source/conf.py
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -68,7 +68,7 @@
 
 # If your documentation needs a minimal Sphinx version, state it here.
 
-needs_sphinx = '2.0'
+needs_sphinx = '2.4'
 
 # Add any Sphinx extension module names here, as strings. They can be
 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
@@ -328,20 +328,23 @@ def package_list_from_file(file):
     return mocked_packages
 
 
+# define mapping from PyPI names to python imports
+PACKAGE_MAPPING = {
+    'pytorch-lightning': 'pytorch_lightning',
+    'scikit-learn': 'sklearn',
+    'Pillow': 'PIL',
+    'opencv-python': 'cv2',
+}
 MOCK_PACKAGES = []
 if SPHINX_MOCK_REQUIREMENTS:
     # mock also base packages when we are on RTD since we don't install them there
     MOCK_PACKAGES += package_list_from_file(os.path.join(PATH_ROOT, 'requirements.txt'))
     MOCK_PACKAGES += package_list_from_file(os.path.join(PATH_ROOT, 'requirements', 'models.txt'))
     MOCK_PACKAGES += package_list_from_file(os.path.join(PATH_ROOT, 'requirements', 'loggers.txt'))
+# replace PyPI packages by importing ones
+MOCK_PACKAGES = [PACKAGE_MAPPING.get(pkg, pkg) for pkg in MOCK_PACKAGES]
 
-MOCK_MANUAL_PACKAGES = [
-    'pytorch_lightning',
-    'numpy',
-    'sklearn',
-    'PIL',
-    'cv2',
-]
+MOCK_MANUAL_PACKAGES = []
 autodoc_mock_imports = MOCK_PACKAGES + MOCK_MANUAL_PACKAGES
 # for mod_name in MOCK_REQUIRE_PACKAGES:
 #     sys.modules[mod_name] = mock.Mock()
@@ -416,19 +419,18 @@ def find_source():
 
 # only run doctests marked with a ".. doctest::" directive
 doctest_test_doctest_blocks = ''
-# doctest_global_setup = """
-#
-# import importlib
-# import os
-# import torch
-#
-# import pytorch_lightning as pl
-# from pytorch_lightning import Trainer, LightningModule
-# from pytorch_lightning.utilities import NATIVE_AMP_AVALAIBLE
-# APEX_AVAILABLE = importlib.util.find_spec("apex") is not None
-# XLA_AVAILABLE = importlib.util.find_spec("torch_xla") is not None
-# TORCHVISION_AVAILABLE = importlib.util.find_spec("torchvision") is not None
-#
-#
-# """
+doctest_global_setup = """
+
+import importlib
+import os
+import torch
+
+import pytorch_lightning as pl
+from pytorch_lightning import Trainer, LightningModule
+from pytorch_lightning.utilities import NATIVE_AMP_AVALAIBLE
+APEX_AVAILABLE = importlib.util.find_spec("apex") is not None
+XLA_AVAILABLE = importlib.util.find_spec("torch_xla") is not None
+TORCHVISION_AVAILABLE = importlib.util.find_spec("torchvision") is not None
+
+"""
 coverage_skip_undoc_in_source = True


Test patch:
Repository: Lightning-Universe/lightning-bolts

Issue:
[Representation Learning] MoCo licensing issues
## 📚 Documentation

MoCo is licensed under "Attribution-NonCommercial 4.0 International". There should be a mention somewhere that the pytorch-lightning-bolts modified versions is also non-commercial. 



Discussion:
Hi! thanks for your contribution!, great first issue!
Thanks for letting us know! We'll make that fix asap.

@ananyahjha93 FYI

Resolving patch:
diff --git a/pl_bolts/models/self_supervised/moco/moco2_module.py b/pl_bolts/models/self_supervised/moco/moco2_module.py
--- a/pl_bolts/models/self_supervised/moco/moco2_module.py
+++ b/pl_bolts/models/self_supervised/moco/moco2_module.py
@@ -3,6 +3,11 @@
 
 Original work is: Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
 This implementation is: Copyright (c) PyTorch Lightning, Inc. and its affiliates. All Rights Reserved
+
+This implementation is licensed under Attribution-NonCommercial 4.0 International;
+You may not use this file except in compliance with the License.
+
+You may obtain a copy of the License from the LICENSE file present in this folder.
 """
 
 from argparse import ArgumentParser


Test patch:
Repository: Lightning-Universe/lightning-bolts

Issue:
docs: Fix URI links to classes defined in `pytorch_lightning`
## 📚 Documentation
In docs, there are URIs referring to base classes for each class defined in bolts. However, links to `pytorch_lightning` are not properly rendered while links to `torch` are perfectly rendered.

### Example
https://pytorch-lightning-bolts.readthedocs.io/en/latest/datasets.html#dummydataset
![20201025-011752](https://user-images.githubusercontent.com/20610905/97086703-f9961980-165f-11eb-96ba-32aadbffe9c7.png)
https://pytorch-lightning-bolts.readthedocs.io/en/latest/vision_datamodules.html#binarymnist
![20201025-011742](https://user-images.githubusercontent.com/20610905/97086705-fa2eb000-165f-11eb-9659-bc4896bd2cef.png)

### Additional context
I tried to fix this issue by adding a line:
`    'pytorch_lightning': ('https://pytorch-lightning.readthedocs.io/en/stable/', None),`
to `intersphinx_mapping` at
https://github.com/PyTorchLightning/pytorch-lightning-bolts/blob/f0939f62a5559a9a68cbb60ab8cbddac8c42cb05/docs/source/conf.py#L255
but it didn't make any change in docs.


Discussion:
Hi @akihironitta Thank you for finding out. Actually It worked! You can see in the bolts callbacks docs.
But it won't for `LightningDataModule` as there is no `LightningDataModule` API docs in Lightning.
But there is a PR doing that https://github.com/PyTorchLightning/pytorch-lightning/pull/3950

So, could you try to send a PR for adding lightning in intersphinx for bolts?

Resolving patch:
diff --git a/docs/source/conf.py b/docs/source/conf.py
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -253,6 +253,7 @@
 
 # Example configuration for intersphinx: refer to the Python standard library.
 intersphinx_mapping = {
+    'pytorch_lightning': ('https://pytorch-lightning.readthedocs.io/en/stable/', None),
     'python': ('https://docs.python.org/3', None),
     'torch': ('https://pytorch.org/docs/stable/', None),
     'numpy': ('https://docs.scipy.org/doc/numpy/', None),


Test patch:
Repository: Lightning-Universe/lightning-bolts

Issue:
docs: Add Bolts logo
## 🚀 Feature
Not a strong opinion, but I would like to suggest a change to the logo image located at the top left in https://pytorch-lightning-bolts.readthedocs.io/en/. Currently, both `pytorch-lightning` and `pytorch-lightning-bolts` docs use the same logo image, and I personally think that makes it somewhat confusing. It would be much easier to distinguish them if the `pytorch-lightning-bolts` logo is different from `pytorch-lightning` logo.


Discussion:
A good point. I was confused about the jump between different docs content, but did not figure out the reason.
Now, I see one doc for pl, and one for pl-blots.

Resolving patch:
diff --git a/docs/source/conf.py b/docs/source/conf.py
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -179,7 +179,7 @@
     'logo_only': False,
 }
 
-html_logo = '_images/logos/lightning_logo-name.svg'
+html_logo = '_images/logos/bolts_logo.png'
 
 html_favicon = '_images/logos/lightning_icon.svg'
 


Test patch: