File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -157,4 +157,7 @@ cython_debug/
157157# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
158158# and can be added to the global gitignore or merged into this file. For a more nuclear
159159# option (not recommended) you can uncomment the following to ignore the entire idea folder.
160- # .idea/
160+ .idea /
161+
162+ # macOS
163+ .DS_Store
Original file line number Diff line number Diff line change 2121### Usage
2222
2323* Use ` -h/--help ` for available options
24- * General usage
25- ` Probely <context> <action> [positional_params ...] [--optinal params ...] -- [positional_params ...]`
24+ * General usage:
25+ * ` probely <context> <action> [positional_params ...] [--optinal params ...] -- [positional_params ...]`
2626 * ` -- ` allows you to add positional args after optional
2727* add ` --api-key ` for command specific api key
2828
4141 ```
4242 import probely_cli
4343
44- target = probely_cli.add_target("http ://target_url.com")
44+ target = probely_cli.add_target("https ://target_url.com")
4545 ```
4646
4747### Development guidelines:
Original file line number Diff line number Diff line change @@ -145,7 +145,6 @@ def _build_session(cls) -> requests.Session:
145145 session .headers .update ({"Authorization" : "JWT " + api_key })
146146 session .headers .update ({"User-Agent" : cls ._build_user_agent ()})
147147
148- logger .debug (session .headers )
149148 cls ._session_cache = session
150149 return session
151150
Original file line number Diff line number Diff line change 1- from pathlib import Path
2-
3- import toml
4-
5- pyproject_content = toml .load (Path (__file__ ).parents [1 ] / "pyproject.toml" )
6-
7- __version__ = pyproject_content ["project" ]["version" ]
1+ __version__ = "0.0.1a2"
Original file line number Diff line number Diff line change 11[project ]
22name = " probely"
3- version = " 0.0.1 "
3+ dynamic = [ " version " ]
44description = " CLI and SDK wrappers for Probely's API"
55authors = [
6+ { name = " Probely" , email = " hello@probely.com" },
7+ ]
8+ maintainers = [
69 { name = " João Silva" , email = " joao.silva@probely.com" },
710 { name = " Vladimir Kontic" , email = " vladimir@probely.com" },
811 { name = " Temidire Adams" , email = " temidire@probely.com" }
@@ -74,14 +77,26 @@ Repository = "https://github.com/probely/probely_cli.git"
7477# Changelog = "https://github.com/probely/probely_cli/blob/master/CHANGELOG.md"
7578
7679
77-
78-
7980[build-system ]
8081requires = [" hatchling" ]
8182build-backend = " hatchling.build"
8283
8384[tool .hatch .metadata ]
8485allow-direct-references = true
8586
86- # [tool.hatch.build.targets.wheel]
87- # packages = ["src/probely"]
87+ [tool .hatch .build .targets .sdist ]
88+ exclude = [
89+ " /.github" ,
90+ " /.gitlab" ,
91+ " /.tox" ,
92+ " /builds" ,
93+ " /docs" ,
94+ " /examples" ,
95+ " /tests" ,
96+ " /tox.ini" ,
97+ ]
98+ [tool .hatch .build .targets .wheel ]
99+ packages = [" probely" ]
100+
101+ [tool .hatch .version ]
102+ path = " probely/version.py"
You can’t perform that action at this time.
0 commit comments