René's URL Explorer Experiment


Title: Ruff: A Modern Python Linter for Error-Free and Maintainable Code – Real Python

Open Graph Title: Ruff: A Modern Python Linter for Error-Free and Maintainable Code – Real Python

Description: Ruff is an extremely fast, modern linter with a simple interface, making it straightforward to use. It also aims to be a drop-in replacement for other linting and formatting tools, like Pylint, isort, and Black. It's no surprise it's quickly becoming one of the most popular Python linters.

Open Graph Description: Ruff is an extremely fast, modern linter with a simple interface, making it straightforward to use. It also aims to be a drop-in replacement for other linting and formatting tools, like Pylint, isort, and Black. It's no surprise it's quickly becoming one of the most popular Python linters.

Mail addresses
?subject=Python article for you&body=Ruff: A Modern Python Linter for Error-Free and Maintainable Code on Real Python https://realpython.com/ruff-python/

Opengraph URL: https://realpython.com/ruff-python/

X: @realpython

direct link

Domain: realpython.com


Hey, it has json ld scripts:
{
  "@context": "http://schema.org",
  "@type": "Article",
  "headline": "Ruff: A Modern Python Linter for Error-Free and Maintainable Code",
  "image": {
    "@type": "ImageObject",
    "url": "https://files.realpython.com/media/Showcase-Ruff-Linter_Watermarked.71e600eb11de.jpg",
    "width": 1920,
    "height": 1080
  },
  "mainEntityOfPage": {
    "@type": "WebPage",
    "@id": "https://realpython.com/ruff-python/",
    "lastReviewed": "2024-06-17",
    "author": {
      "@type": "Person",
      "name": "Ricky White",
      "image": "https://realpython.com/cdn-cgi/image/width=556,height=556,fit=crop,gravity=auto,format=auto/https://files.realpython.com/media/rwhite-avatar.5cd0b2235c7d.7e54d4e854a2.jpg",
      "url": "https://realpython.com/team/rwhite/",
      "affiliation": {
        "@type": "Organization",
        "@id": "https://realpython.com/#organization",
        "name": "Real Python",
        "url": "https://realpython.com",
        "logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
      }
    },
    "reviewedBy": [
      {
        "@type": "Person",
        "name": "Aldren Santos",
        "image": "https://realpython.com/cdn-cgi/image/width=500,height=500,fit=crop,gravity=auto,format=auto/https://files.realpython.com/media/Aldren_Santos_Real_Python.6b0861d8b841.png",
        "url": "https://realpython.com/team/asantos/",
        "affiliation": {
          "@type": "Organization",
          "@id": "https://realpython.com/#organization",
          "name": "Real Python",
          "url": "https://realpython.com",
          "logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
        }
      },
      {
        "@type": "Person",
        "name": "Brenda Weleschuk",
        "image": "https://realpython.com/cdn-cgi/image/width=320,height=320,fit=crop,gravity=auto,format=auto/https://files.realpython.com/media/IMG_3324_1.50b309355fc1.jpg",
        "url": "https://realpython.com/team/bweleschuk/",
        "affiliation": {
          "@type": "Organization",
          "@id": "https://realpython.com/#organization",
          "name": "Real Python",
          "url": "https://realpython.com",
          "logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
        }
      },
      {
        "@type": "Person",
        "name": "Bartosz Zaczy\u0144ski",
        "image": "https://realpython.com/cdn-cgi/image/width=1694,height=1694,fit=crop,gravity=auto,format=auto/https://files.realpython.com/media/coders_lab_2109368.259b1599fbee.jpg",
        "url": "https://realpython.com/team/bzaczynski/",
        "affiliation": {
          "@type": "Organization",
          "@id": "https://realpython.com/#organization",
          "name": "Real Python",
          "url": "https://realpython.com",
          "logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
        }
      },
      {
        "@type": "Person",
        "name": "Geir Arne Hjelle",
        "image": "https://realpython.com/cdn-cgi/image/width=800,height=800,fit=crop,gravity=auto,format=auto/https://files.realpython.com/media/gahjelle.470149ee709e.jpg",
        "url": "https://realpython.com/team/gahjelle/",
        "affiliation": {
          "@type": "Organization",
          "@id": "https://realpython.com/#organization",
          "name": "Real Python",
          "url": "https://realpython.com",
          "logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
        }
      }
    ]
  },
  "datePublished": "2024-06-17T14:00:00+00:00",
  "dateModified": "2024-06-17T02:26:18.675945+00:00",
  "publisher": {
    "@type": "Organization",
    "@id": "https://realpython.com/#organization",
    "name": "Real Python",
    "url": "https://realpython.com",
    "logo": {
      "@type": "ImageObject",
      "url": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png",
      "width": 512,
      "height": 512
    },
    "description": "Real Python is a leading provider of online Python education and one of the largest language-specific online communities for software developers. It publishes high-quality learning resources, such as tutorials, books, and courses to an audience of millions of developers, data scientists, and machine learning engineers each month.",
    "slogan": "Become a Python Expert",
    "email": "info@realpython.com",
    "sameAs": [
      "https://github.com/realpython",
      "https://www.youtube.com/realpython",
      "https://twitter.com/realpython",
      "https://x.com/realpython",
      "https://www.linkedin.com/company/realpython-com/",
      "https://www.facebook.com/learnrealpython",
      "https://www.instagram.com/realpython",
      "https://www.tiktok.com/@realpython.com"
    ]
  },
  "author": {
    "@type": "Person",
    "name": "Ricky White",
    "image": "https://realpython.com/cdn-cgi/image/width=556,height=556,fit=crop,gravity=auto,format=auto/https://files.realpython.com/media/rwhite-avatar.5cd0b2235c7d.7e54d4e854a2.jpg",
    "url": "https://realpython.com/team/rwhite/",
    "affiliation": {
      "@type": "Organization",
      "@id": "https://realpython.com/#organization",
      "name": "Real Python",
      "url": "https://realpython.com",
      "logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
    }
  },
  "description": "Ruff is an extremely fast, modern linter with a simple interface, making it straightforward to use. It also aims to be a drop-in replacement for other linting and formatting tools, like Pylint, isort, and Black. It's no surprise it's quickly becoming one of the most popular Python linters."
}

authorReal Python
twitter:cardsummary_large_image
twitter:imagehttps://files.realpython.com/media/Showcase-Ruff-Linter_Watermarked.71e600eb11de.jpg
og:imagehttps://files.realpython.com/media/Showcase-Ruff-Linter_Watermarked.71e600eb11de.jpg
twitter:creator@realpython
og:typearticle

Links:

https://realpython.com/
Start Herehttps://realpython.com/start-here/
Learn Python https://realpython.com/ruff-python/
Python Tutorials →In-depth articles and video courseshttps://realpython.com/search?kind=article&kind=course&order=newest
Learning Paths →Guided study plans for accelerated learninghttps://realpython.com/learning-paths/
Quizzes & Exercises →Check your learning progresshttps://realpython.com/quizzes/
Browse Topics →Focus on a specific area or skill levelhttps://realpython.com/tutorials/all/
Community Chat →Learn with other Pythonistashttps://realpython.com/community/
Office Hours →Live Q&A calls with Python expertshttps://realpython.com/office-hours/
Podcast →Hear what’s new in the world of Pythonhttps://realpython.com/podcasts/rpp/
Books →Round out your knowledge and learn offlinehttps://realpython.com/products/books/
Reference →Concise definitions for common Python termshttps://realpython.com/ref/
Code Mentor →BetaPersonalized code assistance & learning toolshttps://realpython.com/mentor/
Unlock All Content →https://realpython.com/account/join/
More https://realpython.com/ruff-python/
Learner Storieshttps://realpython.com/learner-stories/
Python Newsletterhttps://realpython.com/newsletter/
Python Job Boardhttps://www.pythonjobshq.com
Meet the Teamhttps://realpython.com/team/
Become a Tutorial Writerhttps://realpython.com/write-for-us/
Become a Video Instructorhttps://realpython.com/become-an-instructor/
Searchhttps://realpython.com/search
https://realpython.com/search
Joinhttps://realpython.com/account/join/
Sign‑Inhttps://realpython.com/account/login/?next=%2Fruff-python%2F
Browse Topicshttps://realpython.com/tutorials/all/
Guided Learning Pathshttps://realpython.com/learning-paths/
Basicshttps://realpython.com/search?level=basics
Intermediatehttps://realpython.com/search?level=intermediate
Advancedhttps://realpython.com/search?level=advanced
aihttps://realpython.com/tutorials/ai/
algorithmshttps://realpython.com/tutorials/algorithms/
apihttps://realpython.com/tutorials/api/
best-practiceshttps://realpython.com/tutorials/best-practices/
careerhttps://realpython.com/tutorials/career/
communityhttps://realpython.com/tutorials/community/
databaseshttps://realpython.com/tutorials/databases/
data-sciencehttps://realpython.com/tutorials/data-science/
data-structureshttps://realpython.com/tutorials/data-structures/
data-vizhttps://realpython.com/tutorials/data-viz/
devopshttps://realpython.com/tutorials/devops/
djangohttps://realpython.com/tutorials/django/
dockerhttps://realpython.com/tutorials/docker/
editorshttps://realpython.com/tutorials/editors/
flaskhttps://realpython.com/tutorials/flask/
front-endhttps://realpython.com/tutorials/front-end/
gamedevhttps://realpython.com/tutorials/gamedev/
guihttps://realpython.com/tutorials/gui/
machine-learninghttps://realpython.com/tutorials/machine-learning/
newshttps://realpython.com/tutorials/news/
numpyhttps://realpython.com/tutorials/numpy/
projectshttps://realpython.com/tutorials/projects/
pythonhttps://realpython.com/tutorials/python/
stdlibhttps://realpython.com/tutorials/stdlib/
testinghttps://realpython.com/tutorials/testing/
toolshttps://realpython.com/tutorials/tools/
web-devhttps://realpython.com/tutorials/web-dev/
web-scrapinghttps://realpython.com/tutorials/web-scraping/
Table of Contentshttps://realpython.com/ruff-python/#toc
Installing Ruffhttps://realpython.com/ruff-python/#installing-ruff
Linting Your Python Codehttps://realpython.com/ruff-python/#linting-your-python-code
Checking for Errorshttps://realpython.com/ruff-python/#checking-for-errors
Speeding Up Your Workflowhttps://realpython.com/ruff-python/#speeding-up-your-workflow
Finding More Errorshttps://realpython.com/ruff-python/#finding-more-errors
Formatting Your Python Codehttps://realpython.com/ruff-python/#formatting-your-python-code
Configuring Ruffhttps://realpython.com/ruff-python/#configuring-ruff
Next Stepshttps://realpython.com/ruff-python/#next-steps
Conclusionhttps://realpython.com/ruff-python/#conclusion
https://realpython.com/feedback/survey/article/ruff-python/liked/?from=article-sidebar
https://realpython.com/feedback/survey/article/ruff-python/disliked/?from=article-sidebar
Modern Python Linting With Ruff 34m · 10 lessons https://realpython.com/courses/modern-python-linting-ruff/
Ricky Whitehttps://realpython.com/ruff-python/#author
https://realpython.com/ruff-python/#reader-comments
intermediatehttps://realpython.com/tutorials/intermediate/
devopshttps://realpython.com/tutorials/devops/
toolshttps://realpython.com/tutorials/tools/
Installing Ruffhttps://realpython.com/ruff-python/#installing-ruff
Linting Your Python Codehttps://realpython.com/ruff-python/#linting-your-python-code
Checking for Errorshttps://realpython.com/ruff-python/#checking-for-errors
Speeding Up Your Workflowhttps://realpython.com/ruff-python/#speeding-up-your-workflow
Finding More Errorshttps://realpython.com/ruff-python/#finding-more-errors
Formatting Your Python Codehttps://realpython.com/ruff-python/#formatting-your-python-code
Configuring Ruffhttps://realpython.com/ruff-python/#configuring-ruff
Next Stepshttps://realpython.com/ruff-python/#next-steps
Conclusionhttps://realpython.com/ruff-python/#conclusion
Remove adshttps://realpython.com/account/join/
Modern Python Linting With Ruffhttps://realpython.com/courses/modern-python-linting-ruff/
improve your code qualityhttps://realpython.com/python-code-quality/
commithttps://realpython.com/python-git-github-intro/#committing-changes
Flake8https://github.com/PyCQA/flake8
isorthttps://github.com/PyCQA/isort
Blackhttps://github.com/psf/black
virtual environmentshttps://realpython.com/python-virtual-environments-a-primer/
installing third-party moduleshttps://realpython.com/what-is-pip/
terminalhttps://realpython.com/terminal-commands/
Click here to get access to a free Ruff cheat sheethttps://realpython.com/bonus/ruff-python-pdf/
https://realpython.com/quizzes/ruff-python/
Ruff: A Modern Python Linterhttps://realpython.com/quizzes/ruff-python/
https://realpython.com/ruff-python/#installing-ruff
Homebrewhttps://brew.sh/
Condahttps://docs.conda.io/en/latest/
Ruff installation pagehttps://docs.astral.sh/ruff/installation/
pipxhttps://realpython.com/python-pipx/
PATHhttps://en.wikipedia.org/wiki/PATH_(variable)
Remove adshttps://realpython.com/account/join/
https://realpython.com/ruff-python/#linting-your-python-code
debuggerhttps://realpython.com/python-debug-idle/
testinghttps://realpython.com/pytest-python-testing/
https://realpython.com/ruff-python/#checking-for-errors
randomhttps://realpython.com/python-random/
tuplehttps://realpython.com/python-tuple/
Remove adshttps://realpython.com/account/join/
https://realpython.com/ruff-python/#speeding-up-your-workflow
https://realpython.com/ruff-python/#finding-more-errors
Sourcehttps://docs.astral.sh/ruff/tutorial/#rule-selection
https://realpython.com/ruff-python/#formatting-your-python-code
Ruff version 0.1.2https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md#012
diffhttps://en.wikipedia.org/wiki/Diff
PEP 8 complianthttps://realpython.com/python-pep8/
fix safetyhttps://docs.astral.sh/ruff/linter/#fix-safety
Remove adshttps://realpython.com/account/join/
https://realpython.com/ruff-python/#configuring-ruff
TOML filehttps://realpython.com/python-toml/
pyproject.tomlhttps://realpython.com/python-pyproject-toml/
Ruff configuration pagehttps://docs.astral.sh/ruff/configuration/
list of settingshttps://docs.astral.sh/ruff/settings/
E501https://docs.astral.sh/ruff/rules/line-too-long/
docstringshttps://realpython.com/how-to-write-docstrings-in-python/
https://realpython.com/ruff-python/#next-steps
a few integrationshttps://docs.astral.sh/ruff/integrations/
VS Codehttps://realpython.com/python-development-visual-studio-code/
PyCharmhttps://realpython.com/pycharm-guide/
pre-commithttps://pre-commit.com/
GitHub Actionshttps://realpython.com/docker-continuous-integration/#learn-to-speak-the-github-actions-lingo
https://realpython.com/ruff-python/#conclusion
Click here to get access to a free Ruff cheat sheethttps://realpython.com/bonus/ruff-python-pdf/
https://realpython.com/quizzes/ruff-python/
Ruff: A Modern Python Linterhttps://realpython.com/quizzes/ruff-python/
https://realpython.com/feedback/survey/article/ruff-python/liked/?from=article-footer
https://realpython.com/feedback/survey/article/ruff-python/disliked/?from=article-footer
Modern Python Linting With Ruffhttps://realpython.com/courses/modern-python-linting-ruff/
https://realpython.com/team/rwhite/
» More about Rickyhttps://realpython.com/team/rwhite/
https://realpython.com/team/asantos/
Aldrenhttps://realpython.com/team/asantos/
https://realpython.com/team/bweleschuk/
Brendahttps://realpython.com/team/bweleschuk/
https://realpython.com/team/bzaczynski/
Bartoszhttps://realpython.com/team/bzaczynski/
https://realpython.com/team/gahjelle/
Geir Arnehttps://realpython.com/team/gahjelle/
Level Up Your Python Skills »https://realpython.com/account/join/?utm_source=rp_article_footer&utm_content=ruff-python
Level Up Your Python Skills »https://realpython.com/account/join/?utm_source=rp_article_footer&utm_content=ruff-python
https://realpython.com/feedback/survey/article/ruff-python/liked/?from=article-comments
https://realpython.com/feedback/survey/article/ruff-python/disliked/?from=article-comments
LinkedInhttps://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Frealpython.com%2Fruff-python%2F
Twitterhttps://twitter.com/intent/tweet/?text=Interesting%20Python%20article%20on%20%40realpython%3A%20Ruff%3A%20A%20Modern%20Python%20Linter%20for%20Error-Free%20and%20Maintainable%20Code&url=https%3A%2F%2Frealpython.com%2Fruff-python%2F
Blueskyhttps://bsky.app/intent/compose?text=Interesting%20Python%20article%20on%20%40realpython.com%3A%20Ruff%3A%20A%20Modern%20Python%20Linter%20for%20Error-Free%20and%20Maintainable%20Code%20https%3A%2F%2Frealpython.com%2Fruff-python%2F
Facebookhttps://facebook.com/sharer/sharer.php?u=https%3A%2F%2Frealpython.com%2Fruff-python%2F
Get tips for asking good questionshttps://realpython.com/python-beginner-tips/#tip-9-ask-good-questions
get answers to common questions in our support portalhttps://support.realpython.com
Real Python Community Chathttps://realpython.com/community/
“Office Hours” Live Q&A Sessionhttps://realpython.com/office-hours/
intermediatehttps://realpython.com/tutorials/intermediate/
devopshttps://realpython.com/tutorials/devops/
toolshttps://realpython.com/tutorials/tools/
Modern Python Linting With Ruffhttps://realpython.com/courses/modern-python-linting-ruff/?utm_source=realpython&utm_medium=web&utm_campaign=related-course&utm_content=ruff-python
Managing Python Projects With uv: An All-in-One Solutionhttps://realpython.com/python-uv/?utm_source=realpython&utm_medium=web&utm_campaign=related-post&utm_content=ruff-python
Python and TOML: Read, Write, and Configure with tomllibhttps://realpython.com/python-toml/?utm_source=realpython&utm_medium=web&utm_campaign=related-post&utm_content=ruff-python
Install and Execute Python Applications Using pipxhttps://realpython.com/python-pipx/?utm_source=realpython&utm_medium=web&utm_campaign=related-post&utm_content=ruff-python
Python's asyncio: A Hands-On Walkthroughhttps://realpython.com/async-io-python/?utm_source=realpython&utm_medium=web&utm_campaign=related-post&utm_content=ruff-python
Logging in Pythonhttps://realpython.com/python-logging/?utm_source=realpython&utm_medium=web&utm_campaign=related-post&utm_content=ruff-python
https://realpython.com/account/signup/?intent=continue_reading&utm_source=rp&utm_medium=web&utm_campaign=rwn&utm_content=v1&next=%2Fruff-python%2F
Continue »https://realpython.com/account/signup/?intent=continue_reading&utm_source=rp&utm_medium=web&utm_campaign=rwn&utm_content=v1&next=%2Fruff-python%2F
Sign-Inhttps://realpython.com/account/login/?next=/ruff-python/
Start Herehttps://realpython.com/start-here/
Learning Resourceshttps://realpython.com/search
Code Mentorhttps://realpython.com/mentor/
Python Referencehttps://realpython.com/ref/
Python Cheat Sheethttps://realpython.com/cheatsheets/python/
Support Centerhttps://support.realpython.com/
Learning Pathshttps://realpython.com/learning-paths/
Quizzes & Exerciseshttps://realpython.com/quizzes/
Browse Topicshttps://realpython.com/tutorials/all/
Live Courseshttps://realpython.com/live/
Bookshttps://realpython.com/books/
Podcasthttps://realpython.com/podcasts/rpp/
Newsletterhttps://realpython.com/newsletter/
Community Chathttps://realpython.com/community/
Office Hourshttps://realpython.com/office-hours/
Learner Storieshttps://realpython.com/learner-stories/
Plans & Pricinghttps://realpython.com/account/join/
Team Planshttps://realpython.com/account/join-team/
For Businesshttps://realpython.com/account/join-team/inquiry/
For Schoolshttps://realpython.com/account/join-team/education-inquiry/
Reviewshttps://realpython.com/learner-stories/
About Ushttps://realpython.com/about/
Teamhttps://realpython.com/team/
Mission & Valueshttps://realpython.com/mission/
Editorial Guidelineshttps://realpython.com/editorial-guidelines/
Sponsorshipshttps://realpython.com/sponsorships/
Careershttps://realpython.workable.com
Press Kithttps://realpython.com/media-kit/
Merchhttps://realpython.com/merch
https://www.youtube.com/realpython
https://x.com/realpython
https://www.linkedin.com/company/realpython-com
https://www.facebook.com/LearnRealPython
https://github.com/realpython/
Privacy Policyhttps://realpython.com/privacy-policy/
Terms of Usehttps://realpython.com/terms/
Securityhttps://realpython.com/security/
Contacthttps://realpython.com/contact/
https://realpython.com/

Viewport: width=device-width, initial-scale=1, shrink-to-fit=no, viewport-fit=cover

Robots: max-image-preview:large


URLs of crawlers that visited me.