Browse Source

Experiment with DeepSource

pull/194/merge
Ben Kurtovic 2 months ago
parent
commit
83b58655ea
3 changed files with 15 additions and 2 deletions
  1. 13
    0
      .deepsource.toml
  2. 1
    1
      README.rst
  3. 1
    1
      docs/integration.rst

+ 13
- 0
.deepsource.toml View File

@@ -0,0 +1,13 @@
version = 1

test_patterns = [
'/tests/*'
]

exclude_patterns = [
]

[[analyzers]]
name = 'python'
enabled = true
runtime_version = '3.x.x'

+ 1
- 1
README.rst View File

@@ -182,8 +182,8 @@ Python 3 code (using the API_ and the requests_ library):

.. code-block:: python

import requests
import mwparserfromhell
import requests

API_URL = "https://en.wikipedia.org/w/api.php"


+ 1
- 1
docs/integration.rst View File

@@ -21,8 +21,8 @@ If you're using Pywikibot_, your code might look like this:
If you're not using a library, you can parse any page with the following
Python 3 code (using the API_ and the requests_ library):

import requests
import mwparserfromhell
import requests

API_URL = "https://en.wikipedia.org/w/api.php"


Loading…
Cancel
Save