Skip to content

Commit 2783dc8

Browse files
committed
revised repository based on template
1 parent b22627a commit 2783dc8

35 files changed

+389
-787
lines changed

.coveragerc

+4-8
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
[run]
22
branch = True
3-
source = f2format
3+
source = .
4+
omit = setup.py
5+
46
[report]
57
exclude_lines =
6-
if self.debug:
78
pragma: no cover
8-
raise NotImplementedError
9-
if __name__ == .__main__.:
10-
ignore_errors = True
11-
omit =
12-
test/*
13-
f2format/lib/*
9+
if TYPE_CHECKING:

.editorconfig

+6
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,14 @@ charset = utf-8
88
trim_trailing_whitespace = true
99
insert_final_newline = true
1010

11+
[Makefile]
12+
indent_style = tab
13+
1114
[*.json]
1215
indent_size = 2
1316

1417
[*.yml]
1518
indent_size = 2
19+
20+
[*.bash-completion]
21+
indent_size = 2

.env

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
PIPENV_VERBOSITY=-1

.flake8

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[flake8]
2+
3+
max-line-length = 120
4+
5+
per-file-ignores =
6+
ci/run_pylint.py:E501

.gitattributes

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
# Auto detect text files and perform LF normalization
2-
* text=auto
1+
*.sh text eol=lf

.gitignore

+15-179
Original file line numberDiff line numberDiff line change
@@ -1,181 +1,17 @@
1-
2-
*.pyi
3-
4-
Tap
5-
*~orig*
6-
release/
7-
.vscode/
8-
9-
temp
10-
archive
11-
12-
# Created by https://www.gitignore.io/api/python,macos,mercurial
13-
# Edit at https://www.gitignore.io/?templates=python,macos,mercurial
14-
15-
### macOS ###
16-
# General
17-
.DS_Store
18-
.AppleDouble
19-
.LSOverride
20-
21-
# Icon must end with two \r
22-
Icon
23-
24-
# Thumbnails
25-
._*
26-
27-
# Files that might appear in the root of a volume
28-
.DocumentRevisions-V100
29-
.fseventsd
30-
.Spotlight-V100
31-
.TemporaryItems
32-
.Trashes
33-
.VolumeIcon.icns
34-
.com.apple.timemachine.donotpresent
35-
36-
# Directories potentially created on remote AFP share
37-
.AppleDB
38-
.AppleDesktop
39-
Network Trash Folder
40-
Temporary Items
41-
.apdisk
42-
43-
### Mercurial ###
44-
.hg/
45-
.hgignore
46-
.hgsigs
47-
.hgsub
48-
.hgsubstate
49-
.hgtags
50-
51-
### Python ###
52-
# Byte-compiled / optimized / DLL files
53-
__pycache__/
54-
*.py[cod]
55-
*$py.class
56-
57-
# C extensions
58-
*.so
59-
60-
# Distribution / packaging
61-
.Python
62-
build/
63-
develop-eggs/
64-
dist/
65-
downloads/
66-
eggs/
67-
.eggs/
68-
lib/
69-
lib64/
70-
parts/
71-
sdist/
72-
var/
73-
wheels/
74-
pip-wheel-metadata/
75-
share/python-wheels/
76-
*.egg-info/
77-
.installed.cfg
78-
*.egg
79-
MANIFEST
80-
81-
# PyInstaller
82-
# Usually these files are written by a python script from a template
83-
# before PyInstaller builds the exe, so as to inject date/other infos into it.
84-
*.manifest
85-
*.spec
86-
87-
# Installer logs
88-
pip-log.txt
89-
pip-delete-this-directory.txt
90-
91-
# Unit test / coverage reports
92-
htmlcov/
93-
.tox/
94-
.nox/
1+
.vscode
2+
__pycache__
3+
*.pyc
4+
/build/
5+
/dist/
6+
/*.egg-info/
7+
/MANIFEST
958
.coverage
96-
.coverage.*
97-
.cache
98-
nosetests.xml
99-
coverage.xml
100-
*.cover
101-
.hypothesis/
102-
.pytest_cache/
103-
104-
# Translations
105-
*.mo
106-
*.pot
107-
108-
# Django stuff:
109-
*.log
110-
local_settings.py
111-
db.sqlite3
112-
db.sqlite3-journal
9+
/htmlcov
10+
/archive
11311

114-
# Flask stuff:
115-
instance/
116-
.webassets-cache
117-
118-
# Scrapy stuff:
119-
.scrapy
120-
121-
# Sphinx documentation
122-
docs/_build/
123-
124-
# PyBuilder
125-
target/
126-
127-
# Jupyter Notebook
128-
.ipynb_checkpoints
129-
130-
# IPython
131-
profile_default/
132-
ipython_config.py
133-
134-
# pyenv
135-
.python-version
136-
137-
# pipenv
138-
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
139-
# However, in case of collaboration, if having platform-specific dependencies or dependencies
140-
# having no cross-platform support, pipenv may install dependencies that don't work, or not
141-
# install all needed dependencies.
142-
Pipfile.lock
143-
144-
# celery beat schedule file
145-
celerybeat-schedule
146-
147-
# SageMath parsed files
148-
*.sage.py
149-
150-
# Environments
151-
.env
152-
.venv
153-
env/
154-
venv/
155-
ENV/
156-
env.bak/
157-
venv.bak/
158-
159-
# Spyder project settings
160-
.spyderproject
161-
.spyproject
162-
163-
# Rope project settings
164-
.ropeproject
165-
166-
# mkdocs documentation
167-
/site
168-
169-
# mypy
170-
.mypy_cache/
171-
.dmypy.json
172-
dmypy.json
173-
174-
# Pyre type checker
175-
.pyre/
176-
177-
# End of https://www.gitignore.io/api/python,macos,mercurial
178-
179-
# Ignore our archives
180-
/archive/*.tar
181-
/archive/*.tar.gz
12+
/.venv
13+
/Pipfile.lock
14+
/docs/build
15+
.tox/
16+
.mypy_cache
17+
.pytest_cache

.gitmodules

-3
This file was deleted.

.pyup.yml

-4
This file was deleted.

.readthedocs.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ formats: all
2020
python:
2121
version: 3.8
2222
install:
23-
- requirements: docs/requirements.txt
2423
- method: pip
2524
path: .
25+
extra_requirements:
26+
- docs

AUTHORS.md

-12
This file was deleted.

CHANGELOG.md

-117
This file was deleted.

0 commit comments

Comments
 (0)