ruff-pre-commit
A pre-commit hook for Ruff.
파일 탐색기
- main.yml
- dependabot.yml
- ISSUE_TEMPLATE.md
- PULL_REQUEST_TEMPLATE.md
- .gitignore
- .pre-commit-hooks.yaml
- LICENSE-APACHE
- LICENSE-MIT
- mirror.py
- pyproject.toml
- README.md
# CDN으로 사용하기
jsDelivrjsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.
명령어 용어집
이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.
jupyter
설명 보기 ▼
jupyter
코드, 시각화 및 노트를 포함한 문서를 생성하고 공유할 수 있는 웹 애플리케이션.
주로 데이터 분석, 과학 컴퓨팅 및 머신 러닝에 사용됩니다.
더 많은 정보: <https://docs.jupyter.org/en/latest/use/jupyter-command.html>.
jupyter notebook
현재 디렉토리에서 Jupyter 노트북 서버 시작:
jupyter notebook {{path/to/file}}.ipynb
특정 Jupyter 노트북 열기:
jupyter nbconvert --to {{html|markdown|pdf|script|...}} {{path/to/file}}.ipynb
특정 Jupyter 노트북을 다른 형식으로 내보내기:
ruff check
설명 보기 ▼
ruff check
An extremely fast Python linter. `check` is the default command - it can be omitted everywhere.
If no files or directories are specified, the current working directory is used by default.
ruff check {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}
Run the linter on the given files or directories:
ruff check --fix
Apply the suggested fixes, modifying the files in-place:
ruff check --watch
Run the linter and re-lint on change:
ruff format
설명 보기 ▼
ruff format
An extremely fast Python code formatter.
If no files or directories are specified, the current working directory is used by default.
ruff format {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}
Format given files or directories in-place:
ruff format --check
Print which files would have been modified and return a non-zero exit code if there are files to reformat, and zero otherwise:
ruff format --diff
Print what changes would be made without modifying the files:
