Skip to content

Commit 357e168

Browse files
committed
Finishing docs
1 parent 52144f3 commit 357e168

File tree

7 files changed

+27
-17
lines changed

7 files changed

+27
-17
lines changed

README.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

README.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,3 +135,13 @@ To install with ``conda``:
135135
$ conda install flake8_strftime
136136
137137
.. end installation
138+
139+
flake8 codes
140+
--------------
141+
142+
============== ====================================
143+
Code Description
144+
============== ====================================
145+
STRFTIME001 Linux-specific strftime code used
146+
STRFTIME002 Windows-specific strftime code used
147+
============== ====================================

doc-source/codes.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
=================
2+
flake8 codes
3+
=================
4+
5+
============== ====================================
6+
Code Description
7+
============== ====================================
8+
STRFTIME001 Linux-specific strftime code used
9+
STRFTIME002 Windows-specific strftime code used
10+
============== ====================================

doc-source/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ Installation
148148
:maxdepth: 3
149149
:caption: Documentation
150150

151+
codes
151152
API Reference<docs>
152153
Source
153154
Building

git_helper.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,6 @@ classifiers:
3636
- 'Intended Audience :: Developers'
3737
- 'Topic :: Software Development :: Libraries :: Python Modules'
3838
- "Topic :: Utilities"
39+
40+
exclude_files:
41+
- setup

lint_roller.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ declare errors="E301,E303,E304,E305,E306,E502,W291,W293,W391,E226,E225,E241,E231
77
declare belligerent="W292,E265,"
88

99
# Only warn for these
10-
declare warnings="E101,E111,E112,E113,E121,E122,E125,E127,E128,E129,E131,E133,E201,E202,E203,E211,E222,E223,E224,E225,E227,E228,E242,E251,E261,E262,E271,E272,E402,E703,E711,E712,E713,E714,E721,W504,E302,YTT101,YTT102,YTT103,YTT201,YTT202,YTT203,YTT204,YTT301,YTT302,YTT303,"
10+
declare warnings="E101,E111,E112,E113,E121,E122,E125,E127,E128,E129,E131,E133,E201,E202,E203,E211,E222,E223,E224,E225,E227,E228,E242,E251,E261,E262,E271,E272,E402,E703,E711,E712,E713,E714,E721,W504,E302,YTT101,YTT102,YTT103,YTT201,YTT202,YTT203,YTT204,YTT301,YTT302,YTT303,STRFTIME001,STRFTIME002,"
1111

1212

1313
if [ -z "$(git status --porcelain --untracked-files=no)" ] || [ "$1" == "-f" ]; then

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,10 @@ commands = tox -e pyup,isort,yapf,mypy,lint {posargs}
128128

129129
[flake8]
130130
max-line-length = 120
131-
select = E301 E303 E304 E305 E306 E502 W291 W293 W391 E226 E225 E241 E231 E101 E111 E112 E113 E121 E122 E125 E127 E128 E129 E131 E133 E201 E202 E203 E211 E222 E223 E224 E225 E227 E228 E242 E251 E261 E262 E271 E272 E402 E703 E711 E712 E713 E714 E721 W504 E302 YTT101 YTT102 YTT103 YTT201 YTT202 YTT203 YTT204 YTT301 YTT302 YTT303 W292 E265 STRFTIME001 STRFTIME002
131+
select = E301 E303 E304 E305 E306 E502 W291 W293 W391 E226 E225 E241 E231 E101 E111 E112 E113 E121 E122 E125 E127 E128 E129 E131 E133 E201 E202 E203 E211 E222 E223 E224 E225 E227 E228 E242 E251 E261 E262 E271 E272 E402 E703 E711 E712 E713 E714 E721 W504 E302 YTT101 YTT102 YTT103 YTT201 YTT202 YTT203 YTT204 YTT301 YTT302 YTT303 STRFTIME001 STRFTIME002 W292 E265
132132
exclude = .git,__pycache__,doc-source,old,build,dist,make_conda_recipe.py,__pkginfo__.py,setup.py
133133

134+
134135
[mypy]
135136
python_version = 3.6
136137
ignore_missing_imports = True

0 commit comments

Comments
 (0)