MCPcopy Create free account

hub / github.com/PlasmaFAIR/fortitude / functions

Functions1,280 in github.com/PlasmaFAIR/fortitude

↓ 3 callersMethodtransform
(&self, filesystem_configuration: Configuration)
crates/fortitude_server/src/session/index/fortitude_settings.rs:459
↓ 3 callersMethodtry_to_controlflow
(self, source_file: &SourceFile)
crates/fortitude_linter/src/ast.rs:396
↓ 3 callersMethodunion
(mut self, other: &Self)
crates/fortitude_linter/src/registry/rule_set.rs:92
↓ 3 callersMethodwith_show_source
(mut self, show_source: bool)
crates/fortitude_linter/src/diagnostics/message/grouped.rs:37
↓ 2 callersMethodadd_to
(self, builder: &mut GlobSetBuilder)
crates/fortitude_linter/src/fs.rs:76
↓ 2 callersMethodafter
(&self, offset: TextSize)
crates/fortitude_linter/src/locator.rs:70
↓ 2 callersMethodapply_changes
( &mut self, changes: Vec<lsp_types::TextDocumentContentChangeEvent>, new_version: Doc
crates/fortitude_server/src/edit/text_document.rs:79
↓ 2 callersMethodapply_to_current_thread
(self)
crates/fortitude_server/src/server/schedule/thread/priority.rs:25
↓ 2 callersMethodas_usize
(self)
crates/fortitude_linter/src/line_width.rs:11
↓ 2 callersFunctionassert_preview_all_options
(all_options: &AllOptions, preview: bool)
crates/fortitude_server/src/session/options.rs:790
↓ 2 callersFunctionassert_preview_client_options
(options: &ClientOptions, preview: bool)
crates/fortitude_server/src/session/options.rs:786
↓ 2 callersMethodcall
(&mut self, diff_delta: DiffDelta, hunk: DiffHunk)
crates/fortitude_linter/src/line_filter.rs:217
↓ 2 callersFunctioncheck_file
( path: &Path, file: &SourceFile, line_filter: &Option<FilterSet>, settings: &CheckSettings,
crates/fortitude_linter/src/lib.rs:83
↓ 2 callersFunctioncheck_path
( path: &Path, file: &SourceFile, settings: &CheckSettings, tree: &Tree, ignore_allow_comm
crates/fortitude_linter/src/lib.rs:164
↓ 2 callersMethodclient_settings
(&self, key: &DocumentKey)
crates/fortitude_server/src/session/index.rs:283
↓ 2 callersMethodcode
Returns the rule code that was violated.
crates/fortitude_linter/src/diagnostics/diagnostic_message.rs:54
↓ 2 callersFunctioncollect_per_file_ignores
Convert a list of `PatternPrefixPair` structs to `PerFileIgnore`.
crates/fortitude_linter/src/rule_selector.rs:495
↓ 2 callersFunctioncollect_rule_codes
(rules: impl IntoIterator<Item = Rule>)
crates/fortitude_linter/src/lib.rs:479
↓ 2 callersMethodcomplete
Marks the request as completed. Returns the time when the request was registered and the request method name, or `None` if the request was not pendin
crates/fortitude_server/src/session/request_queue.rs:101
↓ 2 callersFunctioncontaining_loop
Find the first loop that contains `node`
crates/fortitude_linter/src/rules/obsolescent/non_block_do.rs:516
↓ 2 callersFunctiondarkmode
()
crates/fortitude/src/explain.rs:120
↓ 2 callersFunctiondir_name
(linter_name: str)
scripts/_utils.py:11
↓ 2 callersMethoddocumentation
(&self)
crates/fortitude_workspace/src/options_base.rs:104
↓ 2 callersFunctiondtype_is_plain_number
Returns true if the type passed to it is number-like, and of a kind that can be modified using kinds. 'double precision' and 'double complex' are not
crates/fortitude_linter/src/ast.rs:408
↓ 2 callersFunctionedit_remove_label
Include whitespace and optional trailing comma
crates/fortitude_linter/src/rules/obsolescent/non_block_do.rs:350
↓ 2 callersMethoderrmsg
(self)
crates/fortitude_linter/src/rules/correctness/error_handling.rs:60
↓ 2 callersMethodescaped
(self)
crates/fortitude_linter/src/stylist.rs:185
↓ 2 callersMethodfile_url
Get the URL for the document selected by this query.
crates/fortitude_server/src/session/index.rs:513
↓ 2 callersFunctionfind_user_settings_toml
()
crates/fortitude_workspace/src/configuration.rs:123
↓ 2 callersFunctionfingerprint
Generate a unique fingerprint to identify a violation.
crates/fortitude_linter/src/diagnostics/message/gitlab.rs:112
↓ 2 callersFunctionfix_all
(snapshot: &DocumentSnapshot)
crates/fortitude_server/src/server/api/requests/code_action.rs:87
↓ 2 callersFunctionfix_all_edit
( query: &DocumentQuery, encoding: PositionEncoding, )
crates/fortitude_server/src/server/api/requests/code_action_resolve.rs:82
↓ 2 callersFunctionfix_end_if
(node: &Node, source: &SourceFile, base_indentation: &str)
crates/fortitude_linter/src/rules/obsolescent/arithmetic_if.rs:292
↓ 2 callersFunctionfpm_fortitude_enabled
(path: P)
crates/fortitude_workspace/src/configuration.rs:69
↓ 2 callersFunctiongenerate
()
crates/fortitude_dev/src/generate_options.rs:53
↓ 2 callersFunctiongenerate_diagnostics
(snapshot: &DocumentSnapshot)
crates/fortitude_server/src/server/api/diagnostics.rs:8
↓ 2 callersFunctionget_last_three_path_parts
Return a list of up to the last three parts of a path.
python/fortitude/__main__.py:52
↓ 2 callersFunctionget_output
()
crates/fortitude_linter/src/diagnostics/message/sarif.rs:192
↓ 2 callersFunctionget_prefix_ident
Returns an identifier for the given prefix.
crates/fortitude_macros/src/rule_code_prefix.rs:125
↓ 2 callersFunctionget_redirect
Returns the code and the redirect target if the given code is a redirect. (The same code is returned to obtain it with a static lifetime).
crates/fortitude_linter/src/rule_redirects.rs:16
↓ 2 callersFunctionget_redirect_target
(code: &str)
crates/fortitude_linter/src/rule_redirects.rs:10
↓ 2 callersFunctiongroup_messages_by_filename
( messages: &[DiagnosticMessage], )
crates/fortitude_linter/src/diagnostics/message/mod.rs:58
↓ 2 callersFunctiongroup_use_statements_into_blocks
Groups indices of `use` statements into contiguous blocks.
crates/fortitude_linter/src/rules/style/use_statement.rs:121
↓ 2 callersMethodhas_any_attributes
(&self, attrs: &[AttributeKind])
crates/fortitude_linter/src/ast/types.rs:389
↓ 2 callersMethodindentation_ignore_stmt_label
(&self, source_file: &SourceFile)
crates/fortitude_linter/src/ast.rs:254
↓ 2 callersFunctionintersection_all
Collect all the items from an iterable of slices that are present in all slices.
crates/fortitude_macros/src/rule_code_prefix.rs:105
↓ 2 callersFunctionis_document_excluded_for_linting
Return `true` if the document at the given [`Path`] should be excluded from linting.
crates/fortitude_server/src/resolve.rs:13
↓ 2 callersFunctionis_file_excluded
Return `true` if the given top-level [`Path`] should be excluded.
crates/fortitude_workspace/src/resolver.rs:645
↓ 2 callersMethodis_implicit_none_external
(&self)
crates/fortitude_linter/src/ast/types.rs:558
↓ 2 callersMethodis_not_implicit_none
(&self)
crates/fortitude_linter/src/ast/types.rs:550
↓ 2 callersMethodis_shutdown_requested
(&self)
crates/fortitude_server/src/session.rs:83
↓ 2 callersFunctioniso_fortran_env_param
(dtype: S, literal: u8)
crates/fortitude_linter/src/rules/portability/literal_kinds.rs:12
↓ 2 callersMethoditer_enabled
Returns an iterator over all enabled rules.
crates/fortitude_linter/src/rule_table.rs:55
↓ 2 callersMethodkey_from_url
(&self, url: Url)
crates/fortitude_server/src/session/index.rs:105
↓ 2 callersMethodkwarg_exists
(&self, keyword: S, src: &str)
crates/fortitude_linter/src/ast.rs:226
↓ 2 callersMethodkwarg_value
(&self, keyword: S, src: &str)
crates/fortitude_linter/src/ast.rs:222
↓ 2 callersMethodlabel
(self)
crates/fortitude_server/src/server.rs:243
↓ 2 callersFunctionliteral_as_io_unit
(node: &'a Node, src: &SourceFile)
crates/fortitude_linter/src/rules/utilities.rs:15
↓ 2 callersMethodlog_level
(&self)
crates/fortitude/src/cli.rs:60
↓ 2 callersFunctionloop_has_branch_to_end
(do_loop: &Node, label_ref: &str, source: &SourceFile)
crates/fortitude_linter/src/rules/obsolescent/non_block_do.rs:553
↓ 2 callersFunctionloop_has_shared_termination
(do_loop: &Node, label_ref: &str, src: &str)
crates/fortitude_linter/src/rules/obsolescent/non_block_do.rs:567
↓ 2 callersFunctionmake_filter
()
crates/fortitude_linter/src/line_filter.rs:264
↓ 2 callersFunctionmake_fix
Move a variable attribute from a standalone statement to the variable declaration, removing any empty statements, and making sure we only apply the at
crates/fortitude_linter/src/rules/modernisation/out_of_line_attribute.rs:157
↓ 2 callersMethodmake_source_kind
Get source code for the linter
crates/fortitude_server/src/session/index.rs:492
↓ 2 callersFunctionmessage_to_json_value
(message: &DiagnosticMessage)
crates/fortitude_linter/src/diagnostics/message/json.rs:52
↓ 2 callersFunctionnext_statement_label_sibling
These are like the versions in the FortitudeNode trait, but also find statement labels in labelled `end do`. Can't have them in the trait, because the
crates/fortitude_linter/src/rules/obsolescent/non_block_do.rs:304
↓ 2 callersFunctionnormalize_path_to
Convert any path to an absolute path (based on the specified project root)
crates/fortitude_linter/src/fs.rs:259
↓ 2 callersFunctionnum_digits
(n: usize)
crates/fortitude/src/printer.rs:473
↓ 2 callersMethodopposite
(self)
crates/fortitude_linter/src/stylist.rs:177
↓ 2 callersMethodoptions
(&self)
crates/fortitude_server/src/session/settings.rs:30
↓ 2 callersFunctionpanic_message
( err: &'a Box<dyn std::any::Any + Send + 'static>, )
crates/fortitude_server/src/server/api.rs:404
↓ 2 callersFunctionparse_fpm_toml
Adapted from ruff
crates/fortitude_workspace/src/configuration.rs:48
↓ 2 callersMethodparse_intrinsic_type
(&self)
crates/fortitude_linter/src/ast.rs:234
↓ 2 callersFunctionparse_pyproject_toml
(path: P)
crates/fortitude_workspace/src/configuration.rs:55
↓ 2 callersMethodpop_table
(&mut self)
crates/fortitude_linter/src/ast/symbol_table.rs:105
↓ 2 callersFunctionpush_titlecase_word
Writes `word` into `buf` with its first character uppercased. Writes directly into the caller's buffer — no intermediate allocation. The word is assu
crates/fortitude_linter/src/stylist.rs:292
↓ 2 callersMethodregister
Registers a new pending request.
crates/fortitude_server/src/session/request_queue.rs:62
↓ 2 callersMethodregister_workspace
Register a workspace folder with the given settings. If the `workspace_settings` is [`Some`], it is preferred over the global settings for the worksp
crates/fortitude_server/src/session/index.rs:386
↓ 2 callersFunctionreplace_docs_section
Takes the existing file contents, inserts the section, returns the transformed content
crates/fortitude_dev/src/generate_cli_help.rs:32
↓ 2 callersMethodrequest_queue
(&self)
crates/fortitude_server/src/session.rs:75
↓ 2 callersFunctionresolve
Resolve the relevant settings strategy and defaults for the current invocation.
crates/fortitude/src/resolve.rs:21
↓ 2 callersFunctionresolve_configuration
Recursively resolve a [`Configuration`] from a `fortitude.toml` file at the specified [`Path`]. TODO(charlie): This whole system could do with some ca
crates/fortitude_workspace/src/resolver.rs:208
↓ 2 callersFunctionresolve_edit_for_fix_all
( query: &DocumentQuery, client_capabilities: &ResolvedClientCapabilities, encoding: PositionEncod
crates/fortitude_server/src/server/api/requests/code_action_resolve.rs:72
↓ 2 callersMethodrespond
Sends a response to the client for a given request ID. The response isn't sent immediately. Instead, it's queued up in the main loop and checked for
crates/fortitude_server/src/session/client.rs:146
↓ 2 callersMethodrespond_err
Sends an error response to the client for a given request ID. The response isn't sent immediately. Instead, it's queued up in the main loop.
crates/fortitude_server/src/session/client.rs:169
↓ 2 callersFunctionsemicolon_is_superfluous
(node: &Node)
crates/fortitude_linter/src/rules/style/semicolons.rs:13
↓ 2 callersMethodset_edits_for_document
Sets the edits made to a specific document. This should only be called once for each document `uri`, and will fail if this is called for the same `uri
crates/fortitude_server/src/edit.rs:116
↓ 2 callersMethodset_fixes_for_document
Sets a series of [`Fixes`] for a text or notebook document.
crates/fortitude_server/src/edit.rs:102
↓ 2 callersFunctionset_up_git_repo
Helper for a tests in a git repo with commit changes
crates/fortitude/tests/check.rs:2852
↓ 2 callersMethodsettings
Get the document settings associated with this query.
crates/fortitude_server/src/session/index.rs:485
↓ 2 callersMethodsettings_impl
(&self)
crates/fortitude_server/src/session/settings.rs:34
↓ 2 callersMethodsort
(&mut self)
crates/fortitude/src/check.rs:118
↓ 2 callersFunctionsource_location_to_position
(location: &SourceLocation)
crates/fortitude_server/src/edit/range.rs:115
↓ 2 callersMethodstack_size
(self, size: usize)
crates/fortitude_server/src/server/schedule/thread.rs:55
↓ 2 callersFunctionstart_of_replacement
Find start of replacement, and if we should close the block or use `else`
crates/fortitude_linter/src/rules/obsolescent/arithmetic_if.rs:320
↓ 2 callersMethodsuffix
Return the suffix for the [`NoqaCode`], e.g., `101` for `SIM101`.
crates/fortitude_linter/src/rules/mod.rs:30
↓ 2 callersMethodsuggestion
Returns the fix suggestion for the violation.
crates/fortitude_linter/src/diagnostics/diagnostic_message.rs:59
↓ 2 callersMethodtext_document_language_id
(&self)
crates/fortitude_server/src/session/index.rs:549
↓ 2 callersMethodtextrange
(&self)
crates/fortitude_linter/src/traits.rs:53
↓ 2 callersFunctionthread_priority_to_qos_class
(priority: ThreadPriority)
crates/fortitude_server/src/server/schedule/thread/priority.rs:50
← previousnext →201–300 of 1,280, ranked by callers