Commit graph

60 commits

Author SHA1 Message Date
Amethyst Reese
a4203e5c49
Drop codecov from CI and readme (#1192)
* Drop codecov from CI and readme

* Remove upload job, move coverage check to test job with hatch
2024-08-22 16:06:01 -07:00
Amethyst Reese
a2a60c147c
Make readme example use python syntax highlighting (#1092) 2024-01-18 19:09:52 +00:00
Zsolt Dollenstein
30df6fcdab
remove 3.8 support (#1073)
This PR also starts using 3.12 properly in CI
2024-01-03 12:06:37 -08:00
Itamar Oren
19c2862ea3
Update README.rst (#1039)
update Python parseable versions range to include 3.12
2023-10-05 20:18:05 -07:00
Zsolt Dollenstein
2064e200af
Fix readme's Python version requirement 2023-08-27 09:31:27 +01:00
Amethyst Reese
6a7b82e2b6 PEP 621 + hatch to run tests/lint/etc
Moves PEP 621 metadata from `setup.py` and `requirements*.txt` into the
`[project]` table of `pyproject.toml`. This enables using hatch as a
task runner for the project, where previously one would need to remember
a bunch of different commands, or repeatedly consult the readme's
developer guide to find all of the relevant commands.

This creates the following hatch commands:

- docs
- fixtures
- format
- lint
- test
- typecheck

It also updates all of the github actions workflows to use the
appropriate hatch commands, and the readme's developer guide, so that
there is only one source of truth for what constitutes running tests.

The "test" workflows now drop the matrix distinction between "pure" or
"native", and run tests in both modes from a single build.

ghstack-source-id: 8834da7825
Pull Request resolved: https://github.com/Instagram/LibCST/pull/893
2023-03-14 19:37:41 -07:00
MapleCCC
f92cbb7976
Fix doc build status badge (#763) 2022-09-04 20:36:55 +01:00
Luke Petre
e5ab7b90b4
Drop support for running libcst using a python 3.6 interpreter (#663)
* Drop support for running libcst using a python 3.6 interpreter

* PR feedback
2022-03-24 11:31:48 -04:00
Dmitry Vinnik
17137014ac
docs: add social button in support of Ukraine (#655)
## Summary
Our mission at Meta Open Source is to empower communities through open source, and we believe that it means building a welcoming and safe environment for all. As a part of this work, we are adding this banner in support for Ukraine during this crisis.
2022-03-04 19:04:43 +00:00
Arie Bovenberg
5a1220097d
[ci] add slotscheck (#615)
Co-authored-by: Zsolt Dollenstein <zsol.zsol@gmail.com>
2022-01-20 18:19:33 +00:00
Zsolt Dollenstein
c7d76c65f3
Add docs about the native parts (#601)
Co-authored-by: Steven Troxler <steven.troxler@gmail.com>
2022-01-15 12:42:42 +00:00
Steven Troxler
1937fbf47d
Add a Building subsection to the Developing docs (#593)
* Add a build section to the docs

* Tweaks based on code review
2022-01-09 08:32:13 -08:00
Luke Petre
9f6ff017f2
Use pyre site-package feature (#589)
* Use pyre site-package feature
* Update readme, remove example
2022-01-07 07:34:50 -05:00
Luke Petre
6434ca8512
Remove tox references (#588) 2022-01-06 21:09:27 -05:00
Zsolt Dollenstein
45c0d96c06
master -> main (#521) 2021-09-07 11:59:38 +01:00
Steven Troxler
5e1e3fe970
The ufmt tool combines usort and black with a consistent wrapper, (#515)
which ensures we won't have inconsistent black-vs-isort errors
going forward. We can always format by running `ufmt format .`
at the root, and check with `ufmt check .` in our CI actions.
2021-08-25 20:39:29 -04:00
Zsolt Dollenstein
03b3933af6
remove circleci config and update readme (#509) 2021-08-11 08:50:18 -04:00
Caleb Donovick
dacafdea8c
Update README.rst: venv dir must **not** be inside the libcst dir (#454)
Just spent a couple hours trying to figure out why I couldn't get pyre to work.  Only to figure out that having my venv inside the libcst dir was breaking pyre.
2021-02-08 10:51:49 -08:00
Jimmy Lai
3e63f914e5
[README] update Codecov badge (#382) 2020-09-06 09:29:12 +01:00
Jimmy Lai
afdf74694b
Add tox to requirements-dev.txt and fixed a typo in README (#357) 2020-08-04 14:44:26 -07:00
Hồ Đức Hiếu
f8fdc00aeb
Update README.rst (#351)
* Update README.rst

Add href link of MIT licensed

* Update README.rst

* Update README.rst

Co-authored-by: Jimmy Lai <yurinai@gmail.com>
2020-07-28 12:05:55 -07:00
Josie Eshkenazi
ed1a2ad4d1
Add fb open source required links (#307)
Links to Privacy Policy and Terms of Use in README.rst and docs/index
2020-06-04 14:27:54 -04:00
Tim Hatch
d2b86be3c7
Merge pull request #261 from thatch/syntax-3.0
Support Python 3 syntax back to 3.0
2020-03-20 07:05:00 -07:00
jimmylai
6c48a93a5a Use inline ::. 2020-03-19 07:56:19 -07:00
jimmylai
196f8c8d28 [docs] improve readability per reader's feedback 2020-03-19 07:56:19 -07:00
jimmylai
cce934acca Fix typo in README.rst
Co-Authored-By: Carl Meyer <carl@oddbird.net>
2020-03-18 17:49:35 -07:00
jimmylai
a7cdabdefd [docs] fix Pyre setup steps formatting in README 2020-03-18 17:49:35 -07:00
Tim Hatch
dc9dcfe507 Update README to specify 3.0+ versions work 2020-03-12 08:45:18 -07:00
Jimmy Lai
ea8619ade5 [CI] Use the latest LibCST source code in Pyre check 2020-03-12 08:26:07 -07:00
jimmylai
91e7bb739c
Add --preserve-pythonpath option to pyre check in README. 2020-03-06 22:16:42 +00:00
jimmylai
9f70189029 Add pypi monthly download badge to README 2020-02-25 10:17:20 -08:00
Jennifer Taylor
fdd5cbbfe6 Implement parsing of posonly param indicator ('/'). This brings us to full 3.8 compatibility. 2020-01-17 10:57:48 -08:00
Jennifer Taylor
744ca1e47d Bump LibCST to 0.2.7 in preparation for changing instagram source of truth. 2020-01-07 11:45:28 -08:00
Jimmy Lai
a1bd01990a bump LibCST version to 0.2.6 2020-01-02 10:08:33 -08:00
Jimmy Lai
0a5bc066ce fix broken usage link 2019-12-27 11:40:15 -08:00
Jennifer Taylor
9c6ccbb80e Bump LibCST to 0.2.5. 2019-12-05 16:36:09 -08:00
Jennifer Taylor
0391905bde Bump LibCST to 0.2.2. 2019-10-24 15:01:39 -07:00
jimmylai
4ad2139c8c Add metadata provider to future in README. 2019-09-27 13:55:26 -07:00
Jennifer Taylor
dd99a424dc Add future section, based on questions received. 2019-09-27 13:55:26 -07:00
Jennifer Taylor
42760505bf Clarify LibCST license.
Make explicit in the LICENSE and README files the exact files that are not licensed under MIT since being forked. These files already have license information in their headers, but it is always good to be explicit at the top level as well. Also include a copy of the licenses in the LICENSE file to conform with requirements.
2019-09-27 13:55:26 -07:00
Jennifer Taylor
dcf27644b5 Add support for Python 3.5
There were only grammar changes between 3.5 and 3.6, which are pretty trivial to put in. So, do that trivial bit and get us completely covered for production Python 3 versions. This could use better testing, but it is good enough as-is and we can address issues with GitHub's issue tracker.
2019-09-16 15:57:59 -07:00
Jennifer Taylor
99e69e6569 Update README.rst to include that we support parsing 3.6 as well as 3.7. 2019-09-16 15:57:59 -07:00
Gareth T
41af9de31d [docs] Small update and corrections to documentation. (#55) 2019-09-03 10:30:08 -07:00
jimmylai
750b18c5fe
add PYPI version badge to readme (#41) 2019-08-21 11:52:57 -07:00
jimmylai
2f33bdd912
Add CodeCov badge in README 2019-08-19 13:44:52 -07:00
jimmylai
08b3e48190
add link of notebook binder in README 2019-08-14 14:11:14 -07:00
Ray Zeng
e08e27fa30 Add tox enviroment to run isort and black and update readme 2019-08-09 10:06:29 -07:00
Benjamin Woodruff
dd22dd0361 Link to ReadTheDocs from our README file
This should make it possible for people to find our more detailed
documentation.
2019-08-07 15:03:38 -07:00
Ray Zeng
f52ee1b1b2 fix Python version details in readme 2019-08-06 16:55:08 -07:00
Ray Zeng
9ae23ce81a Add installation instructions to readme 2019-08-06 16:55:08 -07:00