You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's easy to check the style of your code, just run:
134
-
135
-
```bash
136
-
$ ./setup.py lint
137
-
```
138
-
139
-
If you see any PEP 8 style issues, you can automatically fix them by running:
140
-
141
-
```bash
142
-
$ ./setup.py lint --fix
143
-
```
144
-
145
-
Be sure to commit and push any PEP 8 fixes.
146
-
147
120
## Releasing a new version of mycli
148
121
149
-
You have been made the maintainer of `mycli`? Congratulations! We have a release script to help you:
150
-
151
-
```sh
152
-
> python release.py --help
153
-
Usage: release.py [options]
154
-
155
-
Options:
156
-
-h, --help show this help message and exit
157
-
-c, --confirm-steps Confirm every step. If the step is not confirmed, it
158
-
will be skipped.
159
-
-d, --dry-run Print out, but not actually run any steps.
160
-
```
161
-
162
-
To release a new version of the package:
163
-
164
-
* Create and merge a PR to bump the version in the changelog ([example PR](https://github.com/dbcli/mycli/pull/1043)).
165
-
* Pull `main` and bump the version number inside `mycli/__init__.py`. Do not check in - the release script will do that.
166
-
* Make sure you have the dev requirements installed: `pip install -r requirements-dev.txt -U --upgrade-strategy only-if-needed`.
167
-
* Finally, run the release script: `python release.py`.
122
+
Create a new [release](https://github.com/dbcli/mycli/releases) in Github. This will trigger a Github action which will run all the tests, build the wheel and upload it to PyPI.
These are some alternative ways to install mycli that are not managed by our team but provided by OS package maintainers. These packages could be slightly out of date and take time to release the latest version.
157
154
158
155
### Arch, Manjaro
159
156
@@ -202,7 +199,7 @@ Thanks to [PyMysql](https://github.com/PyMySQL/PyMySQL) for a pure python adapte
202
199
203
200
### Compatibility
204
201
205
-
Mycli is tested on macOS and Linux, and requires Python 3.7 or better.
202
+
Mycli is tested on macOS and Linux, and requires Python 3.9 or better.
206
203
207
204
**Mycli is not tested on Windows**, but the libraries used in this app are Windows-compatible.
208
205
This means it should work without any modifications. If you're unable to run it
0 commit comments