Skip to content

Commit 04a772f

Browse files
authored
Merge pull request #344 from tekktrik/patch/overgeneral-exceptions
Add patch for pylint, jQuery
2 parents b5354e5 + 12b4e34 commit 04a772f

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
From 6467782ca1523e6d77cb6b857d16d6d6df1feeb7 Mon Sep 17 00:00:00 2001
2+
From: Tekktrik <[email protected]>
3+
Date: Sun, 14 May 2023 13:00:32 -0400
4+
Subject: [PATCH] Update .pylintrc, fix jQuery for docs
5+
6+
---
7+
.pylintrc | 2 +-
8+
docs/conf.py | 1 +
9+
docs/requirements.txt | 1 +
10+
3 files changed, 3 insertions(+), 1 deletion(-)
11+
12+
diff --git a/.pylintrc b/.pylintrc
13+
index 40208c3..f945e92 100644
14+
--- a/.pylintrc
15+
+++ b/.pylintrc
16+
@@ -396,4 +396,4 @@ min-public-methods=1
17+
18+
# Exceptions that will emit a warning when being caught. Defaults to
19+
# "Exception"
20+
-overgeneral-exceptions=Exception
21+
+overgeneral-exceptions=builtins.Exception
22+
diff --git a/docs/conf.py b/docs/conf.py
23+
index 7c368fb..f24dd46 100644
24+
--- a/docs/conf.py
25+
+++ b/docs/conf.py
26+
@@ -17,6 +17,7 @@ sys.path.insert(0, os.path.abspath(".."))
27+
# ones.
28+
extensions = [
29+
"sphinx.ext.autodoc",
30+
+ "sphinxcontrib.jquery",
31+
"sphinx.ext.intersphinx",
32+
"sphinx.ext.napoleon",
33+
"sphinx.ext.todo",
34+
diff --git a/docs/requirements.txt b/docs/requirements.txt
35+
index 88e6733..797aa04 100644
36+
--- a/docs/requirements.txt
37+
+++ b/docs/requirements.txt
38+
@@ -3,3 +3,4 @@
39+
# SPDX-License-Identifier: Unlicense
40+
41+
sphinx>=4.0.0
42+
+sphinxcontrib-jquery
43+
--
44+
2.40.1
45+

0 commit comments

Comments
 (0)