diff --git a/.license-sh.json b/.license-sh.json
index 75baf49..50cf58d 100644
--- a/.license-sh.json
+++ b/.license-sh.json
@@ -8,4 +8,4 @@
   "whitelist": [
     "MIT"
   ]
-}
+}
\ No newline at end of file
diff --git a/license-sh b/license-sh
index 018cb99..91d162c 100755
--- a/license-sh
+++ b/license-sh
@@ -44,10 +44,10 @@ except ImportError:
 
 
 def print_dependency_tree_with_licenses(
-    dep_tree: AnyNode, whitelist: List[str]
+    dep_tree: AnyNode, whitelist: List[str], ignored_packages: List[str]
 ) -> Tuple[AnyNode, Set[str]]:
     annotated_dep_tree, unknown_licenses = annotate_dep_tree(
-        dep_tree, whitelist=whitelist
+        dep_tree, whitelist=whitelist, ignored_packages=ignored_packages
     )
     filtered_dependency_tree = (
         annotated_dep_tree if tree else filter_dep_tree(annotated_dep_tree)
@@ -66,6 +66,13 @@ if __name__ == "__main__":
     debug = arguments["--debug"]
 
     config = get_config(path)
+
+    # TODO test this data transformation
+    config_ignored_packages = config.get("ignored_packages", {})
+    ignored_packages_map = {
+        e.value: config_ignored_packages.get(e.value, {}) for e in ProjectType
+    }
+
     WHITELIST += config.get("whitelist", [])
 
     if config_mode:
@@ -85,21 +92,25 @@ if __name__ == "__main__":
     if ProjectType.PYTHON_PIPENV in project_types:
         runner = PythonRunner(path, silent, debug)
         dep_tree, license_map = runner.check()
+        ignored_packages = ignored_packages_map[ProjectType.PYTHON_PIPENV.value]
 
     if ProjectType.NPM in project_types:
         runner = NpmRunner(path, silent, debug)
         dep_tree, license_map = runner.check()
+        ignored_packages = ignored_packages_map[ProjectType.PYTHON_PIPENV.value]
 
     if ProjectType.MAVEN in project_types:
         runner = MavenRunner(path, silent, debug)
         dep_tree, license_map = runner.check()
+        ignored_packages = ignored_packages_map[ProjectType.PYTHON_PIPENV.value]
 
     if ProjectType.YARN in project_types:
         runner = YarnRunner(path, silent, debug)
         dep_tree, license_map = runner.check()
+        ignored_packages = ignored_packages_map[ProjectType.PYTHON_PIPENV.value]
 
     filtered_dep_tree, licenses_not_found = print_dependency_tree_with_licenses(
-        dep_tree, WHITELIST
+        dep_tree, WHITELIST, ignored_packages
     )
 
     if licenses_not_found and output != "json":
diff --git a/license_sh/helpers.py b/license_sh/helpers.py
index 014ea8b..d89a47c 100644
--- a/license_sh/helpers.py
+++ b/license_sh/helpers.py
@@ -78,12 +78,15 @@ def normalize_license_expression(license_text):
     )
 
 
-def annotate_dep_tree(tree, whitelist: [str]) -> Tuple[AnyNode, Set[str]]:
+def annotate_dep_tree(
+    tree, whitelist: [str], ignored_packages: [str]
+) -> Tuple[AnyNode, Set[str]]:
     """
   An idea of this function is to go through elements from the bottom -> up and
   mark subtree_problem if any of the children has a license_problem or a subtree_problem
   :param tree:
   :param whitelist:
+  :param ignored_packages:
   :return: list of licenses not found in a whitelist
   """
 
@@ -92,7 +95,10 @@ def annotate_dep_tree(tree, whitelist: [str]) -> Tuple[AnyNode, Set[str]]:
 
     licenses_not_found = set()
     for node in PreOrderIter(tree):
-        node.license_problem = not is_license_ok(node.license_normalized, whitelist)
+        node.license_problem = (
+            not is_license_ok(node.license_normalized, whitelist)
+            and node.name not in ignored_packages
+        )
         if node.license_problem and node.license:
             licenses_not_found.add(str(node.license_normalized))
 

Ignore packages
One should be able to ignore packages.

Lets say test is not able to resolve certain license. However, I am able to find online its license and confirm that it is ok for my scenario. I should be able to add it to config file to prevent further fails.

```
ignore: [
'package-utils@1.0.0',
'random@1.2.3'
]
```
diff --git a/tests/runners/test_helpers.py b/tests/runners/test_helpers.py
index 52edd54..6016151 100644
--- a/tests/runners/test_helpers.py
+++ b/tests/runners/test_helpers.py
@@ -73,14 +73,14 @@ class NpmRunnerTestCase(unittest.TestCase):
         tree = get_tree()
 
         whitelist = ["MIT", "Apache-2.0"]
-        _, unknown_licenses = annotate_dep_tree(tree, whitelist)
+        _, unknown_licenses = annotate_dep_tree(tree, whitelist, [])
         self.assertSetEqual(set({"GPL"}), unknown_licenses)
 
     def test_annotate_dependency_tree(self):
         tree = get_tree()
 
         whitelist = ["MIT", "Apache-2.0"]
-        annotated_tree, _ = annotate_dep_tree(tree, whitelist)
+        annotated_tree, _ = annotate_dep_tree(tree, whitelist, [])
 
         expected_tree = AnyNode(
             name="Name",

pip install -e .[dev]
parse_log_pytest
requirements.txt
pytest numpy>=1.16.0 pandas>=1.0.0
apt-get update apt-get install -y gcc pip install pipenv
3.9
requirements/base.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
aiohappyeyeballs==2.6.1
aiohttp==3.11.14
aiosignal==1.3.2
anytree==2.12.1
async-timeout==5.0.1
attrs==25.3.0
boolean.py==4.0
certifi==2025.1.31
distlib==0.3.9
docopt==0.6.2
exceptiongroup==1.2.2
filelock==3.18.0
frozenlist==1.5.0
idna==3.10
iniconfig==2.1.0
license-expression==30.4.1
-e git+https://github.com/webscopeio/license.sh.git@7e8bb00d0374579b447daca648f64765db8c644f#egg=license_sh
multidict==6.2.0
numpy==2.0.2
packaging==24.2
pandas==2.2.3
pipdeptree==2.26.0
pipenv==2024.4.1
platformdirs==4.3.7
pluggy==1.5.0
prompt_toolkit==3.0.50
propcache==0.3.1
pytest==8.3.5
python-dateutil==2.9.0.post0
pytz==2025.2
questionary==2.1.0
six==1.17.0
termcolor==2.3.0
tomli==2.2.1
typing_extensions==4.13.0
tzdata==2025.2
urllib3==2.3.0
virtualenv==20.29.3
wcwidth==0.2.13
yarl==1.18.3
yaspin==3.1.0

name: license.sh
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.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=3.0.16=h5eee18b_0
  - pip=25.0=py39h06a4308_0
  - python=3.9.21=he870216_1
  - readline=8.2=h5eee18b_0
  - setuptools=75.8.0=py39h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - wheel=0.45.1=py39h06a4308_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - aiohappyeyeballs==2.6.1
      - aiohttp==3.11.14
      - aiosignal==1.3.2
      - anytree==2.12.1
      - async-timeout==5.0.1
      - attrs==25.3.0
      - boolean-py==4.0
      - certifi==2025.1.31
      - distlib==0.3.9
      - docopt==0.6.2
      - exceptiongroup==1.2.2
      - filelock==3.18.0
      - frozenlist==1.5.0
      - idna==3.10
      - iniconfig==2.1.0
      - license-expression==30.4.1
      - multidict==6.2.0
      - numpy==2.0.2
      - packaging==24.2
      - pandas==2.2.3
      - pipdeptree==2.26.0
      - pipenv==2024.4.1
      - platformdirs==4.3.7
      - pluggy==1.5.0
      - prompt-toolkit==3.0.50
      - propcache==0.3.1
      - pytest==8.3.5
      - python-dateutil==2.9.0.post0
      - pytz==2025.2
      - questionary==2.1.0
      - six==1.17.0
      - termcolor==2.3.0
      - tomli==2.2.1
      - typing-extensions==4.13.0
      - tzdata==2025.2
      - urllib3==2.3.0
      - virtualenv==20.29.3
      - wcwidth==0.2.13
      - yarl==1.18.3
      - yaspin==3.1.0
prefix: /opt/conda/envs/license.sh

tests/runners/test_helpers.py::NpmRunnerTestCase::test_annotate_dependency_tree tests/runners/test_helpers.py::NpmRunnerTestCase::test_bad_licenses_identified
tests/runners/test_helpers.py::NpmRunnerTestCase::test_dependency_tree_is_flattened
license-sh .license-sh.json license_sh/helpers.py
license-sh .license-sh.json license_sh/helpers.py