Skip to content

Commit 18fdda4

Browse files
Update gitignore and flake8 config, add .python-version for pyenv
1 parent e46194f commit 18fdda4

3 files changed

Lines changed: 8 additions & 6 deletions

File tree

.flake8

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
# D400: First line should end with a period
1515
# W504: line break after binary operator -> Cannot break line with a long pathlib Path
1616
# D204: 1 blank line required after class docstring
17-
ignore = D107, D400, W504, D204
17+
# T201: print found
18+
ignore = D107, D400, W504, D204, T201
1819

1920
# Specify a list of mappings of files and the codes that should be ignored for the entirety of the file.
2021
per-file-ignores =
@@ -25,7 +26,7 @@ exclude =
2526
# No need to traverse our git directory
2627
.git,
2728
# Python virtual environments
28-
.venv,
29+
.venv*,
2930
# tox virtual environments
3031
.tox,
3132
# There's no value in checking cache directories

.gitignore

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ pymakr.conf
99
config/config*.py
1010
thinking/
1111
*.bin
12-
.idea
1312
*.bak
1413
*.o
1514
.vagrant/
@@ -36,6 +35,7 @@ parts/
3635
sdist/
3736
var/
3837
wheels/
38+
pip-wheel-metadata/
3939
share/python-wheels/
4040
*.egg-info/
4141
.installed.cfg
@@ -102,7 +102,7 @@ ipython_config.py
102102
# pyenv
103103
# For a library or package, you might want to ignore these files since the code is
104104
# intended to run in multiple environments; otherwise, check them in:
105-
# .python-version
105+
.python-version
106106

107107
# pipenv
108108
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
@@ -138,7 +138,7 @@ celerybeat.pid
138138

139139
# Environments
140140
.env
141-
.venv
141+
.venv*
142142
env/
143143
venv/
144144
ENV/
@@ -174,4 +174,4 @@ cython_debug/
174174
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
175175
# and can be added to the global gitignore or merged into this file. For a more nuclear
176176
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
177-
#.idea/
177+
.idea/

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.11

0 commit comments

Comments
 (0)