Closed vitalie-cracan closed 1 year ago
Can you give any more details on environment/etc?
❯ cat pyproject.toml
[tool.poetry]
name = "jelly"
version = "0.1.0"
description = ""
authors = ["me"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.9"
jellyfish = "^1.0.0"
[tool.poetry.group.dev.dependencies]
pylint = "^2.17.4"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
❯ cat test.py
from jellyfish import jaro_winkler_similarity
print(jaro_winkler_similarity("test", "tost"))
❯ pylint test.py ***** Module test test.py:1:0: C0114: Missing module docstring (missing-module-docstring) test.py:1:0: E0611: No name 'jaro_winkler_similarity' in module 'jellyfish' (no-name-in-module)
Your code has been rated at 0.00/10 (previous run: 0.00/10, +0.00)
Ah so this only occurs via pylint
, I'd consider checking with them, it's not a tool I use.
from jellyfish import jaro_winkler_similarity
generates this complaint from pylint:
E0611: No name 'jaro_winkler_similarity' in module 'jellyfish' (no-name-in-module)