diff --git a/.deepsource.toml b/.deepsource.toml new file mode 100644 index 0000000000..2ffa21bf75 --- /dev/null +++ b/.deepsource.toml @@ -0,0 +1,26 @@ +version = 1 +exclude_patterns = [ + "docs/docs/javascripts/**", + "docs/ci/**", + "InvenTree/InvenTree/static/**", + "ci/**", + "InvenTree/**/migrations/*.py" +] + +[[analyzers]] +name = "shell" + +[[analyzers]] +name = "javascript" + + [analyzers.meta] + plugins = ["react"] + +[[analyzers]] +name = "python" + + [analyzers.meta] + runtime_version = "3.x.x" + +[[analyzers]] +name = "docker" diff --git a/README.md b/README.md index cc58b7a638..851d63f35f 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,7 @@ ![Docker Build](https://github.com/inventree/inventree/actions/workflows/docker.yaml/badge.svg) [![OpenSSF Best Practices](https://bestpractices.coreinfrastructure.org/projects/7179/badge)](https://bestpractices.coreinfrastructure.org/projects/7179) [![Netlify Status](https://api.netlify.com/api/v1/badges/9bbb2101-0a4d-41e7-ad56-b63fb6053094/deploy-status)](https://app.netlify.com/sites/inventree/deploys) +[![DeepSource](https://app.deepsource.com/gh/inventree/InvenTree.svg/?label=active+issues&show_trend=false&token=trZWqixKLk2t-RXtpSIAslVJ)](https://app.deepsource.com/gh/inventree/InvenTree/) [![Coveralls](https://img.shields.io/coveralls/github/inventree/InvenTree)](https://coveralls.io/github/inventree/InvenTree) [![Crowdin](https://badges.crowdin.net/inventree/localized.svg)](https://crowdin.com/project/inventree) @@ -93,6 +94,7 @@ InvenTree is designed to be **extensible**, and provides multiple options for **
  • Docker
  • Crowdin
  • Coveralls
  • +
  • DeepSource
  • Packager.io