Skip to content

Commit 928918b

Browse files
committed
first commit
0 parents  commit 928918b

15 files changed

Lines changed: 688 additions & 0 deletions

.gitignore

Lines changed: 188 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,188 @@
1+
### Intellij ###
2+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
3+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
4+
5+
# User-specific stuff:
6+
.idea/workspace.xml
7+
.idea/tasks.xml
8+
.idea/dictionaries
9+
.idea/vcs.xml
10+
.idea/jsLibraryMappings.xml
11+
12+
# Sensitive or high-churn files:
13+
.idea/dataSources.ids
14+
.idea/dataSources.xml
15+
.idea/dataSources.local.xml
16+
.idea/sqlDataSources.xml
17+
.idea/dynamic.xml
18+
.idea/uiDesigner.xml
19+
20+
# Gradle:
21+
.idea/gradle.xml
22+
.idea/libraries
23+
24+
# Mongo Explorer plugin:
25+
.idea/mongoSettings.xml
26+
27+
## File-based project format:
28+
*.iws
29+
30+
## Plugin-specific files:
31+
32+
# IntelliJ
33+
/out/
34+
35+
# mpeltonen/sbt-idea plugin
36+
.idea_modules/
37+
38+
# JIRA plugin
39+
atlassian-ide-plugin.xml
40+
41+
# Crashlytics plugin (for Android Studio and IntelliJ)
42+
com_crashlytics_export_strings.xml
43+
crashlytics.properties
44+
crashlytics-build.properties
45+
fabric.properties
46+
47+
### Intellij Patch ###
48+
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
49+
50+
# *.iml
51+
# modules.xml
52+
*.pyc
53+
*.db
54+
*.scssc
55+
*.map
56+
media
57+
58+
# Created by https://www.gitignore.io/api/python
59+
60+
### Python ###
61+
# Byte-compiled / optimized / DLL files
62+
__pycache__/
63+
*.py[cod]
64+
*$py.class
65+
66+
# C extensions
67+
*.so
68+
69+
# Distribution / packaging
70+
.Python
71+
build/
72+
develop-eggs/
73+
dist/
74+
downloads/
75+
eggs/
76+
.eggs/
77+
lib/
78+
lib64/
79+
parts/
80+
sdist/
81+
var/
82+
wheels/
83+
*.egg-info/
84+
.installed.cfg
85+
*.egg
86+
MANIFEST
87+
88+
# PyInstaller
89+
# Usually these files are written by a python script from a template
90+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
91+
*.manifest
92+
*.spec
93+
94+
# Installer logs
95+
pip-log.txt
96+
pip-delete-this-directory.txt
97+
98+
# Unit test / coverage reports
99+
htmlcov/
100+
.tox/
101+
.coverage
102+
.coverage.*
103+
.cache
104+
nosetests.xml
105+
coverage.xml
106+
*.cover
107+
.hypothesis/
108+
.pytest_cache/
109+
110+
# Translations
111+
*.mo
112+
*.pot
113+
114+
# Django stuff:
115+
*.log
116+
local_settings.py
117+
db.sqlite3
118+
119+
# Flask stuff:
120+
instance/
121+
.webassets-cache
122+
123+
# Scrapy stuff:
124+
.scrapy
125+
126+
# Sphinx documentation
127+
docs/_build/
128+
129+
# PyBuilder
130+
target/
131+
132+
# Jupyter Notebook
133+
.ipynb_checkpoints
134+
135+
# IPython
136+
profile_default/
137+
ipython_config.py
138+
139+
# pyenv
140+
.python-version
141+
142+
# celery beat schedule file
143+
celerybeat-schedule
144+
145+
# SageMath parsed files
146+
*.sage.py
147+
148+
# Environments
149+
.env
150+
.venv
151+
env/
152+
venv/
153+
ENV/
154+
env.bak/
155+
venv.bak/
156+
157+
# Spyder project settings
158+
.spyderproject
159+
.spyproject
160+
161+
# Rope project settings
162+
.ropeproject
163+
164+
# mkdocs documentation
165+
/site
166+
167+
# mypy
168+
.mypy_cache/
169+
.dmypy.json
170+
dmypy.json
171+
172+
### Python Patch ###
173+
.venv/
174+
175+
### Python.VirtualEnv Stack ###
176+
# Virtualenv
177+
# http://iamzed.com/2009/05/07/a-primer-on-virtualenv/
178+
[Bb]in
179+
[Ii]nclude
180+
[Ll]ib
181+
[Ll]ib64
182+
[Ll]ocal
183+
[Ss]cripts
184+
pyvenv.cfg
185+
pip-selfcheck.json
186+
187+
188+
# End of https://www.gitignore.io/api/python

.pre-commit-config.yaml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
repos:
2+
- repo: https://github.com/psf/black
3+
rev: 22.12.0
4+
hooks:
5+
- id: black
6+
args: [--line-length=79]
7+
8+
- repo: https://github.com/PyCQA/isort
9+
rev: 5.11.4
10+
hooks:
11+
- id: isort
12+
args: ["--profile", "black", "--filter-files"]
13+
14+
- repo: https://github.com/hakancelikdev/unimport
15+
rev: 33ead41ee30f1d323a9c2fcfd0114297efbbc4d5
16+
hooks:
17+
- id: unimport
18+
args: [--remove, --include-star-import]
19+
20+
- repo: https://github.com/pre-commit/mirrors-mypy
21+
rev: v0.991
22+
hooks:
23+
- id: mypy
24+
args:
25+
[
26+
--ignore-missing-imports,
27+
--show-error-codes,
28+
--disallow-incomplete-defs,
29+
--explicit-package-bases,
30+
]
31+
additional_dependencies: [types-toml==0.1.3]
32+
33+
- repo: https://github.com/PyCQA/docformatter
34+
rev: v1.5.1
35+
hooks:
36+
- id: docformatter
37+
args: [--in-place]
38+
39+
- repo: https://github.com/pre-commit/mirrors-prettier
40+
rev: v3.0.0-alpha.4
41+
hooks:
42+
- id: prettier
43+
args: [--prose-wrap=always, --print-width=88]
44+
45+
- repo: https://github.com/pre-commit/pre-commit-hooks
46+
rev: v4.4.0
47+
hooks:
48+
- id: end-of-file-fixer
49+
files: "\\.(py|.txt|.yaml|.json|.in|.md|.toml|.cfg|.html|.yml)$"
50+
51+
- repo: local
52+
hooks:
53+
- id: unittests
54+
name: run unit tests
55+
entry: python -m unittest
56+
language: system
57+
pass_filenames: false
58+
args: ["discover"]

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and
6+
this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [0.0.1] - 2023-01-14
9+
10+
### Added
11+
12+
- Add colorful CLI with two trace mode; line-by-line and function call hierarchy.
13+
14+
[0.0.1]: https://github.com/furkanonder/beetrace/releases/tag/0.0.1

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2023 Furkan ONDER
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)