File tree Expand file tree Collapse file tree 5 files changed +26
-21
lines changed Expand file tree Collapse file tree 5 files changed +26
-21
lines changed Original file line number Diff line number Diff line change 2
2
flake8 codes
3
3
=================
4
4
5
- ============== ====================================
6
- Code Description
7
- ============== ====================================
8
- STRFTIME001 Linux-specific strftime code used
9
- STRFTIME002 Windows-specific strftime code used
10
- ============== ====================================
5
+ .. flake8-codes :: flake8_strftime
6
+
7
+ STRFTIME001
8
+ STRFTIME002
Original file line number Diff line number Diff line change 46
46
'sphinxcontrib.default_values' ,
47
47
'sphinxcontrib.toctree_plus' ,
48
48
'seed_intersphinx_mapping' ,
49
+ 'sphinx_toolbox.pre_commit' ,
50
+ 'sphinx_toolbox.flake8' ,
49
51
]
50
52
51
53
sphinxemoji_style = 'twemoji'
Original file line number Diff line number Diff line change @@ -127,15 +127,9 @@ Use as a pre-commit hook
127
127
128
128
See `pre-commit <https://github.com/pre-commit/pre-commit >`_ for instructions
129
129
130
- Sample `.pre-commit-config.yaml `:
130
+ Sample `` .pre-commit-config.yaml ` `:
131
131
132
- .. code-block :: yaml
133
-
134
- - repo: https://gitlab.com/pycqa/flake8
135
- rev: 3.8.1
136
- hooks:
137
- - id: flake8
138
- additional_dependencies: [flake8-strftime==0.1.1]
132
+ .. pre-commit :flake8 :: 0.1.1
139
133
140
134
141
135
.. toctree ::
@@ -149,8 +143,14 @@ Sample `.pre-commit-config.yaml`:
149
143
150
144
codes
151
145
API Reference<docs>
146
+
147
+
148
+ .. toctree ::
149
+ :maxdepth: 3
150
+ :caption: Contributing
151
+
152
+ contributing
152
153
Source
153
- Building
154
154
155
155
.. start links
156
156
Original file line number Diff line number Diff line change 1
1
autodocsumm >= 0.2.0
2
- default_values >= 0.2.0
3
- domdf_sphinx_theme >= 0.1.0
4
- extras_require >= 0.2.0
5
- seed_intersphinx_mapping >= 0.1.1
2
+ default-values >= 0.2.0
3
+ domdf-sphinx-theme >= 0.1.0
4
+ extras-require >= 0.2.0
5
+ seed-intersphinx-mapping >= 0.1.1
6
6
sphinx >= 3.0.3
7
7
sphinx-copybutton >= 0.2.12
8
8
sphinx-notfound-page >= 0.5
9
9
sphinx-prompt >= 1.1.0
10
10
sphinx-tabs >= 1.1.13
11
- sphinx-toolbox >= 1.5 .1
11
+ sphinx-toolbox >= 1.6 .1
12
12
sphinxcontrib-httpdomain >= 1.7.0
13
13
sphinxemoji >= 0.1.6
14
- toctree_plus >= 0.0.4
14
+ toctree-plus >= 0.0.4
Original file line number Diff line number Diff line change @@ -39,3 +39,8 @@ classifiers:
39
39
40
40
exclude_files :
41
41
- setup_cfg
42
+
43
+
44
+ extra_sphinx_extensions :
45
+ - sphinx_toolbox.pre_commit
46
+ - sphinx_toolbox.flake8
You can’t perform that action at this time.
0 commit comments