Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Use .extend instead of += #72

Merged
merged 1 commit into from
Jul 20, 2024
Merged

Use .extend instead of += #72

merged 1 commit into from
Jul 20, 2024

Conversation

Moosems
Copy link
Member

@Moosems Moosems commented Jul 18, 2024

Changes in PR:

  • Use .extend() instead of +=
  • Use a *3 multiplier for builtin keywords

@leycec Just for you :D

@Moosems Moosems added this to the v.1.0.0 milestone Jul 18, 2024
@Moosems Moosems self-assigned this Jul 18, 2024
@Moosems Moosems merged commit 507b82f into v1.0.0 Jul 20, 2024
6 checks passed
@Moosems Moosems deleted the use-extend branch July 20, 2024 02:17
@leycec
Copy link

leycec commented Jul 20, 2024

lol. Thanks for humouring a pendatic old bald guy who lives in the woods. A decade of QA has done this to me. 😄

@Moosems
Copy link
Member Author

Moosems commented Jul 20, 2024

I value your insights all the same my friend :)

Moosems added a commit that referenced this pull request Jul 26, 2024
* Pull master to v1.0.0 (#67)

* Fix bug when no new_tokens exist (#61)

* Fix bug when no new_tokens exist

if no new_tokens existed it would not give out any new tokens since the overwrite method did not have anything to compare against.

* Format

* Bump version

* Add Docs (#66)

* Create .readthedocs.yaml

* Exclude docs branch from normal actions

* Try making some changes

* Continue work on docs

* Continue work on docs

* Fix builds

* Add mkdocs and format

* Pip install?

* Try using sphinx

* Fix command

* Finish the docs

* Update README to outsource docs

* Re-bump version

* Revert docs actions changes and change job names

* Revert "Re-bump version"

This reverts commit 3a84012.

* Revert "Revert docs actions changes and change job names"

This reverts commit 1b141c3.

* Bump version (again)

* Revert docs actions changes and change job names

* Tree sitter (#62)

* Create POC

* Improve POC

* Bug fixes, comments, use assert

* Have helpful auto-mapper

The auto-mapper is great for users who don't want to spend forever mapping stuff so it will give a mapping made from what context it can get and then the user can refine it and hone it

* Format

* Move functions to separate file and write tests

Make the tests more official and move the functions to its own file to decouple the tests

* Add comments, rename function and arguments

* Move tests to test folder, funcs to highlight folder

* Update dependencies

* Add requirements-dev.txt and add pycharm to gitignore

* Improve spelling and imports

* I figured it out :D

* Create tree_sitter_highlight()

* Make special tokens function

* Split up tests

* Format

* Try working on adding to API

* Format

* Show crash in actions and ruff

* Even more formatting

* Fix the c pointer bug

* Get working server output

* Reformat

* Add examples and update README

* Format

* isort again

* Add support for .so files

* Add .so tests

* Fix mapping test comments

* Update docs to match tree sitter highlighting

* Bump version in docs

* Try adding epub

* Keep only the epub file

* Specify builders

* Try one-lining this

* Print dir

* Try another way

* Revert "Merge branch 'master' into v1.0.0"

This reverts commit 3bd2e83, reversing
changes made to e85a8eb.

* Change from Salve IPC to Salve

* Appease formatters

I accidentally removed a newline when pulling master to the v1.0.0 branch

* Update highlight example to not be ridiculous

* Use dirhtml for docs

* Logging (#70)

* Create POC

* Add most of the logging and fix setup.py

I still need to give logging to the Tree Sitter part

* Add logs to Tree Sitter highlight and format

* Fix tests

* Use salve dependency hub (#71)

* Use salve dependency hub

* Update docs

* Spell checks and start work on improving docs

* Further improvements to docs

* Add examples and improve small things

* Remove tabs

* Update salve_dependency_hub

* Update docs and examples

* Token bugfix and add test

Sometimes it would try overwriting tokens it shouldn't and DOTALL got all the comment regexes to work properly

* Format

* Use .extend instead of += (#72)

* Update links

* Remove tree sitter (#75)

* Start removing Tree Sitter Code

Commit 1 in a series removing Tree Sitter Support from Salve in favor of Albero.

* Run basic formatting

Commit 2 in a series removing Tree Sitter Support from Salve in favor of Albero.

* Update tests

Commit 3 in a series removing Tree Sitter Support from Salve in favor of Albero.

* Remove Tree Sitter mentions from docs

Commit 4 in a series removing Tree Sitter Support from Salve in favor of Albero.

* Update gitignore

* Update docs

* Use token_tools

* Links and chars standalone (#77)

* Move links and hidden chars file

* Make links and hidden chars standalone

* Fix bug and tests

* Windows being annoying

* Update docs

* Format
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants