Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

refactor: move repo/pysdk/pysdk -> repo/pysdk #253

Merged
merged 3 commits into from
Sep 21, 2023
Merged

Conversation

Unique-Divine
Copy link
Member

Summary

  • refactor: move repo/pysdk/pysdk -> repo/pysdk
  • ci: adapt the ci to the refactr
  • deps(poetry.lock): regenerates lock file with poetry v1.6.1: poetry self update

Cleaning your environment:

1. Remove all __pycache__ directories from the repo.

find . -name "*pycache*" -type d -exec rm -rf {} +

2. Put fire to the poetry cache and .venv

  echo "clearing .cache/pypoetry" 
  rm -rf ~/.cache/pypoetry

  echo "clearing .venv" 
  rm -rf .venv

  echo "clearing poetry.lock" 
  rm -f poetry.lock

  echo "poetry cache clear pypi --all"
  poetry cache clear pypi --all

3. Sync your poetry version with your pyenv Python version.

poetry env use $(pyenv versions | grep '*' | cut -d' ' -f2)
poetry install

4. Run the tests again

bash scripts/localnet.sh --no-build
# In another shell
poetry run pytest

@sonarcloud
Copy link

sonarcloud bot commented Sep 21, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug C 3 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 93 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

@Unique-Divine Unique-Divine merged commit 9a20cb5 into main Sep 21, 2023
6 of 7 checks passed
@Unique-Divine Unique-Divine deleted the realu/cleaning branch September 21, 2023 14:30
@Unique-Divine Unique-Divine restored the realu/cleaning branch June 5, 2024 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants