diff --git a/.deepsource.toml b/.deepsource.toml new file mode 100644 index 0000000..9af5e82 --- /dev/null +++ b/.deepsource.toml @@ -0,0 +1,13 @@ +version = 1 + +test_patterns = [ + '/tests/*' +] + +exclude_patterns = [ +] + +[[analyzers]] +name = 'python' +enabled = true +runtime_version = '3.x.x' diff --git a/README.rst b/README.rst index 9428997..343e762 100644 --- a/README.rst +++ b/README.rst @@ -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" diff --git a/docs/integration.rst b/docs/integration.rst index b1c2df4..8054d9f 100644 --- a/docs/integration.rst +++ b/docs/integration.rst @@ -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"